AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RoomSummary.h
1
6#pragma once
7#include <aws/ivschat/Ivschat_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivschat/model/MessageReviewHandler.h>
10#include <aws/core/utils/DateTime.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{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace ivschat
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_IVSCHAT_API RoomSummary();
39 AWS_IVSCHAT_API RoomSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IVSCHAT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline RoomSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline RoomSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline RoomSummary& WithArn(const char* value) { SetArn(value); return *this;}
57
59
63 inline const Aws::String& GetId() const{ return m_id; }
64 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
65 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
66 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
67 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
68 inline RoomSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
69 inline RoomSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
70 inline RoomSummary& WithId(const char* value) { SetId(value); return *this;}
72
74
77 inline const Aws::String& GetName() const{ return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
80 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
81 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
82 inline RoomSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
83 inline RoomSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
84 inline RoomSummary& WithName(const char* value) { SetName(value); return *this;}
86
88
91 inline const MessageReviewHandler& GetMessageReviewHandler() const{ return m_messageReviewHandler; }
92 inline bool MessageReviewHandlerHasBeenSet() const { return m_messageReviewHandlerHasBeenSet; }
93 inline void SetMessageReviewHandler(const MessageReviewHandler& value) { m_messageReviewHandlerHasBeenSet = true; m_messageReviewHandler = value; }
94 inline void SetMessageReviewHandler(MessageReviewHandler&& value) { m_messageReviewHandlerHasBeenSet = true; m_messageReviewHandler = std::move(value); }
96 inline RoomSummary& WithMessageReviewHandler(MessageReviewHandler&& value) { SetMessageReviewHandler(std::move(value)); return *this;}
98
100
104 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
105 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
106 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
107 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
108 inline RoomSummary& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
109 inline RoomSummary& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
111
113
117 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
118 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
119 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
120 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
121 inline RoomSummary& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
122 inline RoomSummary& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
124
126
135 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
136 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
137 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
138 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
139 inline RoomSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
140 inline RoomSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
141 inline RoomSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
142 inline RoomSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
143 inline RoomSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
144 inline RoomSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
145 inline RoomSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
146 inline RoomSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
147 inline RoomSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
149
151
154 inline const Aws::Vector<Aws::String>& GetLoggingConfigurationIdentifiers() const{ return m_loggingConfigurationIdentifiers; }
155 inline bool LoggingConfigurationIdentifiersHasBeenSet() const { return m_loggingConfigurationIdentifiersHasBeenSet; }
156 inline void SetLoggingConfigurationIdentifiers(const Aws::Vector<Aws::String>& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers = value; }
157 inline void SetLoggingConfigurationIdentifiers(Aws::Vector<Aws::String>&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers = std::move(value); }
160 inline RoomSummary& AddLoggingConfigurationIdentifiers(const Aws::String& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(value); return *this; }
161 inline RoomSummary& AddLoggingConfigurationIdentifiers(Aws::String&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(std::move(value)); return *this; }
162 inline RoomSummary& AddLoggingConfigurationIdentifiers(const char* value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(value); return *this; }
164 private:
165
166 Aws::String m_arn;
167 bool m_arnHasBeenSet = false;
168
169 Aws::String m_id;
170 bool m_idHasBeenSet = false;
171
172 Aws::String m_name;
173 bool m_nameHasBeenSet = false;
174
175 MessageReviewHandler m_messageReviewHandler;
176 bool m_messageReviewHandlerHasBeenSet = false;
177
178 Aws::Utils::DateTime m_createTime;
179 bool m_createTimeHasBeenSet = false;
180
181 Aws::Utils::DateTime m_updateTime;
182 bool m_updateTimeHasBeenSet = false;
183
185 bool m_tagsHasBeenSet = false;
186
187 Aws::Vector<Aws::String> m_loggingConfigurationIdentifiers;
188 bool m_loggingConfigurationIdentifiersHasBeenSet = false;
189 };
190
191} // namespace Model
192} // namespace ivschat
193} // namespace Aws
void SetId(const Aws::String &value)
Definition RoomSummary.h:65
RoomSummary & WithUpdateTime(Aws::Utils::DateTime &&value)
RoomSummary & WithName(const char *value)
Definition RoomSummary.h:84
void SetMessageReviewHandler(const MessageReviewHandler &value)
Definition RoomSummary.h:93
RoomSummary & WithMessageReviewHandler(const MessageReviewHandler &value)
Definition RoomSummary.h:95
RoomSummary & WithArn(const Aws::String &value)
Definition RoomSummary.h:53
RoomSummary & WithLoggingConfigurationIdentifiers(const Aws::Vector< Aws::String > &value)
RoomSummary & AddTags(Aws::String &&key, const Aws::String &value)
RoomSummary & AddLoggingConfigurationIdentifiers(Aws::String &&value)
void SetArn(Aws::String &&value)
Definition RoomSummary.h:51
RoomSummary & AddLoggingConfigurationIdentifiers(const char *value)
RoomSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetName(const Aws::String &value)
Definition RoomSummary.h:79
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
RoomSummary & WithId(const Aws::String &value)
Definition RoomSummary.h:68
RoomSummary & WithLoggingConfigurationIdentifiers(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetLoggingConfigurationIdentifiers() const
void SetArn(const char *value)
Definition RoomSummary.h:52
RoomSummary & AddTags(const Aws::String &key, const Aws::String &value)
RoomSummary & WithArn(const char *value)
Definition RoomSummary.h:55
RoomSummary & WithCreateTime(Aws::Utils::DateTime &&value)
void SetMessageReviewHandler(MessageReviewHandler &&value)
Definition RoomSummary.h:94
AWS_IVSCHAT_API RoomSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Utils::DateTime & GetCreateTime() const
const MessageReviewHandler & GetMessageReviewHandler() const
Definition RoomSummary.h:91
void SetUpdateTime(const Aws::Utils::DateTime &value)
bool MessageReviewHandlerHasBeenSet() const
Definition RoomSummary.h:92
RoomSummary & WithUpdateTime(const Aws::Utils::DateTime &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
RoomSummary & WithMessageReviewHandler(MessageReviewHandler &&value)
Definition RoomSummary.h:96
void SetLoggingConfigurationIdentifiers(Aws::Vector< Aws::String > &&value)
AWS_IVSCHAT_API Aws::Utils::Json::JsonValue Jsonize() const
RoomSummary & AddTags(Aws::String &&key, const char *value)
const Aws::Utils::DateTime & GetUpdateTime() const
const Aws::String & GetName() const
Definition RoomSummary.h:77
RoomSummary & WithId(const char *value)
Definition RoomSummary.h:70
RoomSummary & WithId(Aws::String &&value)
Definition RoomSummary.h:69
void SetCreateTime(Aws::Utils::DateTime &&value)
RoomSummary & WithCreateTime(const Aws::Utils::DateTime &value)
void SetId(Aws::String &&value)
Definition RoomSummary.h:66
RoomSummary & AddTags(const char *key, const char *value)
RoomSummary & AddTags(const Aws::String &key, Aws::String &&value)
RoomSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
RoomSummary & WithName(Aws::String &&value)
Definition RoomSummary.h:83
RoomSummary & WithArn(Aws::String &&value)
Definition RoomSummary.h:54
void SetCreateTime(const Aws::Utils::DateTime &value)
void SetUpdateTime(Aws::Utils::DateTime &&value)
void SetName(Aws::String &&value)
Definition RoomSummary.h:80
RoomSummary & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::String & GetArn() const
Definition RoomSummary.h:48
AWS_IVSCHAT_API RoomSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const char *value)
Definition RoomSummary.h:81
void SetArn(const Aws::String &value)
Definition RoomSummary.h:50
RoomSummary & AddLoggingConfigurationIdentifiers(const Aws::String &value)
bool LoggingConfigurationIdentifiersHasBeenSet() const
const Aws::String & GetId() const
Definition RoomSummary.h:63
RoomSummary & AddTags(const char *key, Aws::String &&value)
RoomSummary & WithName(const Aws::String &value)
Definition RoomSummary.h:82
void SetLoggingConfigurationIdentifiers(const Aws::Vector< Aws::String > &value)
void SetId(const char *value)
Definition RoomSummary.h:67
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