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

The ID of the message.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The ID of the message.

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

The ID of the message.

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

The ID of the message.

*/ inline void SetId(const char* value) { m_id.assign(value); } /** *

The ID of the message.

*/ inline SendMessageResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The ID of the message.

*/ inline SendMessageResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The ID of the message.

*/ inline SendMessageResult& WithId(const char* value) { SetId(value); return *this;} /** *

The time when the message was sent.

It's specified in ISO 8601 format: * yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

*/ inline const Aws::String& GetAbsoluteTime() const{ return m_absoluteTime; } /** *

The time when the message was sent.

It's specified in ISO 8601 format: * yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

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

The time when the message was sent.

It's specified in ISO 8601 format: * yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

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

The time when the message was sent.

It's specified in ISO 8601 format: * yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

*/ inline void SetAbsoluteTime(const char* value) { m_absoluteTime.assign(value); } /** *

The time when the message was sent.

It's specified in ISO 8601 format: * yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

*/ inline SendMessageResult& WithAbsoluteTime(const Aws::String& value) { SetAbsoluteTime(value); return *this;} /** *

The time when the message was sent.

It's specified in ISO 8601 format: * yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

*/ inline SendMessageResult& WithAbsoluteTime(Aws::String&& value) { SetAbsoluteTime(std::move(value)); return *this;} /** *

The time when the message was sent.

It's specified in ISO 8601 format: * yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

*/ inline SendMessageResult& WithAbsoluteTime(const char* value) { SetAbsoluteTime(value); return *this;} private: Aws::String m_id; Aws::String m_absoluteTime; }; } // namespace Model } // namespace ConnectParticipant } // namespace Aws