AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDomainDetailResult.h
1
6#pragma once
7#include <aws/route53domains/Route53Domains_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/route53domains/model/ContactDetail.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/route53domains/model/Nameserver.h>
13#include <aws/route53domains/model/DnssecKey.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Route53Domains
29{
30namespace Model
31{
39 {
40 public:
41 AWS_ROUTE53DOMAINS_API GetDomainDetailResult();
44
45
47
50 inline const Aws::String& GetDomainName() const{ return m_domainName; }
51 inline void SetDomainName(const Aws::String& value) { m_domainName = value; }
52 inline void SetDomainName(Aws::String&& value) { m_domainName = std::move(value); }
53 inline void SetDomainName(const char* value) { m_domainName.assign(value); }
54 inline GetDomainDetailResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
55 inline GetDomainDetailResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
56 inline GetDomainDetailResult& WithDomainName(const char* value) { SetDomainName(value); return *this;}
58
60
63 inline const Aws::Vector<Nameserver>& GetNameservers() const{ return m_nameservers; }
64 inline void SetNameservers(const Aws::Vector<Nameserver>& value) { m_nameservers = value; }
65 inline void SetNameservers(Aws::Vector<Nameserver>&& value) { m_nameservers = std::move(value); }
66 inline GetDomainDetailResult& WithNameservers(const Aws::Vector<Nameserver>& value) { SetNameservers(value); return *this;}
67 inline GetDomainDetailResult& WithNameservers(Aws::Vector<Nameserver>&& value) { SetNameservers(std::move(value)); return *this;}
68 inline GetDomainDetailResult& AddNameservers(const Nameserver& value) { m_nameservers.push_back(value); return *this; }
69 inline GetDomainDetailResult& AddNameservers(Nameserver&& value) { m_nameservers.push_back(std::move(value)); return *this; }
71
73
76 inline bool GetAutoRenew() const{ return m_autoRenew; }
77 inline void SetAutoRenew(bool value) { m_autoRenew = value; }
78 inline GetDomainDetailResult& WithAutoRenew(bool value) { SetAutoRenew(value); return *this;}
80
82
85 inline const ContactDetail& GetAdminContact() const{ return m_adminContact; }
86 inline void SetAdminContact(const ContactDetail& value) { m_adminContact = value; }
87 inline void SetAdminContact(ContactDetail&& value) { m_adminContact = std::move(value); }
88 inline GetDomainDetailResult& WithAdminContact(const ContactDetail& value) { SetAdminContact(value); return *this;}
89 inline GetDomainDetailResult& WithAdminContact(ContactDetail&& value) { SetAdminContact(std::move(value)); return *this;}
91
93
96 inline const ContactDetail& GetRegistrantContact() const{ return m_registrantContact; }
97 inline void SetRegistrantContact(const ContactDetail& value) { m_registrantContact = value; }
98 inline void SetRegistrantContact(ContactDetail&& value) { m_registrantContact = std::move(value); }
100 inline GetDomainDetailResult& WithRegistrantContact(ContactDetail&& value) { SetRegistrantContact(std::move(value)); return *this;}
102
104
107 inline const ContactDetail& GetTechContact() const{ return m_techContact; }
108 inline void SetTechContact(const ContactDetail& value) { m_techContact = value; }
109 inline void SetTechContact(ContactDetail&& value) { m_techContact = std::move(value); }
110 inline GetDomainDetailResult& WithTechContact(const ContactDetail& value) { SetTechContact(value); return *this;}
111 inline GetDomainDetailResult& WithTechContact(ContactDetail&& value) { SetTechContact(std::move(value)); return *this;}
113
115
122 inline bool GetAdminPrivacy() const{ return m_adminPrivacy; }
123 inline void SetAdminPrivacy(bool value) { m_adminPrivacy = value; }
124 inline GetDomainDetailResult& WithAdminPrivacy(bool value) { SetAdminPrivacy(value); return *this;}
126
128
135 inline bool GetRegistrantPrivacy() const{ return m_registrantPrivacy; }
136 inline void SetRegistrantPrivacy(bool value) { m_registrantPrivacy = value; }
137 inline GetDomainDetailResult& WithRegistrantPrivacy(bool value) { SetRegistrantPrivacy(value); return *this;}
139
141
148 inline bool GetTechPrivacy() const{ return m_techPrivacy; }
149 inline void SetTechPrivacy(bool value) { m_techPrivacy = value; }
150 inline GetDomainDetailResult& WithTechPrivacy(bool value) { SetTechPrivacy(value); return *this;}
152
154
157 inline const Aws::String& GetRegistrarName() const{ return m_registrarName; }
158 inline void SetRegistrarName(const Aws::String& value) { m_registrarName = value; }
159 inline void SetRegistrarName(Aws::String&& value) { m_registrarName = std::move(value); }
160 inline void SetRegistrarName(const char* value) { m_registrarName.assign(value); }
161 inline GetDomainDetailResult& WithRegistrarName(const Aws::String& value) { SetRegistrarName(value); return *this;}
162 inline GetDomainDetailResult& WithRegistrarName(Aws::String&& value) { SetRegistrarName(std::move(value)); return *this;}
163 inline GetDomainDetailResult& WithRegistrarName(const char* value) { SetRegistrarName(value); return *this;}
165
167
171 inline const Aws::String& GetWhoIsServer() const{ return m_whoIsServer; }
172 inline void SetWhoIsServer(const Aws::String& value) { m_whoIsServer = value; }
173 inline void SetWhoIsServer(Aws::String&& value) { m_whoIsServer = std::move(value); }
174 inline void SetWhoIsServer(const char* value) { m_whoIsServer.assign(value); }
175 inline GetDomainDetailResult& WithWhoIsServer(const Aws::String& value) { SetWhoIsServer(value); return *this;}
176 inline GetDomainDetailResult& WithWhoIsServer(Aws::String&& value) { SetWhoIsServer(std::move(value)); return *this;}
177 inline GetDomainDetailResult& WithWhoIsServer(const char* value) { SetWhoIsServer(value); return *this;}
179
181
184 inline const Aws::String& GetRegistrarUrl() const{ return m_registrarUrl; }
185 inline void SetRegistrarUrl(const Aws::String& value) { m_registrarUrl = value; }
186 inline void SetRegistrarUrl(Aws::String&& value) { m_registrarUrl = std::move(value); }
187 inline void SetRegistrarUrl(const char* value) { m_registrarUrl.assign(value); }
188 inline GetDomainDetailResult& WithRegistrarUrl(const Aws::String& value) { SetRegistrarUrl(value); return *this;}
189 inline GetDomainDetailResult& WithRegistrarUrl(Aws::String&& value) { SetRegistrarUrl(std::move(value)); return *this;}
190 inline GetDomainDetailResult& WithRegistrarUrl(const char* value) { SetRegistrarUrl(value); return *this;}
192
194
200 inline const Aws::String& GetAbuseContactEmail() const{ return m_abuseContactEmail; }
201 inline void SetAbuseContactEmail(const Aws::String& value) { m_abuseContactEmail = value; }
202 inline void SetAbuseContactEmail(Aws::String&& value) { m_abuseContactEmail = std::move(value); }
203 inline void SetAbuseContactEmail(const char* value) { m_abuseContactEmail.assign(value); }
205 inline GetDomainDetailResult& WithAbuseContactEmail(Aws::String&& value) { SetAbuseContactEmail(std::move(value)); return *this;}
206 inline GetDomainDetailResult& WithAbuseContactEmail(const char* value) { SetAbuseContactEmail(value); return *this;}
208
210
213 inline const Aws::String& GetAbuseContactPhone() const{ return m_abuseContactPhone; }
214 inline void SetAbuseContactPhone(const Aws::String& value) { m_abuseContactPhone = value; }
215 inline void SetAbuseContactPhone(Aws::String&& value) { m_abuseContactPhone = std::move(value); }
216 inline void SetAbuseContactPhone(const char* value) { m_abuseContactPhone.assign(value); }
218 inline GetDomainDetailResult& WithAbuseContactPhone(Aws::String&& value) { SetAbuseContactPhone(std::move(value)); return *this;}
219 inline GetDomainDetailResult& WithAbuseContactPhone(const char* value) { SetAbuseContactPhone(value); return *this;}
221
223
226 inline const Aws::String& GetRegistryDomainId() const{ return m_registryDomainId; }
227 inline void SetRegistryDomainId(const Aws::String& value) { m_registryDomainId = value; }
228 inline void SetRegistryDomainId(Aws::String&& value) { m_registryDomainId = std::move(value); }
229 inline void SetRegistryDomainId(const char* value) { m_registryDomainId.assign(value); }
230 inline GetDomainDetailResult& WithRegistryDomainId(const Aws::String& value) { SetRegistryDomainId(value); return *this;}
231 inline GetDomainDetailResult& WithRegistryDomainId(Aws::String&& value) { SetRegistryDomainId(std::move(value)); return *this;}
232 inline GetDomainDetailResult& WithRegistryDomainId(const char* value) { SetRegistryDomainId(value); return *this;}
234
236
241 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
242 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
243 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
244 inline GetDomainDetailResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
245 inline GetDomainDetailResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
247
249
254 inline const Aws::Utils::DateTime& GetUpdatedDate() const{ return m_updatedDate; }
255 inline void SetUpdatedDate(const Aws::Utils::DateTime& value) { m_updatedDate = value; }
256 inline void SetUpdatedDate(Aws::Utils::DateTime&& value) { m_updatedDate = std::move(value); }
257 inline GetDomainDetailResult& WithUpdatedDate(const Aws::Utils::DateTime& value) { SetUpdatedDate(value); return *this;}
258 inline GetDomainDetailResult& WithUpdatedDate(Aws::Utils::DateTime&& value) { SetUpdatedDate(std::move(value)); return *this;}
260
262
266 inline const Aws::Utils::DateTime& GetExpirationDate() const{ return m_expirationDate; }
267 inline void SetExpirationDate(const Aws::Utils::DateTime& value) { m_expirationDate = value; }
268 inline void SetExpirationDate(Aws::Utils::DateTime&& value) { m_expirationDate = std::move(value); }
270 inline GetDomainDetailResult& WithExpirationDate(Aws::Utils::DateTime&& value) { SetExpirationDate(std::move(value)); return *this;}
272
274
278 inline const Aws::String& GetReseller() const{ return m_reseller; }
279 inline void SetReseller(const Aws::String& value) { m_reseller = value; }
280 inline void SetReseller(Aws::String&& value) { m_reseller = std::move(value); }
281 inline void SetReseller(const char* value) { m_reseller.assign(value); }
282 inline GetDomainDetailResult& WithReseller(const Aws::String& value) { SetReseller(value); return *this;}
283 inline GetDomainDetailResult& WithReseller(Aws::String&& value) { SetReseller(std::move(value)); return *this;}
284 inline GetDomainDetailResult& WithReseller(const char* value) { SetReseller(value); return *this;}
286
288
291 inline const Aws::String& GetDnsSec() const{ return m_dnsSec; }
292 inline void SetDnsSec(const Aws::String& value) { m_dnsSec = value; }
293 inline void SetDnsSec(Aws::String&& value) { m_dnsSec = std::move(value); }
294 inline void SetDnsSec(const char* value) { m_dnsSec.assign(value); }
295 inline GetDomainDetailResult& WithDnsSec(const Aws::String& value) { SetDnsSec(value); return *this;}
296 inline GetDomainDetailResult& WithDnsSec(Aws::String&& value) { SetDnsSec(std::move(value)); return *this;}
297 inline GetDomainDetailResult& WithDnsSec(const char* value) { SetDnsSec(value); return *this;}
299
301
314 inline const Aws::Vector<Aws::String>& GetStatusList() const{ return m_statusList; }
315 inline void SetStatusList(const Aws::Vector<Aws::String>& value) { m_statusList = value; }
316 inline void SetStatusList(Aws::Vector<Aws::String>&& value) { m_statusList = std::move(value); }
317 inline GetDomainDetailResult& WithStatusList(const Aws::Vector<Aws::String>& value) { SetStatusList(value); return *this;}
318 inline GetDomainDetailResult& WithStatusList(Aws::Vector<Aws::String>&& value) { SetStatusList(std::move(value)); return *this;}
319 inline GetDomainDetailResult& AddStatusList(const Aws::String& value) { m_statusList.push_back(value); return *this; }
320 inline GetDomainDetailResult& AddStatusList(Aws::String&& value) { m_statusList.push_back(std::move(value)); return *this; }
321 inline GetDomainDetailResult& AddStatusList(const char* value) { m_statusList.push_back(value); return *this; }
323
325
328 inline const Aws::Vector<DnssecKey>& GetDnssecKeys() const{ return m_dnssecKeys; }
329 inline void SetDnssecKeys(const Aws::Vector<DnssecKey>& value) { m_dnssecKeys = value; }
330 inline void SetDnssecKeys(Aws::Vector<DnssecKey>&& value) { m_dnssecKeys = std::move(value); }
331 inline GetDomainDetailResult& WithDnssecKeys(const Aws::Vector<DnssecKey>& value) { SetDnssecKeys(value); return *this;}
332 inline GetDomainDetailResult& WithDnssecKeys(Aws::Vector<DnssecKey>&& value) { SetDnssecKeys(std::move(value)); return *this;}
333 inline GetDomainDetailResult& AddDnssecKeys(const DnssecKey& value) { m_dnssecKeys.push_back(value); return *this; }
334 inline GetDomainDetailResult& AddDnssecKeys(DnssecKey&& value) { m_dnssecKeys.push_back(std::move(value)); return *this; }
336
338
341 inline const ContactDetail& GetBillingContact() const{ return m_billingContact; }
342 inline void SetBillingContact(const ContactDetail& value) { m_billingContact = value; }
343 inline void SetBillingContact(ContactDetail&& value) { m_billingContact = std::move(value); }
344 inline GetDomainDetailResult& WithBillingContact(const ContactDetail& value) { SetBillingContact(value); return *this;}
345 inline GetDomainDetailResult& WithBillingContact(ContactDetail&& value) { SetBillingContact(std::move(value)); return *this;}
347
349
356 inline bool GetBillingPrivacy() const{ return m_billingPrivacy; }
357 inline void SetBillingPrivacy(bool value) { m_billingPrivacy = value; }
358 inline GetDomainDetailResult& WithBillingPrivacy(bool value) { SetBillingPrivacy(value); return *this;}
360
362
363 inline const Aws::String& GetRequestId() const{ return m_requestId; }
364 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
365 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
366 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
367 inline GetDomainDetailResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
368 inline GetDomainDetailResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
369 inline GetDomainDetailResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
371 private:
372
373 Aws::String m_domainName;
374
375 Aws::Vector<Nameserver> m_nameservers;
376
377 bool m_autoRenew;
378
379 ContactDetail m_adminContact;
380
381 ContactDetail m_registrantContact;
382
383 ContactDetail m_techContact;
384
385 bool m_adminPrivacy;
386
387 bool m_registrantPrivacy;
388
389 bool m_techPrivacy;
390
391 Aws::String m_registrarName;
392
393 Aws::String m_whoIsServer;
394
395 Aws::String m_registrarUrl;
396
397 Aws::String m_abuseContactEmail;
398
399 Aws::String m_abuseContactPhone;
400
401 Aws::String m_registryDomainId;
402
403 Aws::Utils::DateTime m_creationDate;
404
405 Aws::Utils::DateTime m_updatedDate;
406
407 Aws::Utils::DateTime m_expirationDate;
408
409 Aws::String m_reseller;
410
411 Aws::String m_dnsSec;
412
413 Aws::Vector<Aws::String> m_statusList;
414
415 Aws::Vector<DnssecKey> m_dnssecKeys;
416
417 ContactDetail m_billingContact;
418
419 bool m_billingPrivacy;
420
421 Aws::String m_requestId;
422 };
423
424} // namespace Model
425} // namespace Route53Domains
426} // namespace Aws
GetDomainDetailResult & WithRegistrantContact(ContactDetail &&value)
GetDomainDetailResult & WithDomainName(Aws::String &&value)
GetDomainDetailResult & WithCreationDate(const Aws::Utils::DateTime &value)
GetDomainDetailResult & WithDomainName(const Aws::String &value)
GetDomainDetailResult & AddDnssecKeys(DnssecKey &&value)
const Aws::Vector< Aws::String > & GetStatusList() const
GetDomainDetailResult & WithBillingPrivacy(bool value)
GetDomainDetailResult & WithRequestId(const char *value)
GetDomainDetailResult & WithBillingContact(const ContactDetail &value)
GetDomainDetailResult & WithAdminContact(const ContactDetail &value)
void SetDnssecKeys(Aws::Vector< DnssecKey > &&value)
void SetStatusList(Aws::Vector< Aws::String > &&value)
GetDomainDetailResult & WithUpdatedDate(const Aws::Utils::DateTime &value)
GetDomainDetailResult & WithExpirationDate(Aws::Utils::DateTime &&value)
GetDomainDetailResult & AddNameservers(Nameserver &&value)
GetDomainDetailResult & WithRegistrarName(const Aws::String &value)
void SetExpirationDate(const Aws::Utils::DateTime &value)
GetDomainDetailResult & WithRegistrarName(const char *value)
GetDomainDetailResult & WithStatusList(Aws::Vector< Aws::String > &&value)
GetDomainDetailResult & WithBillingContact(ContactDetail &&value)
GetDomainDetailResult & WithWhoIsServer(const Aws::String &value)
GetDomainDetailResult & WithReseller(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDate() const
const Aws::Vector< DnssecKey > & GetDnssecKeys() const
GetDomainDetailResult & WithAbuseContactEmail(const char *value)
GetDomainDetailResult & WithDnssecKeys(const Aws::Vector< DnssecKey > &value)
GetDomainDetailResult & WithDnsSec(const Aws::String &value)
const Aws::Vector< Nameserver > & GetNameservers() const
GetDomainDetailResult & WithNameservers(const Aws::Vector< Nameserver > &value)
GetDomainDetailResult & WithAbuseContactEmail(Aws::String &&value)
GetDomainDetailResult & WithTechContact(ContactDetail &&value)
GetDomainDetailResult & WithDnsSec(const char *value)
GetDomainDetailResult & WithUpdatedDate(Aws::Utils::DateTime &&value)
GetDomainDetailResult & WithRegistrantPrivacy(bool value)
GetDomainDetailResult & WithWhoIsServer(Aws::String &&value)
GetDomainDetailResult & WithRegistryDomainId(Aws::String &&value)
GetDomainDetailResult & WithRegistrantContact(const ContactDetail &value)
GetDomainDetailResult & WithTechContact(const ContactDetail &value)
GetDomainDetailResult & AddNameservers(const Nameserver &value)
void SetStatusList(const Aws::Vector< Aws::String > &value)
GetDomainDetailResult & AddStatusList(Aws::String &&value)
GetDomainDetailResult & WithDnsSec(Aws::String &&value)
GetDomainDetailResult & AddStatusList(const Aws::String &value)
GetDomainDetailResult & WithStatusList(const Aws::Vector< Aws::String > &value)
GetDomainDetailResult & WithRequestId(const Aws::String &value)
GetDomainDetailResult & WithAbuseContactEmail(const Aws::String &value)
GetDomainDetailResult & WithAbuseContactPhone(const char *value)
GetDomainDetailResult & AddStatusList(const char *value)
GetDomainDetailResult & WithWhoIsServer(const char *value)
GetDomainDetailResult & WithRegistryDomainId(const char *value)
GetDomainDetailResult & WithAdminPrivacy(bool value)
GetDomainDetailResult & WithDnssecKeys(Aws::Vector< DnssecKey > &&value)
GetDomainDetailResult & WithRegistrarName(Aws::String &&value)
GetDomainDetailResult & WithExpirationDate(const Aws::Utils::DateTime &value)
GetDomainDetailResult & WithTechPrivacy(bool value)
GetDomainDetailResult & WithRegistryDomainId(const Aws::String &value)
AWS_ROUTE53DOMAINS_API GetDomainDetailResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDomainDetailResult & WithReseller(const Aws::String &value)
GetDomainDetailResult & WithAbuseContactPhone(Aws::String &&value)
AWS_ROUTE53DOMAINS_API GetDomainDetailResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDomainDetailResult & WithRegistrarUrl(const char *value)
const Aws::Utils::DateTime & GetUpdatedDate() const
const Aws::Utils::DateTime & GetExpirationDate() const
GetDomainDetailResult & WithAutoRenew(bool value)
GetDomainDetailResult & WithDomainName(const char *value)
void SetDnssecKeys(const Aws::Vector< DnssecKey > &value)
void SetNameservers(const Aws::Vector< Nameserver > &value)
GetDomainDetailResult & WithRegistrarUrl(Aws::String &&value)
GetDomainDetailResult & WithNameservers(Aws::Vector< Nameserver > &&value)
GetDomainDetailResult & AddDnssecKeys(const DnssecKey &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
GetDomainDetailResult & WithRequestId(Aws::String &&value)
GetDomainDetailResult & WithAbuseContactPhone(const Aws::String &value)
GetDomainDetailResult & WithCreationDate(Aws::Utils::DateTime &&value)
void SetNameservers(Aws::Vector< Nameserver > &&value)
GetDomainDetailResult & WithReseller(const char *value)
void SetUpdatedDate(const Aws::Utils::DateTime &value)
GetDomainDetailResult & WithAdminContact(ContactDetail &&value)
GetDomainDetailResult & WithRegistrarUrl(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue