AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
52 template<typename ArnT = Aws::String>
53 RoomSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
55
57
61 inline const Aws::String& GetId() const { return m_id; }
62 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
63 template<typename IdT = Aws::String>
64 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
65 template<typename IdT = Aws::String>
66 RoomSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 template<typename NameT = Aws::String>
76 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
77 template<typename NameT = Aws::String>
78 RoomSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
80
82
85 inline const MessageReviewHandler& GetMessageReviewHandler() const { return m_messageReviewHandler; }
86 inline bool MessageReviewHandlerHasBeenSet() const { return m_messageReviewHandlerHasBeenSet; }
87 template<typename MessageReviewHandlerT = MessageReviewHandler>
88 void SetMessageReviewHandler(MessageReviewHandlerT&& value) { m_messageReviewHandlerHasBeenSet = true; m_messageReviewHandler = std::forward<MessageReviewHandlerT>(value); }
89 template<typename MessageReviewHandlerT = MessageReviewHandler>
90 RoomSummary& WithMessageReviewHandler(MessageReviewHandlerT&& value) { SetMessageReviewHandler(std::forward<MessageReviewHandlerT>(value)); return *this;}
92
94
98 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
99 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
100 template<typename CreateTimeT = Aws::Utils::DateTime>
101 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
102 template<typename CreateTimeT = Aws::Utils::DateTime>
103 RoomSummary& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
105
107
111 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
112 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
113 template<typename UpdateTimeT = Aws::Utils::DateTime>
114 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
115 template<typename UpdateTimeT = Aws::Utils::DateTime>
116 RoomSummary& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
118
120
129 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
130 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
131 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
132 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
133 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
134 RoomSummary& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
135 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
136 RoomSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
137 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
138 }
140
142
145 inline const Aws::Vector<Aws::String>& GetLoggingConfigurationIdentifiers() const { return m_loggingConfigurationIdentifiers; }
146 inline bool LoggingConfigurationIdentifiersHasBeenSet() const { return m_loggingConfigurationIdentifiersHasBeenSet; }
147 template<typename LoggingConfigurationIdentifiersT = Aws::Vector<Aws::String>>
148 void SetLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers = std::forward<LoggingConfigurationIdentifiersT>(value); }
149 template<typename LoggingConfigurationIdentifiersT = Aws::Vector<Aws::String>>
150 RoomSummary& WithLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT&& value) { SetLoggingConfigurationIdentifiers(std::forward<LoggingConfigurationIdentifiersT>(value)); return *this;}
151 template<typename LoggingConfigurationIdentifiersT = Aws::String>
152 RoomSummary& AddLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.emplace_back(std::forward<LoggingConfigurationIdentifiersT>(value)); return *this; }
154 private:
155
156 Aws::String m_arn;
157 bool m_arnHasBeenSet = false;
158
159 Aws::String m_id;
160 bool m_idHasBeenSet = false;
161
162 Aws::String m_name;
163 bool m_nameHasBeenSet = false;
164
165 MessageReviewHandler m_messageReviewHandler;
166 bool m_messageReviewHandlerHasBeenSet = false;
167
168 Aws::Utils::DateTime m_createTime{};
169 bool m_createTimeHasBeenSet = false;
170
171 Aws::Utils::DateTime m_updateTime{};
172 bool m_updateTimeHasBeenSet = false;
173
175 bool m_tagsHasBeenSet = false;
176
177 Aws::Vector<Aws::String> m_loggingConfigurationIdentifiers;
178 bool m_loggingConfigurationIdentifiersHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace ivschat
183} // namespace Aws
RoomSummary & WithCreateTime(CreateTimeT &&value)
void SetUpdateTime(UpdateTimeT &&value)
AWS_IVSCHAT_API RoomSummary()=default
RoomSummary & WithMessageReviewHandler(MessageReviewHandlerT &&value)
Definition RoomSummary.h:90
void SetName(NameT &&value)
Definition RoomSummary.h:76
RoomSummary & WithLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT &&value)
void SetMessageReviewHandler(MessageReviewHandlerT &&value)
Definition RoomSummary.h:88
RoomSummary & WithName(NameT &&value)
Definition RoomSummary.h:78
const Aws::Vector< Aws::String > & GetLoggingConfigurationIdentifiers() const
RoomSummary & WithUpdateTime(UpdateTimeT &&value)
RoomSummary & WithArn(ArnT &&value)
Definition RoomSummary.h:53
AWS_IVSCHAT_API RoomSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Utils::DateTime & GetCreateTime() const
Definition RoomSummary.h:98
const MessageReviewHandler & GetMessageReviewHandler() const
Definition RoomSummary.h:85
bool MessageReviewHandlerHasBeenSet() const
Definition RoomSummary.h:86
RoomSummary & WithTags(TagsT &&value)
RoomSummary & AddLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT &&value)
void SetLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT &&value)
AWS_IVSCHAT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetUpdateTime() const
const Aws::String & GetName() const
Definition RoomSummary.h:73
RoomSummary & WithId(IdT &&value)
Definition RoomSummary.h:66
RoomSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetCreateTime(CreateTimeT &&value)
const Aws::String & GetArn() const
Definition RoomSummary.h:48
AWS_IVSCHAT_API RoomSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LoggingConfigurationIdentifiersHasBeenSet() const
const Aws::String & GetId() const
Definition RoomSummary.h:61
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