7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ivschat/IvschatRequest.h>
11#include <aws/ivschat/Ivschat_EXPORTS.h>
12#include <aws/ivschat/model/MessageReviewHandler.h>
40 template <
typename NameT = Aws::String>
42 m_nameHasBeenSet =
true;
43 m_name = std::forward<NameT>(value);
45 template <
typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
60 m_maximumMessageRatePerSecondHasBeenSet =
true;
61 m_maximumMessageRatePerSecond = value;
78 m_maximumMessageLengthHasBeenSet =
true;
79 m_maximumMessageLength = value;
93 template <
typename MessageReviewHandlerT = MessageReviewHandler>
95 m_messageReviewHandlerHasBeenSet =
true;
96 m_messageReviewHandler = std::forward<MessageReviewHandlerT>(value);
98 template <
typename MessageReviewHandlerT = MessageReviewHandler>
117 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
119 m_tagsHasBeenSet =
true;
120 m_tags = std::forward<TagsT>(value);
122 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 SetTags(std::forward<TagsT>(value));
127 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
129 m_tagsHasBeenSet =
true;
130 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
141 template <
typename LoggingConfigurationIdentifiersT = Aws::Vector<Aws::String>>
143 m_loggingConfigurationIdentifiersHasBeenSet =
true;
144 m_loggingConfigurationIdentifiers = std::forward<LoggingConfigurationIdentifiersT>(value);
146 template <
typename LoggingConfigurationIdentifiersT = Aws::Vector<Aws::String>>
151 template <
typename LoggingConfigurationIdentifiersT = Aws::String>
153 m_loggingConfigurationIdentifiersHasBeenSet =
true;
154 m_loggingConfigurationIdentifiers.emplace_back(std::forward<LoggingConfigurationIdentifiersT>(value));
160 bool m_nameHasBeenSet =
false;
162 int m_maximumMessageRatePerSecond{0};
163 bool m_maximumMessageRatePerSecondHasBeenSet =
false;
165 int m_maximumMessageLength{0};
166 bool m_maximumMessageLengthHasBeenSet =
false;
168 MessageReviewHandler m_messageReviewHandler;
169 bool m_messageReviewHandlerHasBeenSet =
false;
172 bool m_tagsHasBeenSet =
false;
175 bool m_loggingConfigurationIdentifiersHasBeenSet =
false;
void SetLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT &&value)
CreateRoomRequest & WithMessageReviewHandler(MessageReviewHandlerT &&value)
bool NameHasBeenSet() const
void SetMaximumMessageRatePerSecond(int value)
bool MaximumMessageLengthHasBeenSet() const
bool MaximumMessageRatePerSecondHasBeenSet() const
int GetMaximumMessageRatePerSecond() const
CreateRoomRequest & WithMaximumMessageRatePerSecond(int value)
const Aws::Vector< Aws::String > & GetLoggingConfigurationIdentifiers() const
CreateRoomRequest & WithMaximumMessageLength(int value)
CreateRoomRequest & WithLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT &&value)
bool LoggingConfigurationIdentifiersHasBeenSet() const
bool TagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetMessageReviewHandler(MessageReviewHandlerT &&value)
AWS_IVSCHAT_API Aws::String SerializePayload() const override
AWS_IVSCHAT_API CreateRoomRequest()=default
CreateRoomRequest & AddLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetName() const
CreateRoomRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const MessageReviewHandler & GetMessageReviewHandler() const
void SetMaximumMessageLength(int value)
CreateRoomRequest & WithTags(TagsT &&value)
CreateRoomRequest & WithName(NameT &&value)
bool MessageReviewHandlerHasBeenSet() const
int GetMaximumMessageLength() const
void SetName(NameT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector