AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetRoomResult.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 GetRoomResult() = default;
37
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 template<typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
46 template<typename ArnT = Aws::String>
47 GetRoomResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
49
51
55 inline const Aws::String& GetId() const { return m_id; }
56 template<typename IdT = Aws::String>
57 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
58 template<typename IdT = Aws::String>
59 GetRoomResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
61
63
66 inline const Aws::String& GetName() const { return m_name; }
67 template<typename NameT = Aws::String>
68 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
69 template<typename NameT = Aws::String>
70 GetRoomResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
72
74
78 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
79 template<typename CreateTimeT = Aws::Utils::DateTime>
80 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
81 template<typename CreateTimeT = Aws::Utils::DateTime>
82 GetRoomResult& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
84
86
90 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
91 template<typename UpdateTimeT = Aws::Utils::DateTime>
92 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
93 template<typename UpdateTimeT = Aws::Utils::DateTime>
94 GetRoomResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
96
98
102 inline int GetMaximumMessageRatePerSecond() const { return m_maximumMessageRatePerSecond; }
103 inline void SetMaximumMessageRatePerSecond(int value) { m_maximumMessageRatePerSecondHasBeenSet = true; m_maximumMessageRatePerSecond = value; }
106
108
113 inline int GetMaximumMessageLength() const { return m_maximumMessageLength; }
114 inline void SetMaximumMessageLength(int value) { m_maximumMessageLengthHasBeenSet = true; m_maximumMessageLength = value; }
115 inline GetRoomResult& WithMaximumMessageLength(int value) { SetMaximumMessageLength(value); return *this;}
117
119
122 inline const MessageReviewHandler& GetMessageReviewHandler() const { return m_messageReviewHandler; }
123 template<typename MessageReviewHandlerT = MessageReviewHandler>
124 void SetMessageReviewHandler(MessageReviewHandlerT&& value) { m_messageReviewHandlerHasBeenSet = true; m_messageReviewHandler = std::forward<MessageReviewHandlerT>(value); }
125 template<typename MessageReviewHandlerT = MessageReviewHandler>
126 GetRoomResult& WithMessageReviewHandler(MessageReviewHandlerT&& value) { SetMessageReviewHandler(std::forward<MessageReviewHandlerT>(value)); return *this;}
128
130
134 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
135 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
136 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
137 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
138 GetRoomResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
139 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
140 GetRoomResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
141 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
142 }
144
146
149 inline const Aws::Vector<Aws::String>& GetLoggingConfigurationIdentifiers() const { return m_loggingConfigurationIdentifiers; }
150 template<typename LoggingConfigurationIdentifiersT = Aws::Vector<Aws::String>>
151 void SetLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers = std::forward<LoggingConfigurationIdentifiersT>(value); }
152 template<typename LoggingConfigurationIdentifiersT = Aws::Vector<Aws::String>>
153 GetRoomResult& WithLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT&& value) { SetLoggingConfigurationIdentifiers(std::forward<LoggingConfigurationIdentifiersT>(value)); return *this;}
154 template<typename LoggingConfigurationIdentifiersT = Aws::String>
155 GetRoomResult& AddLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.emplace_back(std::forward<LoggingConfigurationIdentifiersT>(value)); return *this; }
157
159
160 inline const Aws::String& GetRequestId() const { return m_requestId; }
161 template<typename RequestIdT = Aws::String>
162 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
163 template<typename RequestIdT = Aws::String>
164 GetRoomResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
166 private:
167
168 Aws::String m_arn;
169 bool m_arnHasBeenSet = false;
170
171 Aws::String m_id;
172 bool m_idHasBeenSet = false;
173
174 Aws::String m_name;
175 bool m_nameHasBeenSet = false;
176
177 Aws::Utils::DateTime m_createTime{};
178 bool m_createTimeHasBeenSet = false;
179
180 Aws::Utils::DateTime m_updateTime{};
181 bool m_updateTimeHasBeenSet = false;
182
183 int m_maximumMessageRatePerSecond{0};
184 bool m_maximumMessageRatePerSecondHasBeenSet = false;
185
186 int m_maximumMessageLength{0};
187 bool m_maximumMessageLengthHasBeenSet = false;
188
189 MessageReviewHandler m_messageReviewHandler;
190 bool m_messageReviewHandlerHasBeenSet = false;
191
193 bool m_tagsHasBeenSet = false;
194
195 Aws::Vector<Aws::String> m_loggingConfigurationIdentifiers;
196 bool m_loggingConfigurationIdentifiersHasBeenSet = false;
197
198 Aws::String m_requestId;
199 bool m_requestIdHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace ivschat
204} // namespace Aws
GetRoomResult & WithMessageReviewHandler(MessageReviewHandlerT &&value)
GetRoomResult & WithRequestId(RequestIdT &&value)
GetRoomResult & WithArn(ArnT &&value)
void SetMaximumMessageRatePerSecond(int value)
AWS_IVSCHAT_API GetRoomResult()=default
GetRoomResult & WithCreateTime(CreateTimeT &&value)
const Aws::String & GetArn() const
GetRoomResult & WithName(NameT &&value)
void SetLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT &&value)
GetRoomResult & WithMaximumMessageLength(int value)
void SetRequestId(RequestIdT &&value)
void SetCreateTime(CreateTimeT &&value)
GetRoomResult & AddLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT &&value)
AWS_IVSCHAT_API GetRoomResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetRoomResult & WithUpdateTime(UpdateTimeT &&value)
GetRoomResult & WithId(IdT &&value)
const MessageReviewHandler & GetMessageReviewHandler() const
GetRoomResult & WithTags(TagsT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
const Aws::String & GetRequestId() const
const Aws::Vector< Aws::String > & GetLoggingConfigurationIdentifiers() const
GetRoomResult & WithLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT &&value)
AWS_IVSCHAT_API GetRoomResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetName() const
GetRoomResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetMessageReviewHandler(MessageReviewHandlerT &&value)
GetRoomResult & WithMaximumMessageRatePerSecond(int value)
const Aws::String & GetId() const
const Aws::Utils::DateTime & GetCreateTime() const
void SetUpdateTime(UpdateTimeT &&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