/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ChimeSDKIdentity { namespace Model { class CreateAppInstanceAdminResult { public: AWS_CHIMESDKIDENTITY_API CreateAppInstanceAdminResult(); AWS_CHIMESDKIDENTITY_API CreateAppInstanceAdminResult(const Aws::AmazonWebServiceResult& result); AWS_CHIMESDKIDENTITY_API CreateAppInstanceAdminResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN and name of the administrator, the ARN of the * AppInstance, and the created and last-updated timestamps. All * timestamps use epoch milliseconds.

*/ inline const Identity& GetAppInstanceAdmin() const{ return m_appInstanceAdmin; } /** *

The ARN and name of the administrator, the ARN of the * AppInstance, and the created and last-updated timestamps. All * timestamps use epoch milliseconds.

*/ inline void SetAppInstanceAdmin(const Identity& value) { m_appInstanceAdmin = value; } /** *

The ARN and name of the administrator, the ARN of the * AppInstance, and the created and last-updated timestamps. All * timestamps use epoch milliseconds.

*/ inline void SetAppInstanceAdmin(Identity&& value) { m_appInstanceAdmin = std::move(value); } /** *

The ARN and name of the administrator, the ARN of the * AppInstance, and the created and last-updated timestamps. All * timestamps use epoch milliseconds.

*/ inline CreateAppInstanceAdminResult& WithAppInstanceAdmin(const Identity& value) { SetAppInstanceAdmin(value); return *this;} /** *

The ARN and name of the administrator, the ARN of the * AppInstance, and the created and last-updated timestamps. All * timestamps use epoch milliseconds.

*/ inline CreateAppInstanceAdminResult& WithAppInstanceAdmin(Identity&& value) { SetAppInstanceAdmin(std::move(value)); return *this;} /** *

The ARN of the of the admin for the AppInstance.

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

The ARN of the of the admin for the AppInstance.

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

The ARN of the of the admin for the AppInstance.

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

The ARN of the of the admin for the AppInstance.

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

The ARN of the of the admin for the AppInstance.

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

The ARN of the of the admin for the AppInstance.

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

The ARN of the of the admin for the AppInstance.

*/ inline CreateAppInstanceAdminResult& WithAppInstanceArn(const char* value) { SetAppInstanceArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateAppInstanceAdminResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateAppInstanceAdminResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateAppInstanceAdminResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Identity m_appInstanceAdmin; Aws::String m_appInstanceArn; Aws::String m_requestId; }; } // namespace Model } // namespace ChimeSDKIdentity } // namespace Aws