AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
DomainSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/voice-id/VoiceID_EXPORTS.h>
10#include <aws/voice-id/model/DomainStatus.h>
11#include <aws/voice-id/model/ServerSideEncryptionConfiguration.h>
12#include <aws/voice-id/model/ServerSideEncryptionUpdateDetails.h>
13#include <aws/voice-id/model/WatchlistDetails.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace VoiceID {
25namespace Model {
26
34 public:
35 AWS_VOICEID_API DomainSummary() = default;
36 AWS_VOICEID_API DomainSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
46 template <typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) {
48 m_arnHasBeenSet = true;
49 m_arn = std::forward<ArnT>(value);
50 }
51 template <typename ArnT = Aws::String>
52 DomainSummary& WithArn(ArnT&& value) {
53 SetArn(std::forward<ArnT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
63 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
64 template <typename CreatedAtT = Aws::Utils::DateTime>
65 void SetCreatedAt(CreatedAtT&& value) {
66 m_createdAtHasBeenSet = true;
67 m_createdAt = std::forward<CreatedAtT>(value);
68 }
69 template <typename CreatedAtT = Aws::Utils::DateTime>
70 DomainSummary& WithCreatedAt(CreatedAtT&& value) {
71 SetCreatedAt(std::forward<CreatedAtT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetDescription() const { return m_description; }
81 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
82 template <typename DescriptionT = Aws::String>
83 void SetDescription(DescriptionT&& value) {
84 m_descriptionHasBeenSet = true;
85 m_description = std::forward<DescriptionT>(value);
86 }
87 template <typename DescriptionT = Aws::String>
88 DomainSummary& WithDescription(DescriptionT&& value) {
89 SetDescription(std::forward<DescriptionT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetDomainId() const { return m_domainId; }
99 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
100 template <typename DomainIdT = Aws::String>
101 void SetDomainId(DomainIdT&& value) {
102 m_domainIdHasBeenSet = true;
103 m_domainId = std::forward<DomainIdT>(value);
104 }
105 template <typename DomainIdT = Aws::String>
106 DomainSummary& WithDomainId(DomainIdT&& value) {
107 SetDomainId(std::forward<DomainIdT>(value));
108 return *this;
109 }
111
113
116 inline DomainStatus GetDomainStatus() const { return m_domainStatus; }
117 inline bool DomainStatusHasBeenSet() const { return m_domainStatusHasBeenSet; }
118 inline void SetDomainStatus(DomainStatus value) {
119 m_domainStatusHasBeenSet = true;
120 m_domainStatus = value;
121 }
123 SetDomainStatus(value);
124 return *this;
125 }
127
129
132 inline const Aws::String& GetName() const { return m_name; }
133 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
134 template <typename NameT = Aws::String>
135 void SetName(NameT&& value) {
136 m_nameHasBeenSet = true;
137 m_name = std::forward<NameT>(value);
138 }
139 template <typename NameT = Aws::String>
140 DomainSummary& WithName(NameT&& value) {
141 SetName(std::forward<NameT>(value));
142 return *this;
143 }
145
147
152 return m_serverSideEncryptionConfiguration;
153 }
154 inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; }
155 template <typename ServerSideEncryptionConfigurationT = ServerSideEncryptionConfiguration>
156 void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT&& value) {
157 m_serverSideEncryptionConfigurationHasBeenSet = true;
158 m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value);
159 }
160 template <typename ServerSideEncryptionConfigurationT = ServerSideEncryptionConfiguration>
161 DomainSummary& WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT&& value) {
162 SetServerSideEncryptionConfiguration(std::forward<ServerSideEncryptionConfigurationT>(value));
163 return *this;
164 }
166
168
175 return m_serverSideEncryptionUpdateDetails;
176 }
177 inline bool ServerSideEncryptionUpdateDetailsHasBeenSet() const { return m_serverSideEncryptionUpdateDetailsHasBeenSet; }
178 template <typename ServerSideEncryptionUpdateDetailsT = ServerSideEncryptionUpdateDetails>
179 void SetServerSideEncryptionUpdateDetails(ServerSideEncryptionUpdateDetailsT&& value) {
180 m_serverSideEncryptionUpdateDetailsHasBeenSet = true;
181 m_serverSideEncryptionUpdateDetails = std::forward<ServerSideEncryptionUpdateDetailsT>(value);
182 }
183 template <typename ServerSideEncryptionUpdateDetailsT = ServerSideEncryptionUpdateDetails>
184 DomainSummary& WithServerSideEncryptionUpdateDetails(ServerSideEncryptionUpdateDetailsT&& value) {
185 SetServerSideEncryptionUpdateDetails(std::forward<ServerSideEncryptionUpdateDetailsT>(value));
186 return *this;
187 }
189
191
194 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
195 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
196 template <typename UpdatedAtT = Aws::Utils::DateTime>
197 void SetUpdatedAt(UpdatedAtT&& value) {
198 m_updatedAtHasBeenSet = true;
199 m_updatedAt = std::forward<UpdatedAtT>(value);
200 }
201 template <typename UpdatedAtT = Aws::Utils::DateTime>
202 DomainSummary& WithUpdatedAt(UpdatedAtT&& value) {
203 SetUpdatedAt(std::forward<UpdatedAtT>(value));
204 return *this;
205 }
207
209
213 inline const WatchlistDetails& GetWatchlistDetails() const { return m_watchlistDetails; }
214 inline bool WatchlistDetailsHasBeenSet() const { return m_watchlistDetailsHasBeenSet; }
215 template <typename WatchlistDetailsT = WatchlistDetails>
216 void SetWatchlistDetails(WatchlistDetailsT&& value) {
217 m_watchlistDetailsHasBeenSet = true;
218 m_watchlistDetails = std::forward<WatchlistDetailsT>(value);
219 }
220 template <typename WatchlistDetailsT = WatchlistDetails>
221 DomainSummary& WithWatchlistDetails(WatchlistDetailsT&& value) {
222 SetWatchlistDetails(std::forward<WatchlistDetailsT>(value));
223 return *this;
224 }
226 private:
227 Aws::String m_arn;
228
229 Aws::Utils::DateTime m_createdAt{};
230
231 Aws::String m_description;
232
233 Aws::String m_domainId;
234
235 DomainStatus m_domainStatus{DomainStatus::NOT_SET};
236
237 Aws::String m_name;
238
239 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
240
241 ServerSideEncryptionUpdateDetails m_serverSideEncryptionUpdateDetails;
242
243 Aws::Utils::DateTime m_updatedAt{};
244
245 WatchlistDetails m_watchlistDetails;
246 bool m_arnHasBeenSet = false;
247 bool m_createdAtHasBeenSet = false;
248 bool m_descriptionHasBeenSet = false;
249 bool m_domainIdHasBeenSet = false;
250 bool m_domainStatusHasBeenSet = false;
251 bool m_nameHasBeenSet = false;
252 bool m_serverSideEncryptionConfigurationHasBeenSet = false;
253 bool m_serverSideEncryptionUpdateDetailsHasBeenSet = false;
254 bool m_updatedAtHasBeenSet = false;
255 bool m_watchlistDetailsHasBeenSet = false;
256};
257
258} // namespace Model
259} // namespace VoiceID
260} // namespace Aws
AWS_VOICEID_API DomainSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
DomainSummary & WithWatchlistDetails(WatchlistDetailsT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetDomainId(DomainIdT &&value)
void SetDescription(DescriptionT &&value)
DomainSummary & WithName(NameT &&value)
bool ServerSideEncryptionUpdateDetailsHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetName() const
const Aws::String & GetDomainId() const
void SetDomainStatus(DomainStatus value)
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
DomainSummary & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
DomainSummary & WithArn(ArnT &&value)
DomainSummary & WithCreatedAt(CreatedAtT &&value)
bool ServerSideEncryptionConfigurationHasBeenSet() const
void SetServerSideEncryptionUpdateDetails(ServerSideEncryptionUpdateDetailsT &&value)
DomainSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_VOICEID_API DomainSummary()=default
AWS_VOICEID_API DomainSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
DomainSummary & WithServerSideEncryptionUpdateDetails(ServerSideEncryptionUpdateDetailsT &&value)
DomainSummary & WithDomainId(DomainIdT &&value)
void SetWatchlistDetails(WatchlistDetailsT &&value)
DomainSummary & WithDescription(DescriptionT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const ServerSideEncryptionUpdateDetails & GetServerSideEncryptionUpdateDetails() const
DomainStatus GetDomainStatus() const
DomainSummary & WithDomainStatus(DomainStatus value)
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
const Aws::String & GetDescription() const
const WatchlistDetails & GetWatchlistDetails() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue