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

The name and ARN of the admin for the AppInstance.

See * Also:

AWS * API Reference

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

The AppInstanceAdmin data.

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

The AppInstanceAdmin data.

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

The AppInstanceAdmin data.

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

The AppInstanceAdmin data.

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

The AppInstanceAdmin data.

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

The AppInstanceAdmin data.

*/ inline AppInstanceAdmin& WithAdmin(Identity&& value) { SetAdmin(std::move(value)); return *this;} /** *

The ARN of the AppInstance for which the user is an * administrator.

*/ inline const Aws::String& GetAppInstanceArn() const{ return m_appInstanceArn; } /** *

The ARN of the AppInstance for which the user is an * administrator.

*/ inline bool AppInstanceArnHasBeenSet() const { return m_appInstanceArnHasBeenSet; } /** *

The ARN of the AppInstance for which the user is an * administrator.

*/ inline void SetAppInstanceArn(const Aws::String& value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn = value; } /** *

The ARN of the AppInstance for which the user is an * administrator.

*/ inline void SetAppInstanceArn(Aws::String&& value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn = std::move(value); } /** *

The ARN of the AppInstance for which the user is an * administrator.

*/ inline void SetAppInstanceArn(const char* value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn.assign(value); } /** *

The ARN of the AppInstance for which the user is an * administrator.

*/ inline AppInstanceAdmin& WithAppInstanceArn(const Aws::String& value) { SetAppInstanceArn(value); return *this;} /** *

The ARN of the AppInstance for which the user is an * administrator.

*/ inline AppInstanceAdmin& WithAppInstanceArn(Aws::String&& value) { SetAppInstanceArn(std::move(value)); return *this;} /** *

The ARN of the AppInstance for which the user is an * administrator.

*/ inline AppInstanceAdmin& WithAppInstanceArn(const char* value) { SetAppInstanceArn(value); return *this;} /** *

The time at which an administrator was created.

*/ inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } /** *

The time at which an administrator was created.

*/ inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; } /** *

The time at which an administrator was created.

*/ inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; } /** *

The time at which an administrator was created.

*/ inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); } /** *

The time at which an administrator was created.

*/ inline AppInstanceAdmin& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} /** *

The time at which an administrator was created.

*/ inline AppInstanceAdmin& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;} private: Identity m_admin; bool m_adminHasBeenSet = false; Aws::String m_appInstanceArn; bool m_appInstanceArnHasBeenSet = false; Aws::Utils::DateTime m_createdTimestamp; bool m_createdTimestampHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKIdentity } // namespace Aws