7#include <aws/ivschat/Ivschat_EXPORTS.h>
8#include <aws/ivschat/IvschatRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ivschat/model/MessageReviewHandler.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
44 template<
typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
46 template<
typename NameT = Aws::String>
69 inline void SetMaximumMessageLength(
int value) { m_maximumMessageLengthHasBeenSet =
true; m_maximumMessageLength = value; }
79 template<
typename MessageReviewHandlerT = MessageReviewHandler>
80 void SetMessageReviewHandler(MessageReviewHandlerT&& value) { m_messageReviewHandlerHasBeenSet =
true; m_messageReviewHandler = std::forward<MessageReviewHandlerT>(value); }
81 template<
typename MessageReviewHandlerT = MessageReviewHandler>
97 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
98 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
99 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
101 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
103 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
113 template<
typename LoggingConfigurationIdentifiersT = Aws::Vector<Aws::String>>
114 void SetLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT&& value) { m_loggingConfigurationIdentifiersHasBeenSet =
true; m_loggingConfigurationIdentifiers = std::forward<LoggingConfigurationIdentifiersT>(value); }
115 template<
typename LoggingConfigurationIdentifiersT = Aws::Vector<Aws::String>>
117 template<
typename LoggingConfigurationIdentifiersT = Aws::String>
118 CreateRoomRequest&
AddLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT&& value) { m_loggingConfigurationIdentifiersHasBeenSet =
true; m_loggingConfigurationIdentifiers.emplace_back(std::forward<LoggingConfigurationIdentifiersT>(value));
return *
this; }
123 bool m_nameHasBeenSet =
false;
125 int m_maximumMessageRatePerSecond{0};
126 bool m_maximumMessageRatePerSecondHasBeenSet =
false;
128 int m_maximumMessageLength{0};
129 bool m_maximumMessageLengthHasBeenSet =
false;
131 MessageReviewHandler m_messageReviewHandler;
132 bool m_messageReviewHandlerHasBeenSet =
false;
135 bool m_tagsHasBeenSet =
false;
138 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