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

Room ARN, from the request (if identifier was an ARN).

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

Room ARN, from the request (if identifier was an ARN).

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

Room ARN, from the request (if identifier was an ARN).

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

Room ARN, from the request (if identifier was an ARN).

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

Room ARN, from the request (if identifier was an ARN).

*/ inline UpdateRoomResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

Room ARN, from the request (if identifier was an ARN).

*/ inline UpdateRoomResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

Room ARN, from the request (if identifier was an ARN).

*/ inline UpdateRoomResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

Time when the room was created. This is an ISO 8601 timestamp; note that * this is returned as a string.

*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *

Time when the room was created. This is an ISO 8601 timestamp; note that * this is returned as a string.

*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } /** *

Time when the room was created. This is an ISO 8601 timestamp; note that * this is returned as a string.

*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } /** *

Time when the room was created. This is an ISO 8601 timestamp; note that * this is returned as a string.

*/ inline UpdateRoomResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *

Time when the room was created. This is an ISO 8601 timestamp; note that * this is returned as a string.

*/ inline UpdateRoomResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *

Room ID, generated by the system. This is a relative identifier, the part of * the ARN that uniquely identifies the room.

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

Room ID, generated by the system. This is a relative identifier, the part of * the ARN that uniquely identifies the room.

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

Room ID, generated by the system. This is a relative identifier, the part of * the ARN that uniquely identifies the room.

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

Room ID, generated by the system. This is a relative identifier, the part of * the ARN that uniquely identifies the room.

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

Room ID, generated by the system. This is a relative identifier, the part of * the ARN that uniquely identifies the room.

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

Room ID, generated by the system. This is a relative identifier, the part of * the ARN that uniquely identifies the room.

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

Room ID, generated by the system. This is a relative identifier, the part of * the ARN that uniquely identifies the room.

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

Array of logging configurations attached to the room, from the request (if * specified).

*/ inline const Aws::Vector& GetLoggingConfigurationIdentifiers() const{ return m_loggingConfigurationIdentifiers; } /** *

Array of logging configurations attached to the room, from the request (if * specified).

*/ inline void SetLoggingConfigurationIdentifiers(const Aws::Vector& value) { m_loggingConfigurationIdentifiers = value; } /** *

Array of logging configurations attached to the room, from the request (if * specified).

*/ inline void SetLoggingConfigurationIdentifiers(Aws::Vector&& value) { m_loggingConfigurationIdentifiers = std::move(value); } /** *

Array of logging configurations attached to the room, from the request (if * specified).

*/ inline UpdateRoomResult& WithLoggingConfigurationIdentifiers(const Aws::Vector& value) { SetLoggingConfigurationIdentifiers(value); return *this;} /** *

Array of logging configurations attached to the room, from the request (if * specified).

*/ inline UpdateRoomResult& WithLoggingConfigurationIdentifiers(Aws::Vector&& value) { SetLoggingConfigurationIdentifiers(std::move(value)); return *this;} /** *

Array of logging configurations attached to the room, from the request (if * specified).

*/ inline UpdateRoomResult& AddLoggingConfigurationIdentifiers(const Aws::String& value) { m_loggingConfigurationIdentifiers.push_back(value); return *this; } /** *

Array of logging configurations attached to the room, from the request (if * specified).

*/ inline UpdateRoomResult& AddLoggingConfigurationIdentifiers(Aws::String&& value) { m_loggingConfigurationIdentifiers.push_back(std::move(value)); return *this; } /** *

Array of logging configurations attached to the room, from the request (if * specified).

*/ inline UpdateRoomResult& AddLoggingConfigurationIdentifiers(const char* value) { m_loggingConfigurationIdentifiers.push_back(value); return *this; } /** *

Maximum number of characters in a single message, from the request (if * specified).

*/ inline int GetMaximumMessageLength() const{ return m_maximumMessageLength; } /** *

Maximum number of characters in a single message, from the request (if * specified).

*/ inline void SetMaximumMessageLength(int value) { m_maximumMessageLength = value; } /** *

Maximum number of characters in a single message, from the request (if * specified).

*/ inline UpdateRoomResult& WithMaximumMessageLength(int value) { SetMaximumMessageLength(value); return *this;} /** *

Maximum number of messages per second that can be sent to the room (by all * clients), from the request (if specified).

*/ inline int GetMaximumMessageRatePerSecond() const{ return m_maximumMessageRatePerSecond; } /** *

Maximum number of messages per second that can be sent to the room (by all * clients), from the request (if specified).

*/ inline void SetMaximumMessageRatePerSecond(int value) { m_maximumMessageRatePerSecond = value; } /** *

Maximum number of messages per second that can be sent to the room (by all * clients), from the request (if specified).

*/ inline UpdateRoomResult& WithMaximumMessageRatePerSecond(int value) { SetMaximumMessageRatePerSecond(value); return *this;} /** *

Configuration information for optional review of messages.

*/ inline const MessageReviewHandler& GetMessageReviewHandler() const{ return m_messageReviewHandler; } /** *

Configuration information for optional review of messages.

*/ inline void SetMessageReviewHandler(const MessageReviewHandler& value) { m_messageReviewHandler = value; } /** *

Configuration information for optional review of messages.

*/ inline void SetMessageReviewHandler(MessageReviewHandler&& value) { m_messageReviewHandler = std::move(value); } /** *

Configuration information for optional review of messages.

*/ inline UpdateRoomResult& WithMessageReviewHandler(const MessageReviewHandler& value) { SetMessageReviewHandler(value); return *this;} /** *

Configuration information for optional review of messages.

*/ inline UpdateRoomResult& WithMessageReviewHandler(MessageReviewHandler&& value) { SetMessageReviewHandler(std::move(value)); return *this;} /** *

Room name, from the request (if specified).

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

Room name, from the request (if specified).

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

Room name, from the request (if specified).

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

Room name, from the request (if specified).

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

Room name, from the request (if specified).

*/ inline UpdateRoomResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

Room name, from the request (if specified).

*/ inline UpdateRoomResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

Room name, from the request (if specified).

*/ inline UpdateRoomResult& WithName(const char* value) { SetName(value); return *this;} /** *

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

*/ inline UpdateRoomResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

*/ inline UpdateRoomResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

*/ inline UpdateRoomResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

*/ inline UpdateRoomResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

*/ inline UpdateRoomResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

*/ inline UpdateRoomResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

*/ inline UpdateRoomResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

*/ inline UpdateRoomResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

Tags attached to the resource. Array of maps, each of the form * string:string (key:value).

*/ inline UpdateRoomResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

Time of the room’s last update. This is an ISO 8601 timestamp; note that * this is returned as a string.

*/ inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } /** *

Time of the room’s last update. This is an ISO 8601 timestamp; note that * this is returned as a string.

*/ inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } /** *

Time of the room’s last update. This is an ISO 8601 timestamp; note that * this is returned as a string.

*/ inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } /** *

Time of the room’s last update. This is an ISO 8601 timestamp; note that * this is returned as a string.

*/ inline UpdateRoomResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} /** *

Time of the room’s last update. This is an ISO 8601 timestamp; note that * this is returned as a string.

*/ inline UpdateRoomResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(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 UpdateRoomResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateRoomResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateRoomResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::Utils::DateTime m_createTime; Aws::String m_id; Aws::Vector m_loggingConfigurationIdentifiers; int m_maximumMessageLength; int m_maximumMessageRatePerSecond; MessageReviewHandler m_messageReviewHandler; Aws::String m_name; Aws::Map m_tags; Aws::Utils::DateTime m_updateTime; Aws::String m_requestId; }; } // namespace Model } // namespace ivschat } // namespace Aws