AWS SDK for C++

AWS SDK for C++ Version 1.11.775

Loading...
Searching...
No Matches
GetDomainDetailResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/route53domains/Route53Domains_EXPORTS.h>
12#include <aws/route53domains/model/ContactDetail.h>
13#include <aws/route53domains/model/DnssecKey.h>
14#include <aws/route53domains/model/Nameserver.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Route53Domains {
28namespace Model {
36 public:
37 AWS_ROUTE53DOMAINS_API GetDomainDetailResult() = default;
40
42
45 inline const Aws::String& GetDomainName() const { return m_domainName; }
46 template <typename DomainNameT = Aws::String>
47 void SetDomainName(DomainNameT&& value) {
48 m_domainNameHasBeenSet = true;
49 m_domainName = std::forward<DomainNameT>(value);
50 }
51 template <typename DomainNameT = Aws::String>
52 GetDomainDetailResult& WithDomainName(DomainNameT&& value) {
53 SetDomainName(std::forward<DomainNameT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::Vector<Nameserver>& GetNameservers() const { return m_nameservers; }
63 template <typename NameserversT = Aws::Vector<Nameserver>>
64 void SetNameservers(NameserversT&& value) {
65 m_nameserversHasBeenSet = true;
66 m_nameservers = std::forward<NameserversT>(value);
67 }
68 template <typename NameserversT = Aws::Vector<Nameserver>>
69 GetDomainDetailResult& WithNameservers(NameserversT&& value) {
70 SetNameservers(std::forward<NameserversT>(value));
71 return *this;
72 }
73 template <typename NameserversT = Nameserver>
74 GetDomainDetailResult& AddNameservers(NameserversT&& value) {
75 m_nameserversHasBeenSet = true;
76 m_nameservers.emplace_back(std::forward<NameserversT>(value));
77 return *this;
78 }
80
82
85 inline bool GetAutoRenew() const { return m_autoRenew; }
86 inline void SetAutoRenew(bool value) {
87 m_autoRenewHasBeenSet = true;
88 m_autoRenew = value;
89 }
91 SetAutoRenew(value);
92 return *this;
93 }
95
97
100 inline const ContactDetail& GetAdminContact() const { return m_adminContact; }
101 template <typename AdminContactT = ContactDetail>
102 void SetAdminContact(AdminContactT&& value) {
103 m_adminContactHasBeenSet = true;
104 m_adminContact = std::forward<AdminContactT>(value);
105 }
106 template <typename AdminContactT = ContactDetail>
107 GetDomainDetailResult& WithAdminContact(AdminContactT&& value) {
108 SetAdminContact(std::forward<AdminContactT>(value));
109 return *this;
110 }
112
114
117 inline const ContactDetail& GetRegistrantContact() const { return m_registrantContact; }
118 template <typename RegistrantContactT = ContactDetail>
119 void SetRegistrantContact(RegistrantContactT&& value) {
120 m_registrantContactHasBeenSet = true;
121 m_registrantContact = std::forward<RegistrantContactT>(value);
122 }
123 template <typename RegistrantContactT = ContactDetail>
124 GetDomainDetailResult& WithRegistrantContact(RegistrantContactT&& value) {
125 SetRegistrantContact(std::forward<RegistrantContactT>(value));
126 return *this;
127 }
129
131
134 inline const ContactDetail& GetTechContact() const { return m_techContact; }
135 template <typename TechContactT = ContactDetail>
136 void SetTechContact(TechContactT&& value) {
137 m_techContactHasBeenSet = true;
138 m_techContact = std::forward<TechContactT>(value);
139 }
140 template <typename TechContactT = ContactDetail>
141 GetDomainDetailResult& WithTechContact(TechContactT&& value) {
142 SetTechContact(std::forward<TechContactT>(value));
143 return *this;
144 }
146
148
155 inline bool GetAdminPrivacy() const { return m_adminPrivacy; }
156 inline void SetAdminPrivacy(bool value) {
157 m_adminPrivacyHasBeenSet = true;
158 m_adminPrivacy = value;
159 }
161 SetAdminPrivacy(value);
162 return *this;
163 }
165
167
174 inline bool GetRegistrantPrivacy() const { return m_registrantPrivacy; }
175 inline void SetRegistrantPrivacy(bool value) {
176 m_registrantPrivacyHasBeenSet = true;
177 m_registrantPrivacy = value;
178 }
181 return *this;
182 }
184
186
193 inline bool GetTechPrivacy() const { return m_techPrivacy; }
194 inline void SetTechPrivacy(bool value) {
195 m_techPrivacyHasBeenSet = true;
196 m_techPrivacy = value;
197 }
199 SetTechPrivacy(value);
200 return *this;
201 }
203
205
208 inline const Aws::String& GetRegistrarName() const { return m_registrarName; }
209 template <typename RegistrarNameT = Aws::String>
210 void SetRegistrarName(RegistrarNameT&& value) {
211 m_registrarNameHasBeenSet = true;
212 m_registrarName = std::forward<RegistrarNameT>(value);
213 }
214 template <typename RegistrarNameT = Aws::String>
215 GetDomainDetailResult& WithRegistrarName(RegistrarNameT&& value) {
216 SetRegistrarName(std::forward<RegistrarNameT>(value));
217 return *this;
218 }
220
222
226 inline const Aws::String& GetWhoIsServer() const { return m_whoIsServer; }
227 template <typename WhoIsServerT = Aws::String>
228 void SetWhoIsServer(WhoIsServerT&& value) {
229 m_whoIsServerHasBeenSet = true;
230 m_whoIsServer = std::forward<WhoIsServerT>(value);
231 }
232 template <typename WhoIsServerT = Aws::String>
233 GetDomainDetailResult& WithWhoIsServer(WhoIsServerT&& value) {
234 SetWhoIsServer(std::forward<WhoIsServerT>(value));
235 return *this;
236 }
238
240
243 inline const Aws::String& GetRegistrarUrl() const { return m_registrarUrl; }
244 template <typename RegistrarUrlT = Aws::String>
245 void SetRegistrarUrl(RegistrarUrlT&& value) {
246 m_registrarUrlHasBeenSet = true;
247 m_registrarUrl = std::forward<RegistrarUrlT>(value);
248 }
249 template <typename RegistrarUrlT = Aws::String>
250 GetDomainDetailResult& WithRegistrarUrl(RegistrarUrlT&& value) {
251 SetRegistrarUrl(std::forward<RegistrarUrlT>(value));
252 return *this;
253 }
255
257
263 inline const Aws::String& GetAbuseContactEmail() const { return m_abuseContactEmail; }
264 template <typename AbuseContactEmailT = Aws::String>
265 void SetAbuseContactEmail(AbuseContactEmailT&& value) {
266 m_abuseContactEmailHasBeenSet = true;
267 m_abuseContactEmail = std::forward<AbuseContactEmailT>(value);
268 }
269 template <typename AbuseContactEmailT = Aws::String>
270 GetDomainDetailResult& WithAbuseContactEmail(AbuseContactEmailT&& value) {
271 SetAbuseContactEmail(std::forward<AbuseContactEmailT>(value));
272 return *this;
273 }
275
277
280 inline const Aws::String& GetAbuseContactPhone() const { return m_abuseContactPhone; }
281 template <typename AbuseContactPhoneT = Aws::String>
282 void SetAbuseContactPhone(AbuseContactPhoneT&& value) {
283 m_abuseContactPhoneHasBeenSet = true;
284 m_abuseContactPhone = std::forward<AbuseContactPhoneT>(value);
285 }
286 template <typename AbuseContactPhoneT = Aws::String>
287 GetDomainDetailResult& WithAbuseContactPhone(AbuseContactPhoneT&& value) {
288 SetAbuseContactPhone(std::forward<AbuseContactPhoneT>(value));
289 return *this;
290 }
292
294
297 inline const Aws::String& GetRegistryDomainId() const { return m_registryDomainId; }
298 template <typename RegistryDomainIdT = Aws::String>
299 void SetRegistryDomainId(RegistryDomainIdT&& value) {
300 m_registryDomainIdHasBeenSet = true;
301 m_registryDomainId = std::forward<RegistryDomainIdT>(value);
302 }
303 template <typename RegistryDomainIdT = Aws::String>
304 GetDomainDetailResult& WithRegistryDomainId(RegistryDomainIdT&& value) {
305 SetRegistryDomainId(std::forward<RegistryDomainIdT>(value));
306 return *this;
307 }
309
311
316 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
317 template <typename CreationDateT = Aws::Utils::DateTime>
318 void SetCreationDate(CreationDateT&& value) {
319 m_creationDateHasBeenSet = true;
320 m_creationDate = std::forward<CreationDateT>(value);
321 }
322 template <typename CreationDateT = Aws::Utils::DateTime>
323 GetDomainDetailResult& WithCreationDate(CreationDateT&& value) {
324 SetCreationDate(std::forward<CreationDateT>(value));
325 return *this;
326 }
328
330
335 inline const Aws::Utils::DateTime& GetUpdatedDate() const { return m_updatedDate; }
336 template <typename UpdatedDateT = Aws::Utils::DateTime>
337 void SetUpdatedDate(UpdatedDateT&& value) {
338 m_updatedDateHasBeenSet = true;
339 m_updatedDate = std::forward<UpdatedDateT>(value);
340 }
341 template <typename UpdatedDateT = Aws::Utils::DateTime>
342 GetDomainDetailResult& WithUpdatedDate(UpdatedDateT&& value) {
343 SetUpdatedDate(std::forward<UpdatedDateT>(value));
344 return *this;
345 }
347
349
353 inline const Aws::Utils::DateTime& GetExpirationDate() const { return m_expirationDate; }
354 template <typename ExpirationDateT = Aws::Utils::DateTime>
355 void SetExpirationDate(ExpirationDateT&& value) {
356 m_expirationDateHasBeenSet = true;
357 m_expirationDate = std::forward<ExpirationDateT>(value);
358 }
359 template <typename ExpirationDateT = Aws::Utils::DateTime>
360 GetDomainDetailResult& WithExpirationDate(ExpirationDateT&& value) {
361 SetExpirationDate(std::forward<ExpirationDateT>(value));
362 return *this;
363 }
365
367
371 inline const Aws::String& GetReseller() const { return m_reseller; }
372 template <typename ResellerT = Aws::String>
373 void SetReseller(ResellerT&& value) {
374 m_resellerHasBeenSet = true;
375 m_reseller = std::forward<ResellerT>(value);
376 }
377 template <typename ResellerT = Aws::String>
379 SetReseller(std::forward<ResellerT>(value));
380 return *this;
381 }
383
385
388 inline const Aws::String& GetDnsSec() const { return m_dnsSec; }
389 template <typename DnsSecT = Aws::String>
390 void SetDnsSec(DnsSecT&& value) {
391 m_dnsSecHasBeenSet = true;
392 m_dnsSec = std::forward<DnsSecT>(value);
393 }
394 template <typename DnsSecT = Aws::String>
396 SetDnsSec(std::forward<DnsSecT>(value));
397 return *this;
398 }
400
402
415 inline const Aws::Vector<Aws::String>& GetStatusList() const { return m_statusList; }
416 template <typename StatusListT = Aws::Vector<Aws::String>>
417 void SetStatusList(StatusListT&& value) {
418 m_statusListHasBeenSet = true;
419 m_statusList = std::forward<StatusListT>(value);
420 }
421 template <typename StatusListT = Aws::Vector<Aws::String>>
422 GetDomainDetailResult& WithStatusList(StatusListT&& value) {
423 SetStatusList(std::forward<StatusListT>(value));
424 return *this;
425 }
426 template <typename StatusListT = Aws::String>
427 GetDomainDetailResult& AddStatusList(StatusListT&& value) {
428 m_statusListHasBeenSet = true;
429 m_statusList.emplace_back(std::forward<StatusListT>(value));
430 return *this;
431 }
433
435
438 inline const Aws::Vector<DnssecKey>& GetDnssecKeys() const { return m_dnssecKeys; }
439 template <typename DnssecKeysT = Aws::Vector<DnssecKey>>
440 void SetDnssecKeys(DnssecKeysT&& value) {
441 m_dnssecKeysHasBeenSet = true;
442 m_dnssecKeys = std::forward<DnssecKeysT>(value);
443 }
444 template <typename DnssecKeysT = Aws::Vector<DnssecKey>>
445 GetDomainDetailResult& WithDnssecKeys(DnssecKeysT&& value) {
446 SetDnssecKeys(std::forward<DnssecKeysT>(value));
447 return *this;
448 }
449 template <typename DnssecKeysT = DnssecKey>
450 GetDomainDetailResult& AddDnssecKeys(DnssecKeysT&& value) {
451 m_dnssecKeysHasBeenSet = true;
452 m_dnssecKeys.emplace_back(std::forward<DnssecKeysT>(value));
453 return *this;
454 }
456
458
461 inline const ContactDetail& GetBillingContact() const { return m_billingContact; }
462 template <typename BillingContactT = ContactDetail>
463 void SetBillingContact(BillingContactT&& value) {
464 m_billingContactHasBeenSet = true;
465 m_billingContact = std::forward<BillingContactT>(value);
466 }
467 template <typename BillingContactT = ContactDetail>
468 GetDomainDetailResult& WithBillingContact(BillingContactT&& value) {
469 SetBillingContact(std::forward<BillingContactT>(value));
470 return *this;
471 }
473
475
482 inline bool GetBillingPrivacy() const { return m_billingPrivacy; }
483 inline void SetBillingPrivacy(bool value) {
484 m_billingPrivacyHasBeenSet = true;
485 m_billingPrivacy = value;
486 }
488 SetBillingPrivacy(value);
489 return *this;
490 }
492
494
495 inline const Aws::String& GetRequestId() const { return m_requestId; }
496 template <typename RequestIdT = Aws::String>
497 void SetRequestId(RequestIdT&& value) {
498 m_requestIdHasBeenSet = true;
499 m_requestId = std::forward<RequestIdT>(value);
500 }
501 template <typename RequestIdT = Aws::String>
503 SetRequestId(std::forward<RequestIdT>(value));
504 return *this;
505 }
507 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
508
509 private:
510 Aws::String m_domainName;
511
512 Aws::Vector<Nameserver> m_nameservers;
513
514 bool m_autoRenew{false};
515
516 ContactDetail m_adminContact;
517
518 ContactDetail m_registrantContact;
519
520 ContactDetail m_techContact;
521
522 bool m_adminPrivacy{false};
523
524 bool m_registrantPrivacy{false};
525
526 bool m_techPrivacy{false};
527
528 Aws::String m_registrarName;
529
530 Aws::String m_whoIsServer;
531
532 Aws::String m_registrarUrl;
533
534 Aws::String m_abuseContactEmail;
535
536 Aws::String m_abuseContactPhone;
537
538 Aws::String m_registryDomainId;
539
540 Aws::Utils::DateTime m_creationDate{};
541
542 Aws::Utils::DateTime m_updatedDate{};
543
544 Aws::Utils::DateTime m_expirationDate{};
545
546 Aws::String m_reseller;
547
548 Aws::String m_dnsSec;
549
550 Aws::Vector<Aws::String> m_statusList;
551
552 Aws::Vector<DnssecKey> m_dnssecKeys;
553
554 ContactDetail m_billingContact;
555
556 bool m_billingPrivacy{false};
557
558 Aws::String m_requestId;
559 Aws::Http::HttpResponseCode m_HttpResponseCode;
560 bool m_domainNameHasBeenSet = false;
561 bool m_nameserversHasBeenSet = false;
562 bool m_autoRenewHasBeenSet = false;
563 bool m_adminContactHasBeenSet = false;
564 bool m_registrantContactHasBeenSet = false;
565 bool m_techContactHasBeenSet = false;
566 bool m_adminPrivacyHasBeenSet = false;
567 bool m_registrantPrivacyHasBeenSet = false;
568 bool m_techPrivacyHasBeenSet = false;
569 bool m_registrarNameHasBeenSet = false;
570 bool m_whoIsServerHasBeenSet = false;
571 bool m_registrarUrlHasBeenSet = false;
572 bool m_abuseContactEmailHasBeenSet = false;
573 bool m_abuseContactPhoneHasBeenSet = false;
574 bool m_registryDomainIdHasBeenSet = false;
575 bool m_creationDateHasBeenSet = false;
576 bool m_updatedDateHasBeenSet = false;
577 bool m_expirationDateHasBeenSet = false;
578 bool m_resellerHasBeenSet = false;
579 bool m_dnsSecHasBeenSet = false;
580 bool m_statusListHasBeenSet = false;
581 bool m_dnssecKeysHasBeenSet = false;
582 bool m_billingContactHasBeenSet = false;
583 bool m_billingPrivacyHasBeenSet = false;
584 bool m_requestIdHasBeenSet = false;
585};
586
587} // namespace Model
588} // namespace Route53Domains
589} // namespace Aws
GetDomainDetailResult & WithDnssecKeys(DnssecKeysT &&value)
GetDomainDetailResult & WithRegistrarName(RegistrarNameT &&value)
GetDomainDetailResult & AddDnssecKeys(DnssecKeysT &&value)
const Aws::Vector< Aws::String > & GetStatusList() const
GetDomainDetailResult & WithBillingPrivacy(bool value)
GetDomainDetailResult & WithDnsSec(DnsSecT &&value)
GetDomainDetailResult & WithReseller(ResellerT &&value)
GetDomainDetailResult & WithAbuseContactEmail(AbuseContactEmailT &&value)
GetDomainDetailResult & WithRegistrarUrl(RegistrarUrlT &&value)
GetDomainDetailResult & WithStatusList(StatusListT &&value)
GetDomainDetailResult & WithDomainName(DomainNameT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
const Aws::Vector< DnssecKey > & GetDnssecKeys() const
GetDomainDetailResult & WithExpirationDate(ExpirationDateT &&value)
const Aws::Vector< Nameserver > & GetNameservers() const
GetDomainDetailResult & WithWhoIsServer(WhoIsServerT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetDomainDetailResult & WithRegistrantPrivacy(bool value)
GetDomainDetailResult & WithRegistrantContact(RegistrantContactT &&value)
GetDomainDetailResult & AddNameservers(NameserversT &&value)
GetDomainDetailResult & WithNameservers(NameserversT &&value)
GetDomainDetailResult & WithRequestId(RequestIdT &&value)
GetDomainDetailResult & WithAdminPrivacy(bool value)
GetDomainDetailResult & AddStatusList(StatusListT &&value)
GetDomainDetailResult & WithTechContact(TechContactT &&value)
GetDomainDetailResult & WithTechPrivacy(bool value)
AWS_ROUTE53DOMAINS_API GetDomainDetailResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ROUTE53DOMAINS_API GetDomainDetailResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetUpdatedDate() const
const Aws::Utils::DateTime & GetExpirationDate() const
GetDomainDetailResult & WithCreationDate(CreationDateT &&value)
GetDomainDetailResult & WithAutoRenew(bool value)
AWS_ROUTE53DOMAINS_API GetDomainDetailResult()=default
GetDomainDetailResult & WithUpdatedDate(UpdatedDateT &&value)
GetDomainDetailResult & WithAbuseContactPhone(AbuseContactPhoneT &&value)
GetDomainDetailResult & WithBillingContact(BillingContactT &&value)
GetDomainDetailResult & WithAdminContact(AdminContactT &&value)
GetDomainDetailResult & WithRegistryDomainId(RegistryDomainIdT &&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