/** * 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 ChimeSDKMessaging { namespace Model { class PutChannelExpirationSettingsResult { public: AWS_CHIMESDKMESSAGING_API PutChannelExpirationSettingsResult(); AWS_CHIMESDKMESSAGING_API PutChannelExpirationSettingsResult(const Aws::AmazonWebServiceResult& result); AWS_CHIMESDKMESSAGING_API PutChannelExpirationSettingsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The channel ARN.

*/ inline const Aws::String& GetChannelArn() const{ return m_channelArn; } /** *

The channel ARN.

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

The channel ARN.

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

The channel ARN.

*/ inline void SetChannelArn(const char* value) { m_channelArn.assign(value); } /** *

The channel ARN.

*/ inline PutChannelExpirationSettingsResult& WithChannelArn(const Aws::String& value) { SetChannelArn(value); return *this;} /** *

The channel ARN.

*/ inline PutChannelExpirationSettingsResult& WithChannelArn(Aws::String&& value) { SetChannelArn(std::move(value)); return *this;} /** *

The channel ARN.

*/ inline PutChannelExpirationSettingsResult& WithChannelArn(const char* value) { SetChannelArn(value); return *this;} /** *

Settings that control the interval after which a channel is deleted.

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

Settings that control the interval after which a channel is deleted.

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

Settings that control the interval after which a channel is deleted.

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

Settings that control the interval after which a channel is deleted.

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

Settings that control the interval after which a channel is deleted.

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