/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Chime { namespace Model { /** *

Summary of the details of an AppInstanceAdmin.

See * Also:

AWS * API Reference

*/ class AppInstanceAdminSummary { public: AWS_CHIME_API AppInstanceAdminSummary(); AWS_CHIME_API AppInstanceAdminSummary(Aws::Utils::Json::JsonView jsonValue); AWS_CHIME_API AppInstanceAdminSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The details of the AppInstanceAdmin.

*/ inline const Identity& GetAdmin() const{ return m_admin; } /** *

The details of the AppInstanceAdmin.

*/ inline bool AdminHasBeenSet() const { return m_adminHasBeenSet; } /** *

The details of the AppInstanceAdmin.

*/ inline void SetAdmin(const Identity& value) { m_adminHasBeenSet = true; m_admin = value; } /** *

The details of the AppInstanceAdmin.

*/ inline void SetAdmin(Identity&& value) { m_adminHasBeenSet = true; m_admin = std::move(value); } /** *

The details of the AppInstanceAdmin.

*/ inline AppInstanceAdminSummary& WithAdmin(const Identity& value) { SetAdmin(value); return *this;} /** *

The details of the AppInstanceAdmin.

*/ inline AppInstanceAdminSummary& WithAdmin(Identity&& value) { SetAdmin(std::move(value)); return *this;} private: Identity m_admin; bool m_adminHasBeenSet = false; }; } // namespace Model } // namespace Chime } // namespace Aws