AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRoomResult.h
1
6#pragma once
7#include <aws/ivschat/Ivschat_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace ivschat
28{
29namespace Model
30{
32 {
33 public:
34 AWS_IVSCHAT_API UpdateRoomResult();
37
38
40
43 inline const Aws::String& GetArn() const{ return m_arn; }
44 inline void SetArn(const Aws::String& value) { m_arn = value; }
45 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
46 inline void SetArn(const char* value) { m_arn.assign(value); }
47 inline UpdateRoomResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline UpdateRoomResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline UpdateRoomResult& WithArn(const char* value) { SetArn(value); return *this;}
51
53
57 inline const Aws::String& GetId() const{ return m_id; }
58 inline void SetId(const Aws::String& value) { m_id = value; }
59 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
60 inline void SetId(const char* value) { m_id.assign(value); }
61 inline UpdateRoomResult& WithId(const Aws::String& value) { SetId(value); return *this;}
62 inline UpdateRoomResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
63 inline UpdateRoomResult& WithId(const char* value) { SetId(value); return *this;}
65
67
70 inline const Aws::String& GetName() const{ return m_name; }
71 inline void SetName(const Aws::String& value) { m_name = value; }
72 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
73 inline void SetName(const char* value) { m_name.assign(value); }
74 inline UpdateRoomResult& WithName(const Aws::String& value) { SetName(value); return *this;}
75 inline UpdateRoomResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 inline UpdateRoomResult& WithName(const char* value) { SetName(value); return *this;}
78
80
84 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
85 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; }
86 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); }
87 inline UpdateRoomResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
88 inline UpdateRoomResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
90
92
96 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
97 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; }
98 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); }
99 inline UpdateRoomResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
100 inline UpdateRoomResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
102
104
108 inline int GetMaximumMessageRatePerSecond() const{ return m_maximumMessageRatePerSecond; }
109 inline void SetMaximumMessageRatePerSecond(int value) { m_maximumMessageRatePerSecond = value; }
112
114
118 inline int GetMaximumMessageLength() const{ return m_maximumMessageLength; }
119 inline void SetMaximumMessageLength(int value) { m_maximumMessageLength = value; }
120 inline UpdateRoomResult& WithMaximumMessageLength(int value) { SetMaximumMessageLength(value); return *this;}
122
124
127 inline const MessageReviewHandler& GetMessageReviewHandler() const{ return m_messageReviewHandler; }
128 inline void SetMessageReviewHandler(const MessageReviewHandler& value) { m_messageReviewHandler = value; }
129 inline void SetMessageReviewHandler(MessageReviewHandler&& value) { m_messageReviewHandler = std::move(value); }
133
135
139 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
140 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
141 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
142 inline UpdateRoomResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
143 inline UpdateRoomResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
144 inline UpdateRoomResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
145 inline UpdateRoomResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
146 inline UpdateRoomResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
147 inline UpdateRoomResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
148 inline UpdateRoomResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
149 inline UpdateRoomResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
150 inline UpdateRoomResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
152
154
158 inline const Aws::Vector<Aws::String>& GetLoggingConfigurationIdentifiers() const{ return m_loggingConfigurationIdentifiers; }
159 inline void SetLoggingConfigurationIdentifiers(const Aws::Vector<Aws::String>& value) { m_loggingConfigurationIdentifiers = value; }
160 inline void SetLoggingConfigurationIdentifiers(Aws::Vector<Aws::String>&& value) { m_loggingConfigurationIdentifiers = std::move(value); }
163 inline UpdateRoomResult& AddLoggingConfigurationIdentifiers(const Aws::String& value) { m_loggingConfigurationIdentifiers.push_back(value); return *this; }
164 inline UpdateRoomResult& AddLoggingConfigurationIdentifiers(Aws::String&& value) { m_loggingConfigurationIdentifiers.push_back(std::move(value)); return *this; }
165 inline UpdateRoomResult& AddLoggingConfigurationIdentifiers(const char* value) { m_loggingConfigurationIdentifiers.push_back(value); return *this; }
167
169
170 inline const Aws::String& GetRequestId() const{ return m_requestId; }
171 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
172 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
173 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
174 inline UpdateRoomResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
175 inline UpdateRoomResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
176 inline UpdateRoomResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
178 private:
179
180 Aws::String m_arn;
181
182 Aws::String m_id;
183
184 Aws::String m_name;
185
186 Aws::Utils::DateTime m_createTime;
187
188 Aws::Utils::DateTime m_updateTime;
189
190 int m_maximumMessageRatePerSecond;
191
192 int m_maximumMessageLength;
193
194 MessageReviewHandler m_messageReviewHandler;
195
197
198 Aws::Vector<Aws::String> m_loggingConfigurationIdentifiers;
199
200 Aws::String m_requestId;
201 };
202
203} // namespace Model
204} // namespace ivschat
205} // namespace Aws
UpdateRoomResult & WithCreateTime(const Aws::Utils::DateTime &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetArn() const
void SetLoggingConfigurationIdentifiers(Aws::Vector< Aws::String > &&value)
void SetId(const Aws::String &value)
UpdateRoomResult & WithLoggingConfigurationIdentifiers(const Aws::Vector< Aws::String > &value)
const Aws::String & GetRequestId() const
UpdateRoomResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetCreateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
void SetUpdateTime(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreateTime() const
UpdateRoomResult & AddLoggingConfigurationIdentifiers(const char *value)
UpdateRoomResult & AddTags(const Aws::String &key, Aws::String &&value)
UpdateRoomResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_IVSCHAT_API UpdateRoomResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLoggingConfigurationIdentifiers(const Aws::Vector< Aws::String > &value)
UpdateRoomResult & AddTags(const char *key, Aws::String &&value)
const Aws::Vector< Aws::String > & GetLoggingConfigurationIdentifiers() const
UpdateRoomResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetCreateTime(const Aws::Utils::DateTime &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateRoomResult & WithName(const Aws::String &value)
const Aws::String & GetName() const
UpdateRoomResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateRoomResult & WithCreateTime(Aws::Utils::DateTime &&value)
UpdateRoomResult & WithName(Aws::String &&value)
void SetRequestId(const Aws::String &value)
void SetArn(const Aws::String &value)
UpdateRoomResult & WithRequestId(const Aws::String &value)
const Aws::String & GetId() const
UpdateRoomResult & WithLoggingConfigurationIdentifiers(Aws::Vector< Aws::String > &&value)
UpdateRoomResult & AddTags(const char *key, const char *value)
void SetMessageReviewHandler(const MessageReviewHandler &value)
UpdateRoomResult & WithMessageReviewHandler(MessageReviewHandler &&value)
UpdateRoomResult & WithUpdateTime(Aws::Utils::DateTime &&value)
UpdateRoomResult & WithRequestId(const char *value)
UpdateRoomResult & WithMessageReviewHandler(const MessageReviewHandler &value)
UpdateRoomResult & WithRequestId(Aws::String &&value)
UpdateRoomResult & WithArn(const Aws::String &value)
const MessageReviewHandler & GetMessageReviewHandler() const
UpdateRoomResult & WithMaximumMessageRatePerSecond(int value)
UpdateRoomResult & WithName(const char *value)
UpdateRoomResult & WithId(Aws::String &&value)
UpdateRoomResult & AddTags(Aws::String &&key, const char *value)
void SetRequestId(Aws::String &&value)
UpdateRoomResult & WithArn(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateRoomResult & WithMaximumMessageLength(int value)
UpdateRoomResult & WithUpdateTime(const Aws::Utils::DateTime &value)
UpdateRoomResult & WithArn(Aws::String &&value)
UpdateRoomResult & WithId(const Aws::String &value)
void SetMessageReviewHandler(MessageReviewHandler &&value)
UpdateRoomResult & WithId(const char *value)
void SetUpdateTime(Aws::Utils::DateTime &&value)
UpdateRoomResult & AddTags(const Aws::String &key, const Aws::String &value)
UpdateRoomResult & AddLoggingConfigurationIdentifiers(Aws::String &&value)
AWS_IVSCHAT_API UpdateRoomResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRoomResult & AddLoggingConfigurationIdentifiers(const Aws::String &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
Aws::Utils::Json::JsonValue JsonValue