AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
UpdateRoomRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ivschat/IvschatRequest.h>
10#include <aws/ivschat/Ivschat_EXPORTS.h>
11#include <aws/ivschat/model/MessageReviewHandler.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ivschat {
17namespace Model {
18
22 public:
23 AWS_IVSCHAT_API UpdateRoomRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateRoom"; }
30
31 AWS_IVSCHAT_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetIdentifier() const { return m_identifier; }
38 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
39 template <typename IdentifierT = Aws::String>
40 void SetIdentifier(IdentifierT&& value) {
41 m_identifierHasBeenSet = true;
42 m_identifier = std::forward<IdentifierT>(value);
43 }
44 template <typename IdentifierT = Aws::String>
45 UpdateRoomRequest& WithIdentifier(IdentifierT&& value) {
46 SetIdentifier(std::forward<IdentifierT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 template <typename NameT = Aws::String>
58 void SetName(NameT&& value) {
59 m_nameHasBeenSet = true;
60 m_name = std::forward<NameT>(value);
61 }
62 template <typename NameT = Aws::String>
63 UpdateRoomRequest& WithName(NameT&& value) {
64 SetName(std::forward<NameT>(value));
65 return *this;
66 }
68
70
74 inline int GetMaximumMessageRatePerSecond() const { return m_maximumMessageRatePerSecond; }
75 inline bool MaximumMessageRatePerSecondHasBeenSet() const { return m_maximumMessageRatePerSecondHasBeenSet; }
76 inline void SetMaximumMessageRatePerSecond(int value) {
77 m_maximumMessageRatePerSecondHasBeenSet = true;
78 m_maximumMessageRatePerSecond = value;
79 }
82 return *this;
83 }
85
87
92 inline int GetMaximumMessageLength() const { return m_maximumMessageLength; }
93 inline bool MaximumMessageLengthHasBeenSet() const { return m_maximumMessageLengthHasBeenSet; }
94 inline void SetMaximumMessageLength(int value) {
95 m_maximumMessageLengthHasBeenSet = true;
96 m_maximumMessageLength = value;
97 }
100 return *this;
101 }
103
105
110 inline const MessageReviewHandler& GetMessageReviewHandler() const { return m_messageReviewHandler; }
111 inline bool MessageReviewHandlerHasBeenSet() const { return m_messageReviewHandlerHasBeenSet; }
112 template <typename MessageReviewHandlerT = MessageReviewHandler>
113 void SetMessageReviewHandler(MessageReviewHandlerT&& value) {
114 m_messageReviewHandlerHasBeenSet = true;
115 m_messageReviewHandler = std::forward<MessageReviewHandlerT>(value);
116 }
117 template <typename MessageReviewHandlerT = MessageReviewHandler>
118 UpdateRoomRequest& WithMessageReviewHandler(MessageReviewHandlerT&& value) {
119 SetMessageReviewHandler(std::forward<MessageReviewHandlerT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::Vector<Aws::String>& GetLoggingConfigurationIdentifiers() const { return m_loggingConfigurationIdentifiers; }
129 inline bool LoggingConfigurationIdentifiersHasBeenSet() const { return m_loggingConfigurationIdentifiersHasBeenSet; }
130 template <typename LoggingConfigurationIdentifiersT = Aws::Vector<Aws::String>>
131 void SetLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT&& value) {
132 m_loggingConfigurationIdentifiersHasBeenSet = true;
133 m_loggingConfigurationIdentifiers = std::forward<LoggingConfigurationIdentifiersT>(value);
134 }
135 template <typename LoggingConfigurationIdentifiersT = Aws::Vector<Aws::String>>
136 UpdateRoomRequest& WithLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT&& value) {
137 SetLoggingConfigurationIdentifiers(std::forward<LoggingConfigurationIdentifiersT>(value));
138 return *this;
139 }
140 template <typename LoggingConfigurationIdentifiersT = Aws::String>
141 UpdateRoomRequest& AddLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT&& value) {
142 m_loggingConfigurationIdentifiersHasBeenSet = true;
143 m_loggingConfigurationIdentifiers.emplace_back(std::forward<LoggingConfigurationIdentifiersT>(value));
144 return *this;
145 }
147 private:
148 Aws::String m_identifier;
149
150 Aws::String m_name;
151
152 int m_maximumMessageRatePerSecond{0};
153
154 int m_maximumMessageLength{0};
155
156 MessageReviewHandler m_messageReviewHandler;
157
158 Aws::Vector<Aws::String> m_loggingConfigurationIdentifiers;
159 bool m_identifierHasBeenSet = false;
160 bool m_nameHasBeenSet = false;
161 bool m_maximumMessageRatePerSecondHasBeenSet = false;
162 bool m_maximumMessageLengthHasBeenSet = false;
163 bool m_messageReviewHandlerHasBeenSet = false;
164 bool m_loggingConfigurationIdentifiersHasBeenSet = false;
165};
166
167} // namespace Model
168} // namespace ivschat
169} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateRoomRequest & AddLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT &&value)
const Aws::Vector< Aws::String > & GetLoggingConfigurationIdentifiers() const
const MessageReviewHandler & GetMessageReviewHandler() const
UpdateRoomRequest & WithMaximumMessageLength(int value)
UpdateRoomRequest & WithLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT &&value)
AWS_IVSCHAT_API UpdateRoomRequest()=default
AWS_IVSCHAT_API Aws::String SerializePayload() const override
void SetLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT &&value)
const Aws::String & GetName() const
UpdateRoomRequest & WithMaximumMessageRatePerSecond(int value)
UpdateRoomRequest & WithIdentifier(IdentifierT &&value)
UpdateRoomRequest & WithMessageReviewHandler(MessageReviewHandlerT &&value)
UpdateRoomRequest & WithName(NameT &&value)
void SetIdentifier(IdentifierT &&value)
void SetMessageReviewHandler(MessageReviewHandlerT &&value)
const Aws::String & GetIdentifier() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector