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

The ARN of the channel containing the messages that you want to redact.

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

The ARN of the channel containing the messages that you want to redact.

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

The ARN of the channel containing the messages that you want to redact.

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

The ARN of the channel containing the messages that you want to redact.

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

The ARN of the channel containing the messages that you want to redact.

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

The ARN of the channel containing the messages that you want to redact.

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

The ARN of the channel containing the messages that you want to redact.

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

The ID of the message being redacted.

*/ inline const Aws::String& GetMessageId() const{ return m_messageId; } /** *

The ID of the message being redacted.

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

The ID of the message being redacted.

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

The ID of the message being redacted.

*/ inline void SetMessageId(const char* value) { m_messageId.assign(value); } /** *

The ID of the message being redacted.

*/ inline RedactChannelMessageResult& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;} /** *

The ID of the message being redacted.

*/ inline RedactChannelMessageResult& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;} /** *

The ID of the message being redacted.

*/ inline RedactChannelMessageResult& WithMessageId(const char* value) { SetMessageId(value); return *this;} /** *

The ID of the SubChannel in the response.

Only required when * redacting messages in a SubChannel that the user belongs to.

*/ inline const Aws::String& GetSubChannelId() const{ return m_subChannelId; } /** *

The ID of the SubChannel in the response.

Only required when * redacting messages in a SubChannel that the user belongs to.

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

The ID of the SubChannel in the response.

Only required when * redacting messages in a SubChannel that the user belongs to.

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

The ID of the SubChannel in the response.

Only required when * redacting messages in a SubChannel that the user belongs to.

*/ inline void SetSubChannelId(const char* value) { m_subChannelId.assign(value); } /** *

The ID of the SubChannel in the response.

Only required when * redacting messages in a SubChannel that the user belongs to.

*/ inline RedactChannelMessageResult& WithSubChannelId(const Aws::String& value) { SetSubChannelId(value); return *this;} /** *

The ID of the SubChannel in the response.

Only required when * redacting messages in a SubChannel that the user belongs to.

*/ inline RedactChannelMessageResult& WithSubChannelId(Aws::String&& value) { SetSubChannelId(std::move(value)); return *this;} /** *

The ID of the SubChannel in the response.

Only required when * redacting messages in a SubChannel that the user belongs to.

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