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

The details of and content in the message.

*/ inline const ChannelMessage& GetChannelMessage() const{ return m_channelMessage; } /** *

The details of and content in the message.

*/ inline void SetChannelMessage(const ChannelMessage& value) { m_channelMessage = value; } /** *

The details of and content in the message.

*/ inline void SetChannelMessage(ChannelMessage&& value) { m_channelMessage = std::move(value); } /** *

The details of and content in the message.

*/ inline GetChannelMessageResult& WithChannelMessage(const ChannelMessage& value) { SetChannelMessage(value); return *this;} /** *

The details of and content in the message.

*/ inline GetChannelMessageResult& WithChannelMessage(ChannelMessage&& value) { SetChannelMessage(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 GetChannelMessageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetChannelMessageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetChannelMessageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ChannelMessage m_channelMessage; Aws::String m_requestId; }; } // namespace Model } // namespace ChimeSDKMessaging } // namespace Aws