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

The ARN of the response to the ban request.

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

The ARN of the response to the ban request.

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

The ARN of the response to the ban request.

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

The ARN of the response to the ban request.

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

The ARN of the response to the ban request.

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

The ARN of the response to the ban request.

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

The ARN of the response to the ban request.

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

The ChannelArn and BannedIdentity of the member in * the ban response.

*/ inline const Identity& GetMember() const{ return m_member; } /** *

The ChannelArn and BannedIdentity of the member in * the ban response.

*/ inline void SetMember(const Identity& value) { m_member = value; } /** *

The ChannelArn and BannedIdentity of the member in * the ban response.

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

The ChannelArn and BannedIdentity of the member in * the ban response.

*/ inline CreateChannelBanResult& WithMember(const Identity& value) { SetMember(value); return *this;} /** *

The ChannelArn and BannedIdentity of the member in * the ban response.

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