/** * 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 PutAppInstanceUserExpirationSettingsResult { public: AWS_CHIMESDKIDENTITY_API PutAppInstanceUserExpirationSettingsResult(); AWS_CHIMESDKIDENTITY_API PutAppInstanceUserExpirationSettingsResult(const Aws::AmazonWebServiceResult& result); AWS_CHIMESDKIDENTITY_API PutAppInstanceUserExpirationSettingsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the AppInstanceUser.

*/ inline const Aws::String& GetAppInstanceUserArn() const{ return m_appInstanceUserArn; } /** *

The ARN of the AppInstanceUser.

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

The ARN of the AppInstanceUser.

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

The ARN of the AppInstanceUser.

*/ inline void SetAppInstanceUserArn(const char* value) { m_appInstanceUserArn.assign(value); } /** *

The ARN of the AppInstanceUser.

*/ inline PutAppInstanceUserExpirationSettingsResult& WithAppInstanceUserArn(const Aws::String& value) { SetAppInstanceUserArn(value); return *this;} /** *

The ARN of the AppInstanceUser.

*/ inline PutAppInstanceUserExpirationSettingsResult& WithAppInstanceUserArn(Aws::String&& value) { SetAppInstanceUserArn(std::move(value)); return *this;} /** *

The ARN of the AppInstanceUser.

*/ inline PutAppInstanceUserExpirationSettingsResult& WithAppInstanceUserArn(const char* value) { SetAppInstanceUserArn(value); return *this;} /** *

Settings that control the interval after which an * AppInstanceUser is automatically deleted.

*/ inline const ExpirationSettings& GetExpirationSettings() const{ return m_expirationSettings; } /** *

Settings that control the interval after which an * AppInstanceUser is automatically deleted.

*/ inline void SetExpirationSettings(const ExpirationSettings& value) { m_expirationSettings = value; } /** *

Settings that control the interval after which an * AppInstanceUser is automatically deleted.

*/ inline void SetExpirationSettings(ExpirationSettings&& value) { m_expirationSettings = std::move(value); } /** *

Settings that control the interval after which an * AppInstanceUser is automatically deleted.

*/ inline PutAppInstanceUserExpirationSettingsResult& WithExpirationSettings(const ExpirationSettings& value) { SetExpirationSettings(value); return *this;} /** *

Settings that control the interval after which an * AppInstanceUser is automatically deleted.

*/ inline PutAppInstanceUserExpirationSettingsResult& WithExpirationSettings(ExpirationSettings&& value) { SetExpirationSettings(std::move(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 PutAppInstanceUserExpirationSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline PutAppInstanceUserExpirationSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline PutAppInstanceUserExpirationSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_appInstanceUserArn; ExpirationSettings m_expirationSettings; Aws::String m_requestId; }; } // namespace Model } // namespace ChimeSDKIdentity } // namespace Aws