AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
44
45
47
50 inline const Aws::String& GetDomainName() const { return m_domainName; }
51 template<typename DomainNameT = Aws::String>
52 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
53 template<typename DomainNameT = Aws::String>
54 GetDomainDetailResult& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
56
58
61 inline const Aws::Vector<Nameserver>& GetNameservers() const { return m_nameservers; }
62 template<typename NameserversT = Aws::Vector<Nameserver>>
63 void SetNameservers(NameserversT&& value) { m_nameserversHasBeenSet = true; m_nameservers = std::forward<NameserversT>(value); }
64 template<typename NameserversT = Aws::Vector<Nameserver>>
65 GetDomainDetailResult& WithNameservers(NameserversT&& value) { SetNameservers(std::forward<NameserversT>(value)); return *this;}
66 template<typename NameserversT = Nameserver>
67 GetDomainDetailResult& AddNameservers(NameserversT&& value) { m_nameserversHasBeenSet = true; m_nameservers.emplace_back(std::forward<NameserversT>(value)); return *this; }
69
71
74 inline bool GetAutoRenew() const { return m_autoRenew; }
75 inline void SetAutoRenew(bool value) { m_autoRenewHasBeenSet = true; m_autoRenew = value; }
76 inline GetDomainDetailResult& WithAutoRenew(bool value) { SetAutoRenew(value); return *this;}
78
80
83 inline const ContactDetail& GetAdminContact() const { return m_adminContact; }
84 template<typename AdminContactT = ContactDetail>
85 void SetAdminContact(AdminContactT&& value) { m_adminContactHasBeenSet = true; m_adminContact = std::forward<AdminContactT>(value); }
86 template<typename AdminContactT = ContactDetail>
87 GetDomainDetailResult& WithAdminContact(AdminContactT&& value) { SetAdminContact(std::forward<AdminContactT>(value)); return *this;}
89
91
94 inline const ContactDetail& GetRegistrantContact() const { return m_registrantContact; }
95 template<typename RegistrantContactT = ContactDetail>
96 void SetRegistrantContact(RegistrantContactT&& value) { m_registrantContactHasBeenSet = true; m_registrantContact = std::forward<RegistrantContactT>(value); }
97 template<typename RegistrantContactT = ContactDetail>
98 GetDomainDetailResult& WithRegistrantContact(RegistrantContactT&& value) { SetRegistrantContact(std::forward<RegistrantContactT>(value)); return *this;}
100
102
105 inline const ContactDetail& GetTechContact() const { return m_techContact; }
106 template<typename TechContactT = ContactDetail>
107 void SetTechContact(TechContactT&& value) { m_techContactHasBeenSet = true; m_techContact = std::forward<TechContactT>(value); }
108 template<typename TechContactT = ContactDetail>
109 GetDomainDetailResult& WithTechContact(TechContactT&& value) { SetTechContact(std::forward<TechContactT>(value)); return *this;}
111
113
120 inline bool GetAdminPrivacy() const { return m_adminPrivacy; }
121 inline void SetAdminPrivacy(bool value) { m_adminPrivacyHasBeenSet = true; m_adminPrivacy = value; }
122 inline GetDomainDetailResult& WithAdminPrivacy(bool value) { SetAdminPrivacy(value); return *this;}
124
126
133 inline bool GetRegistrantPrivacy() const { return m_registrantPrivacy; }
134 inline void SetRegistrantPrivacy(bool value) { m_registrantPrivacyHasBeenSet = true; m_registrantPrivacy = value; }
135 inline GetDomainDetailResult& WithRegistrantPrivacy(bool value) { SetRegistrantPrivacy(value); return *this;}
137
139
146 inline bool GetTechPrivacy() const { return m_techPrivacy; }
147 inline void SetTechPrivacy(bool value) { m_techPrivacyHasBeenSet = true; m_techPrivacy = value; }
148 inline GetDomainDetailResult& WithTechPrivacy(bool value) { SetTechPrivacy(value); return *this;}
150
152
155 inline const Aws::String& GetRegistrarName() const { return m_registrarName; }
156 template<typename RegistrarNameT = Aws::String>
157 void SetRegistrarName(RegistrarNameT&& value) { m_registrarNameHasBeenSet = true; m_registrarName = std::forward<RegistrarNameT>(value); }
158 template<typename RegistrarNameT = Aws::String>
159 GetDomainDetailResult& WithRegistrarName(RegistrarNameT&& value) { SetRegistrarName(std::forward<RegistrarNameT>(value)); return *this;}
161
163
167 inline const Aws::String& GetWhoIsServer() const { return m_whoIsServer; }
168 template<typename WhoIsServerT = Aws::String>
169 void SetWhoIsServer(WhoIsServerT&& value) { m_whoIsServerHasBeenSet = true; m_whoIsServer = std::forward<WhoIsServerT>(value); }
170 template<typename WhoIsServerT = Aws::String>
171 GetDomainDetailResult& WithWhoIsServer(WhoIsServerT&& value) { SetWhoIsServer(std::forward<WhoIsServerT>(value)); return *this;}
173
175
178 inline const Aws::String& GetRegistrarUrl() const { return m_registrarUrl; }
179 template<typename RegistrarUrlT = Aws::String>
180 void SetRegistrarUrl(RegistrarUrlT&& value) { m_registrarUrlHasBeenSet = true; m_registrarUrl = std::forward<RegistrarUrlT>(value); }
181 template<typename RegistrarUrlT = Aws::String>
182 GetDomainDetailResult& WithRegistrarUrl(RegistrarUrlT&& value) { SetRegistrarUrl(std::forward<RegistrarUrlT>(value)); return *this;}
184
186
192 inline const Aws::String& GetAbuseContactEmail() const { return m_abuseContactEmail; }
193 template<typename AbuseContactEmailT = Aws::String>
194 void SetAbuseContactEmail(AbuseContactEmailT&& value) { m_abuseContactEmailHasBeenSet = true; m_abuseContactEmail = std::forward<AbuseContactEmailT>(value); }
195 template<typename AbuseContactEmailT = Aws::String>
196 GetDomainDetailResult& WithAbuseContactEmail(AbuseContactEmailT&& value) { SetAbuseContactEmail(std::forward<AbuseContactEmailT>(value)); return *this;}
198
200
203 inline const Aws::String& GetAbuseContactPhone() const { return m_abuseContactPhone; }
204 template<typename AbuseContactPhoneT = Aws::String>
205 void SetAbuseContactPhone(AbuseContactPhoneT&& value) { m_abuseContactPhoneHasBeenSet = true; m_abuseContactPhone = std::forward<AbuseContactPhoneT>(value); }
206 template<typename AbuseContactPhoneT = Aws::String>
207 GetDomainDetailResult& WithAbuseContactPhone(AbuseContactPhoneT&& value) { SetAbuseContactPhone(std::forward<AbuseContactPhoneT>(value)); return *this;}
209
211
214 inline const Aws::String& GetRegistryDomainId() const { return m_registryDomainId; }
215 template<typename RegistryDomainIdT = Aws::String>
216 void SetRegistryDomainId(RegistryDomainIdT&& value) { m_registryDomainIdHasBeenSet = true; m_registryDomainId = std::forward<RegistryDomainIdT>(value); }
217 template<typename RegistryDomainIdT = Aws::String>
218 GetDomainDetailResult& WithRegistryDomainId(RegistryDomainIdT&& value) { SetRegistryDomainId(std::forward<RegistryDomainIdT>(value)); return *this;}
220
222
227 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
228 template<typename CreationDateT = Aws::Utils::DateTime>
229 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
230 template<typename CreationDateT = Aws::Utils::DateTime>
231 GetDomainDetailResult& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
233
235
240 inline const Aws::Utils::DateTime& GetUpdatedDate() const { return m_updatedDate; }
241 template<typename UpdatedDateT = Aws::Utils::DateTime>
242 void SetUpdatedDate(UpdatedDateT&& value) { m_updatedDateHasBeenSet = true; m_updatedDate = std::forward<UpdatedDateT>(value); }
243 template<typename UpdatedDateT = Aws::Utils::DateTime>
244 GetDomainDetailResult& WithUpdatedDate(UpdatedDateT&& value) { SetUpdatedDate(std::forward<UpdatedDateT>(value)); return *this;}
246
248
252 inline const Aws::Utils::DateTime& GetExpirationDate() const { return m_expirationDate; }
253 template<typename ExpirationDateT = Aws::Utils::DateTime>
254 void SetExpirationDate(ExpirationDateT&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::forward<ExpirationDateT>(value); }
255 template<typename ExpirationDateT = Aws::Utils::DateTime>
256 GetDomainDetailResult& WithExpirationDate(ExpirationDateT&& value) { SetExpirationDate(std::forward<ExpirationDateT>(value)); return *this;}
258
260
264 inline const Aws::String& GetReseller() const { return m_reseller; }
265 template<typename ResellerT = Aws::String>
266 void SetReseller(ResellerT&& value) { m_resellerHasBeenSet = true; m_reseller = std::forward<ResellerT>(value); }
267 template<typename ResellerT = Aws::String>
268 GetDomainDetailResult& WithReseller(ResellerT&& value) { SetReseller(std::forward<ResellerT>(value)); return *this;}
270
272
275 inline const Aws::String& GetDnsSec() const { return m_dnsSec; }
276 template<typename DnsSecT = Aws::String>
277 void SetDnsSec(DnsSecT&& value) { m_dnsSecHasBeenSet = true; m_dnsSec = std::forward<DnsSecT>(value); }
278 template<typename DnsSecT = Aws::String>
279 GetDomainDetailResult& WithDnsSec(DnsSecT&& value) { SetDnsSec(std::forward<DnsSecT>(value)); return *this;}
281
283
296 inline const Aws::Vector<Aws::String>& GetStatusList() const { return m_statusList; }
297 template<typename StatusListT = Aws::Vector<Aws::String>>
298 void SetStatusList(StatusListT&& value) { m_statusListHasBeenSet = true; m_statusList = std::forward<StatusListT>(value); }
299 template<typename StatusListT = Aws::Vector<Aws::String>>
300 GetDomainDetailResult& WithStatusList(StatusListT&& value) { SetStatusList(std::forward<StatusListT>(value)); return *this;}
301 template<typename StatusListT = Aws::String>
302 GetDomainDetailResult& AddStatusList(StatusListT&& value) { m_statusListHasBeenSet = true; m_statusList.emplace_back(std::forward<StatusListT>(value)); return *this; }
304
306
309 inline const Aws::Vector<DnssecKey>& GetDnssecKeys() const { return m_dnssecKeys; }
310 template<typename DnssecKeysT = Aws::Vector<DnssecKey>>
311 void SetDnssecKeys(DnssecKeysT&& value) { m_dnssecKeysHasBeenSet = true; m_dnssecKeys = std::forward<DnssecKeysT>(value); }
312 template<typename DnssecKeysT = Aws::Vector<DnssecKey>>
313 GetDomainDetailResult& WithDnssecKeys(DnssecKeysT&& value) { SetDnssecKeys(std::forward<DnssecKeysT>(value)); return *this;}
314 template<typename DnssecKeysT = DnssecKey>
315 GetDomainDetailResult& AddDnssecKeys(DnssecKeysT&& value) { m_dnssecKeysHasBeenSet = true; m_dnssecKeys.emplace_back(std::forward<DnssecKeysT>(value)); return *this; }
317
319
322 inline const ContactDetail& GetBillingContact() const { return m_billingContact; }
323 template<typename BillingContactT = ContactDetail>
324 void SetBillingContact(BillingContactT&& value) { m_billingContactHasBeenSet = true; m_billingContact = std::forward<BillingContactT>(value); }
325 template<typename BillingContactT = ContactDetail>
326 GetDomainDetailResult& WithBillingContact(BillingContactT&& value) { SetBillingContact(std::forward<BillingContactT>(value)); return *this;}
328
330
337 inline bool GetBillingPrivacy() const { return m_billingPrivacy; }
338 inline void SetBillingPrivacy(bool value) { m_billingPrivacyHasBeenSet = true; m_billingPrivacy = value; }
339 inline GetDomainDetailResult& WithBillingPrivacy(bool value) { SetBillingPrivacy(value); return *this;}
341
343
344 inline const Aws::String& GetRequestId() const { return m_requestId; }
345 template<typename RequestIdT = Aws::String>
346 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
347 template<typename RequestIdT = Aws::String>
348 GetDomainDetailResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
350 private:
351
352 Aws::String m_domainName;
353 bool m_domainNameHasBeenSet = false;
354
355 Aws::Vector<Nameserver> m_nameservers;
356 bool m_nameserversHasBeenSet = false;
357
358 bool m_autoRenew{false};
359 bool m_autoRenewHasBeenSet = false;
360
361 ContactDetail m_adminContact;
362 bool m_adminContactHasBeenSet = false;
363
364 ContactDetail m_registrantContact;
365 bool m_registrantContactHasBeenSet = false;
366
367 ContactDetail m_techContact;
368 bool m_techContactHasBeenSet = false;
369
370 bool m_adminPrivacy{false};
371 bool m_adminPrivacyHasBeenSet = false;
372
373 bool m_registrantPrivacy{false};
374 bool m_registrantPrivacyHasBeenSet = false;
375
376 bool m_techPrivacy{false};
377 bool m_techPrivacyHasBeenSet = false;
378
379 Aws::String m_registrarName;
380 bool m_registrarNameHasBeenSet = false;
381
382 Aws::String m_whoIsServer;
383 bool m_whoIsServerHasBeenSet = false;
384
385 Aws::String m_registrarUrl;
386 bool m_registrarUrlHasBeenSet = false;
387
388 Aws::String m_abuseContactEmail;
389 bool m_abuseContactEmailHasBeenSet = false;
390
391 Aws::String m_abuseContactPhone;
392 bool m_abuseContactPhoneHasBeenSet = false;
393
394 Aws::String m_registryDomainId;
395 bool m_registryDomainIdHasBeenSet = false;
396
397 Aws::Utils::DateTime m_creationDate{};
398 bool m_creationDateHasBeenSet = false;
399
400 Aws::Utils::DateTime m_updatedDate{};
401 bool m_updatedDateHasBeenSet = false;
402
403 Aws::Utils::DateTime m_expirationDate{};
404 bool m_expirationDateHasBeenSet = false;
405
406 Aws::String m_reseller;
407 bool m_resellerHasBeenSet = false;
408
409 Aws::String m_dnsSec;
410 bool m_dnsSecHasBeenSet = false;
411
412 Aws::Vector<Aws::String> m_statusList;
413 bool m_statusListHasBeenSet = false;
414
415 Aws::Vector<DnssecKey> m_dnssecKeys;
416 bool m_dnssecKeysHasBeenSet = false;
417
418 ContactDetail m_billingContact;
419 bool m_billingContactHasBeenSet = false;
420
421 bool m_billingPrivacy{false};
422 bool m_billingPrivacyHasBeenSet = false;
423
424 Aws::String m_requestId;
425 bool m_requestIdHasBeenSet = false;
426 };
427
428} // namespace Model
429} // namespace Route53Domains
430} // 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)
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