AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Domain.h
1
6#pragma once
7#include <aws/voice-id/VoiceID_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace VoiceID
27{
28namespace Model
29{
30
36 class Domain
37 {
38 public:
39 AWS_VOICEID_API Domain();
40 AWS_VOICEID_API Domain(Aws::Utils::Json::JsonView jsonValue);
41 AWS_VOICEID_API Domain& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline Domain& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline Domain& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline Domain& WithArn(const char* value) { SetArn(value); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
64 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
65 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
66 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
67 inline Domain& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
68 inline Domain& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline Domain& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline Domain& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline Domain& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
89 inline const Aws::String& GetDomainId() const{ return m_domainId; }
90 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
91 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
92 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
93 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
94 inline Domain& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
95 inline Domain& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
96 inline Domain& WithDomainId(const char* value) { SetDomainId(value); return *this;}
98
100
103 inline const DomainStatus& GetDomainStatus() const{ return m_domainStatus; }
104 inline bool DomainStatusHasBeenSet() const { return m_domainStatusHasBeenSet; }
105 inline void SetDomainStatus(const DomainStatus& value) { m_domainStatusHasBeenSet = true; m_domainStatus = value; }
106 inline void SetDomainStatus(DomainStatus&& value) { m_domainStatusHasBeenSet = true; m_domainStatus = std::move(value); }
107 inline Domain& WithDomainStatus(const DomainStatus& value) { SetDomainStatus(value); return *this;}
108 inline Domain& WithDomainStatus(DomainStatus&& value) { SetDomainStatus(std::move(value)); return *this;}
110
112
115 inline const Aws::String& GetName() const{ return m_name; }
116 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
117 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
118 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
119 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
120 inline Domain& WithName(const Aws::String& value) { SetName(value); return *this;}
121 inline Domain& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
122 inline Domain& WithName(const char* value) { SetName(value); return *this;}
124
126
130 inline const ServerSideEncryptionConfiguration& GetServerSideEncryptionConfiguration() const{ return m_serverSideEncryptionConfiguration; }
131 inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; }
132 inline void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = value; }
133 inline void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration&& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = std::move(value); }
137
139
145 inline const ServerSideEncryptionUpdateDetails& GetServerSideEncryptionUpdateDetails() const{ return m_serverSideEncryptionUpdateDetails; }
146 inline bool ServerSideEncryptionUpdateDetailsHasBeenSet() const { return m_serverSideEncryptionUpdateDetailsHasBeenSet; }
147 inline void SetServerSideEncryptionUpdateDetails(const ServerSideEncryptionUpdateDetails& value) { m_serverSideEncryptionUpdateDetailsHasBeenSet = true; m_serverSideEncryptionUpdateDetails = value; }
148 inline void SetServerSideEncryptionUpdateDetails(ServerSideEncryptionUpdateDetails&& value) { m_serverSideEncryptionUpdateDetailsHasBeenSet = true; m_serverSideEncryptionUpdateDetails = std::move(value); }
152
154
157 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
158 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
159 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
160 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
161 inline Domain& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
162 inline Domain& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
164
166
170 inline const WatchlistDetails& GetWatchlistDetails() const{ return m_watchlistDetails; }
171 inline bool WatchlistDetailsHasBeenSet() const { return m_watchlistDetailsHasBeenSet; }
172 inline void SetWatchlistDetails(const WatchlistDetails& value) { m_watchlistDetailsHasBeenSet = true; m_watchlistDetails = value; }
173 inline void SetWatchlistDetails(WatchlistDetails&& value) { m_watchlistDetailsHasBeenSet = true; m_watchlistDetails = std::move(value); }
174 inline Domain& WithWatchlistDetails(const WatchlistDetails& value) { SetWatchlistDetails(value); return *this;}
175 inline Domain& WithWatchlistDetails(WatchlistDetails&& value) { SetWatchlistDetails(std::move(value)); return *this;}
177 private:
178
179 Aws::String m_arn;
180 bool m_arnHasBeenSet = false;
181
182 Aws::Utils::DateTime m_createdAt;
183 bool m_createdAtHasBeenSet = false;
184
185 Aws::String m_description;
186 bool m_descriptionHasBeenSet = false;
187
188 Aws::String m_domainId;
189 bool m_domainIdHasBeenSet = false;
190
191 DomainStatus m_domainStatus;
192 bool m_domainStatusHasBeenSet = false;
193
194 Aws::String m_name;
195 bool m_nameHasBeenSet = false;
196
197 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
198 bool m_serverSideEncryptionConfigurationHasBeenSet = false;
199
200 ServerSideEncryptionUpdateDetails m_serverSideEncryptionUpdateDetails;
201 bool m_serverSideEncryptionUpdateDetailsHasBeenSet = false;
202
203 Aws::Utils::DateTime m_updatedAt;
204 bool m_updatedAtHasBeenSet = false;
205
206 WatchlistDetails m_watchlistDetails;
207 bool m_watchlistDetailsHasBeenSet = false;
208 };
209
210} // namespace Model
211} // namespace VoiceID
212} // namespace Aws
Domain & WithArn(const Aws::String &value)
Definition Domain.h:54
const Aws::String & GetDomainId() const
Definition Domain.h:89
Domain & WithDescription(Aws::String &&value)
Definition Domain.h:81
Domain & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition Domain.h:161
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Domain.h:65
Domain & WithDomainId(const Aws::String &value)
Definition Domain.h:94
Domain & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition Domain.h:162
void SetName(const Aws::String &value)
Definition Domain.h:117
bool ServerSideEncryptionConfigurationHasBeenSet() const
Definition Domain.h:131
bool DomainIdHasBeenSet() const
Definition Domain.h:90
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition Domain.h:159
Domain & WithDescription(const Aws::String &value)
Definition Domain.h:80
AWS_VOICEID_API Domain & operator=(Aws::Utils::Json::JsonView jsonValue)
Domain & WithName(const char *value)
Definition Domain.h:122
void SetName(Aws::String &&value)
Definition Domain.h:118
AWS_VOICEID_API Domain(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
Definition Domain.h:49
void SetName(const char *value)
Definition Domain.h:119
bool CreatedAtHasBeenSet() const
Definition Domain.h:64
Domain & WithDomainStatus(DomainStatus &&value)
Definition Domain.h:108
void SetArn(const char *value)
Definition Domain.h:53
bool WatchlistDetailsHasBeenSet() const
Definition Domain.h:171
void SetDomainId(Aws::String &&value)
Definition Domain.h:92
Domain & WithServerSideEncryptionUpdateDetails(const ServerSideEncryptionUpdateDetails &value)
Definition Domain.h:149
Domain & WithDomainId(const char *value)
Definition Domain.h:96
Domain & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Domain.h:67
AWS_VOICEID_API Domain()
bool ArnHasBeenSet() const
Definition Domain.h:50
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
Definition Domain.h:133
void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
Definition Domain.h:132
void SetDescription(const char *value)
Definition Domain.h:79
Domain & WithArn(Aws::String &&value)
Definition Domain.h:55
const Aws::String & GetDescription() const
Definition Domain.h:75
Domain & WithServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
Definition Domain.h:134
Domain & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Domain.h:68
bool DomainStatusHasBeenSet() const
Definition Domain.h:104
Domain & WithWatchlistDetails(WatchlistDetails &&value)
Definition Domain.h:175
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
Definition Domain.h:130
void SetServerSideEncryptionUpdateDetails(const ServerSideEncryptionUpdateDetails &value)
Definition Domain.h:147
bool NameHasBeenSet() const
Definition Domain.h:116
bool DescriptionHasBeenSet() const
Definition Domain.h:76
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Domain.h:157
Domain & WithDescription(const char *value)
Definition Domain.h:82
Domain & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
Definition Domain.h:135
Domain & WithArn(const char *value)
Definition Domain.h:56
const DomainStatus & GetDomainStatus() const
Definition Domain.h:103
const WatchlistDetails & GetWatchlistDetails() const
Definition Domain.h:170
Domain & WithDomainStatus(const DomainStatus &value)
Definition Domain.h:107
void SetArn(Aws::String &&value)
Definition Domain.h:52
void SetDescription(Aws::String &&value)
Definition Domain.h:78
void SetDescription(const Aws::String &value)
Definition Domain.h:77
void SetArn(const Aws::String &value)
Definition Domain.h:51
void SetDomainId(const char *value)
Definition Domain.h:93
void SetWatchlistDetails(WatchlistDetails &&value)
Definition Domain.h:173
void SetWatchlistDetails(const WatchlistDetails &value)
Definition Domain.h:172
void SetServerSideEncryptionUpdateDetails(ServerSideEncryptionUpdateDetails &&value)
Definition Domain.h:148
Domain & WithName(Aws::String &&value)
Definition Domain.h:121
void SetDomainId(const Aws::String &value)
Definition Domain.h:91
Domain & WithServerSideEncryptionUpdateDetails(ServerSideEncryptionUpdateDetails &&value)
Definition Domain.h:150
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
Domain & WithDomainId(Aws::String &&value)
Definition Domain.h:95
const Aws::String & GetName() const
Definition Domain.h:115
Domain & WithName(const Aws::String &value)
Definition Domain.h:120
Domain & WithWatchlistDetails(const WatchlistDetails &value)
Definition Domain.h:174
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition Domain.h:160
void SetDomainStatus(DomainStatus &&value)
Definition Domain.h:106
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Domain.h:66
bool ServerSideEncryptionUpdateDetailsHasBeenSet() const
Definition Domain.h:146
bool UpdatedAtHasBeenSet() const
Definition Domain.h:158
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Domain.h:63
const ServerSideEncryptionUpdateDetails & GetServerSideEncryptionUpdateDetails() const
Definition Domain.h:145
void SetDomainStatus(const DomainStatus &value)
Definition Domain.h:105
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue