AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateRoomResult.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 CreateRoomResult();
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 CreateRoomResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline CreateRoomResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline CreateRoomResult& 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 CreateRoomResult& WithId(const Aws::String& value) { SetId(value); return *this;}
62 inline CreateRoomResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
63 inline CreateRoomResult& 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 CreateRoomResult& WithName(const Aws::String& value) { SetName(value); return *this;}
75 inline CreateRoomResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 inline CreateRoomResult& 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 CreateRoomResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
88 inline CreateRoomResult& 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 CreateRoomResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
100 inline CreateRoomResult& 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 CreateRoomResult& 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
138 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
139 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
140 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
141 inline CreateRoomResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
142 inline CreateRoomResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
143 inline CreateRoomResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
144 inline CreateRoomResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
145 inline CreateRoomResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
146 inline CreateRoomResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
147 inline CreateRoomResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
148 inline CreateRoomResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
149 inline CreateRoomResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
151
153
157 inline const Aws::Vector<Aws::String>& GetLoggingConfigurationIdentifiers() const{ return m_loggingConfigurationIdentifiers; }
158 inline void SetLoggingConfigurationIdentifiers(const Aws::Vector<Aws::String>& value) { m_loggingConfigurationIdentifiers = value; }
159 inline void SetLoggingConfigurationIdentifiers(Aws::Vector<Aws::String>&& value) { m_loggingConfigurationIdentifiers = std::move(value); }
162 inline CreateRoomResult& AddLoggingConfigurationIdentifiers(const Aws::String& value) { m_loggingConfigurationIdentifiers.push_back(value); return *this; }
163 inline CreateRoomResult& AddLoggingConfigurationIdentifiers(Aws::String&& value) { m_loggingConfigurationIdentifiers.push_back(std::move(value)); return *this; }
164 inline CreateRoomResult& AddLoggingConfigurationIdentifiers(const char* value) { m_loggingConfigurationIdentifiers.push_back(value); return *this; }
166
168
169 inline const Aws::String& GetRequestId() const{ return m_requestId; }
170 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
171 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
172 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
173 inline CreateRoomResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
174 inline CreateRoomResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
175 inline CreateRoomResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
177 private:
178
179 Aws::String m_arn;
180
181 Aws::String m_id;
182
183 Aws::String m_name;
184
185 Aws::Utils::DateTime m_createTime;
186
187 Aws::Utils::DateTime m_updateTime;
188
189 int m_maximumMessageRatePerSecond;
190
191 int m_maximumMessageLength;
192
193 MessageReviewHandler m_messageReviewHandler;
194
196
197 Aws::Vector<Aws::String> m_loggingConfigurationIdentifiers;
198
199 Aws::String m_requestId;
200 };
201
202} // namespace Model
203} // namespace ivschat
204} // namespace Aws
CreateRoomResult & AddTags(Aws::String &&key, Aws::String &&value)
AWS_IVSCHAT_API CreateRoomResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IVSCHAT_API CreateRoomResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
CreateRoomResult & WithLoggingConfigurationIdentifiers(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetLoggingConfigurationIdentifiers() const
CreateRoomResult & WithId(Aws::String &&value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
CreateRoomResult & WithMessageReviewHandler(const MessageReviewHandler &value)
CreateRoomResult & WithRequestId(const char *value)
CreateRoomResult & WithMaximumMessageRatePerSecond(int value)
void SetMessageReviewHandler(const MessageReviewHandler &value)
CreateRoomResult & WithRequestId(Aws::String &&value)
CreateRoomResult & AddTags(const char *key, const char *value)
CreateRoomResult & WithName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreateTime() const
void SetId(const Aws::String &value)
CreateRoomResult & AddTags(const Aws::String &key, Aws::String &&value)
void SetRequestId(Aws::String &&value)
CreateRoomResult & WithUpdateTime(Aws::Utils::DateTime &&value)
CreateRoomResult & WithUpdateTime(const Aws::Utils::DateTime &value)
void SetLoggingConfigurationIdentifiers(const Aws::Vector< Aws::String > &value)
const Aws::String & GetRequestId() const
CreateRoomResult & WithId(const char *value)
void SetLoggingConfigurationIdentifiers(Aws::Vector< Aws::String > &&value)
CreateRoomResult & WithRequestId(const Aws::String &value)
void SetMessageReviewHandler(MessageReviewHandler &&value)
const Aws::String & GetId() const
void SetUpdateTime(Aws::Utils::DateTime &&value)
CreateRoomResult & WithArn(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateRoomResult & WithArn(const Aws::String &value)
CreateRoomResult & AddTags(Aws::String &&key, const char *value)
CreateRoomResult & AddLoggingConfigurationIdentifiers(Aws::String &&value)
void SetArn(const Aws::String &value)
CreateRoomResult & WithCreateTime(const Aws::Utils::DateTime &value)
CreateRoomResult & AddLoggingConfigurationIdentifiers(const Aws::String &value)
CreateRoomResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateRoomResult & WithName(const Aws::String &value)
CreateRoomResult & WithLoggingConfigurationIdentifiers(Aws::Vector< Aws::String > &&value)
const Aws::String & GetArn() const
CreateRoomResult & WithCreateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
CreateRoomResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetName() const
void SetCreateTime(Aws::Utils::DateTime &&value)
CreateRoomResult & WithArn(Aws::String &&value)
void SetCreateTime(const Aws::Utils::DateTime &value)
CreateRoomResult & WithName(const char *value)
void SetName(const Aws::String &value)
const MessageReviewHandler & GetMessageReviewHandler() const
CreateRoomResult & WithMessageReviewHandler(MessageReviewHandler &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateRoomResult & WithMaximumMessageLength(int value)
CreateRoomResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateRoomResult & AddLoggingConfigurationIdentifiers(const char *value)
CreateRoomResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateRoomResult & AddTags(const char *key, Aws::String &&value)
CreateRoomResult & WithId(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