AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TransferDomainRequest.h
1
6#pragma once
7#include <aws/route53domains/Route53Domains_EXPORTS.h>
8#include <aws/route53domains/Route53DomainsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/route53domains/model/ContactDetail.h>
12#include <aws/route53domains/model/Nameserver.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Route53Domains
18{
19namespace Model
20{
21
29 {
30 public:
31 AWS_ROUTE53DOMAINS_API TransferDomainRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "TransferDomain"; }
38
39 AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override;
40
41 AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
42
43
45
58 inline const Aws::String& GetDomainName() const{ return m_domainName; }
59 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
60 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
61 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
62 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
63 inline TransferDomainRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
64 inline TransferDomainRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
65 inline TransferDomainRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
67
69
72 inline const Aws::String& GetIdnLangCode() const{ return m_idnLangCode; }
73 inline bool IdnLangCodeHasBeenSet() const { return m_idnLangCodeHasBeenSet; }
74 inline void SetIdnLangCode(const Aws::String& value) { m_idnLangCodeHasBeenSet = true; m_idnLangCode = value; }
75 inline void SetIdnLangCode(Aws::String&& value) { m_idnLangCodeHasBeenSet = true; m_idnLangCode = std::move(value); }
76 inline void SetIdnLangCode(const char* value) { m_idnLangCodeHasBeenSet = true; m_idnLangCode.assign(value); }
77 inline TransferDomainRequest& WithIdnLangCode(const Aws::String& value) { SetIdnLangCode(value); return *this;}
78 inline TransferDomainRequest& WithIdnLangCode(Aws::String&& value) { SetIdnLangCode(std::move(value)); return *this;}
79 inline TransferDomainRequest& WithIdnLangCode(const char* value) { SetIdnLangCode(value); return *this;}
81
83
88 inline int GetDurationInYears() const{ return m_durationInYears; }
89 inline bool DurationInYearsHasBeenSet() const { return m_durationInYearsHasBeenSet; }
90 inline void SetDurationInYears(int value) { m_durationInYearsHasBeenSet = true; m_durationInYears = value; }
91 inline TransferDomainRequest& WithDurationInYears(int value) { SetDurationInYears(value); return *this;}
93
95
98 inline const Aws::Vector<Nameserver>& GetNameservers() const{ return m_nameservers; }
99 inline bool NameserversHasBeenSet() const { return m_nameserversHasBeenSet; }
100 inline void SetNameservers(const Aws::Vector<Nameserver>& value) { m_nameserversHasBeenSet = true; m_nameservers = value; }
101 inline void SetNameservers(Aws::Vector<Nameserver>&& value) { m_nameserversHasBeenSet = true; m_nameservers = std::move(value); }
103 inline TransferDomainRequest& WithNameservers(Aws::Vector<Nameserver>&& value) { SetNameservers(std::move(value)); return *this;}
104 inline TransferDomainRequest& AddNameservers(const Nameserver& value) { m_nameserversHasBeenSet = true; m_nameservers.push_back(value); return *this; }
105 inline TransferDomainRequest& AddNameservers(Nameserver&& value) { m_nameserversHasBeenSet = true; m_nameservers.push_back(std::move(value)); return *this; }
107
109
113 inline const Aws::String& GetAuthCode() const{ return m_authCode; }
114 inline bool AuthCodeHasBeenSet() const { return m_authCodeHasBeenSet; }
115 inline void SetAuthCode(const Aws::String& value) { m_authCodeHasBeenSet = true; m_authCode = value; }
116 inline void SetAuthCode(Aws::String&& value) { m_authCodeHasBeenSet = true; m_authCode = std::move(value); }
117 inline void SetAuthCode(const char* value) { m_authCodeHasBeenSet = true; m_authCode.assign(value); }
118 inline TransferDomainRequest& WithAuthCode(const Aws::String& value) { SetAuthCode(value); return *this;}
119 inline TransferDomainRequest& WithAuthCode(Aws::String&& value) { SetAuthCode(std::move(value)); return *this;}
120 inline TransferDomainRequest& WithAuthCode(const char* value) { SetAuthCode(value); return *this;}
122
124
129 inline bool GetAutoRenew() const{ return m_autoRenew; }
130 inline bool AutoRenewHasBeenSet() const { return m_autoRenewHasBeenSet; }
131 inline void SetAutoRenew(bool value) { m_autoRenewHasBeenSet = true; m_autoRenew = value; }
132 inline TransferDomainRequest& WithAutoRenew(bool value) { SetAutoRenew(value); return *this;}
134
136
139 inline const ContactDetail& GetAdminContact() const{ return m_adminContact; }
140 inline bool AdminContactHasBeenSet() const { return m_adminContactHasBeenSet; }
141 inline void SetAdminContact(const ContactDetail& value) { m_adminContactHasBeenSet = true; m_adminContact = value; }
142 inline void SetAdminContact(ContactDetail&& value) { m_adminContactHasBeenSet = true; m_adminContact = std::move(value); }
143 inline TransferDomainRequest& WithAdminContact(const ContactDetail& value) { SetAdminContact(value); return *this;}
144 inline TransferDomainRequest& WithAdminContact(ContactDetail&& value) { SetAdminContact(std::move(value)); return *this;}
146
148
151 inline const ContactDetail& GetRegistrantContact() const{ return m_registrantContact; }
152 inline bool RegistrantContactHasBeenSet() const { return m_registrantContactHasBeenSet; }
153 inline void SetRegistrantContact(const ContactDetail& value) { m_registrantContactHasBeenSet = true; m_registrantContact = value; }
154 inline void SetRegistrantContact(ContactDetail&& value) { m_registrantContactHasBeenSet = true; m_registrantContact = std::move(value); }
156 inline TransferDomainRequest& WithRegistrantContact(ContactDetail&& value) { SetRegistrantContact(std::move(value)); return *this;}
158
160
163 inline const ContactDetail& GetTechContact() const{ return m_techContact; }
164 inline bool TechContactHasBeenSet() const { return m_techContactHasBeenSet; }
165 inline void SetTechContact(const ContactDetail& value) { m_techContactHasBeenSet = true; m_techContact = value; }
166 inline void SetTechContact(ContactDetail&& value) { m_techContactHasBeenSet = true; m_techContact = std::move(value); }
167 inline TransferDomainRequest& WithTechContact(const ContactDetail& value) { SetTechContact(value); return *this;}
168 inline TransferDomainRequest& WithTechContact(ContactDetail&& value) { SetTechContact(std::move(value)); return *this;}
170
172
180 inline bool GetPrivacyProtectAdminContact() const{ return m_privacyProtectAdminContact; }
181 inline bool PrivacyProtectAdminContactHasBeenSet() const { return m_privacyProtectAdminContactHasBeenSet; }
182 inline void SetPrivacyProtectAdminContact(bool value) { m_privacyProtectAdminContactHasBeenSet = true; m_privacyProtectAdminContact = value; }
185
187
196 inline bool GetPrivacyProtectRegistrantContact() const{ return m_privacyProtectRegistrantContact; }
197 inline bool PrivacyProtectRegistrantContactHasBeenSet() const { return m_privacyProtectRegistrantContactHasBeenSet; }
198 inline void SetPrivacyProtectRegistrantContact(bool value) { m_privacyProtectRegistrantContactHasBeenSet = true; m_privacyProtectRegistrantContact = value; }
201
203
212 inline bool GetPrivacyProtectTechContact() const{ return m_privacyProtectTechContact; }
213 inline bool PrivacyProtectTechContactHasBeenSet() const { return m_privacyProtectTechContactHasBeenSet; }
214 inline void SetPrivacyProtectTechContact(bool value) { m_privacyProtectTechContactHasBeenSet = true; m_privacyProtectTechContact = value; }
217
219
222 inline const ContactDetail& GetBillingContact() const{ return m_billingContact; }
223 inline bool BillingContactHasBeenSet() const { return m_billingContactHasBeenSet; }
224 inline void SetBillingContact(const ContactDetail& value) { m_billingContactHasBeenSet = true; m_billingContact = value; }
225 inline void SetBillingContact(ContactDetail&& value) { m_billingContactHasBeenSet = true; m_billingContact = std::move(value); }
226 inline TransferDomainRequest& WithBillingContact(const ContactDetail& value) { SetBillingContact(value); return *this;}
227 inline TransferDomainRequest& WithBillingContact(ContactDetail&& value) { SetBillingContact(std::move(value)); return *this;}
229
231
240 inline bool GetPrivacyProtectBillingContact() const{ return m_privacyProtectBillingContact; }
241 inline bool PrivacyProtectBillingContactHasBeenSet() const { return m_privacyProtectBillingContactHasBeenSet; }
242 inline void SetPrivacyProtectBillingContact(bool value) { m_privacyProtectBillingContactHasBeenSet = true; m_privacyProtectBillingContact = value; }
245 private:
246
247 Aws::String m_domainName;
248 bool m_domainNameHasBeenSet = false;
249
250 Aws::String m_idnLangCode;
251 bool m_idnLangCodeHasBeenSet = false;
252
253 int m_durationInYears;
254 bool m_durationInYearsHasBeenSet = false;
255
256 Aws::Vector<Nameserver> m_nameservers;
257 bool m_nameserversHasBeenSet = false;
258
259 Aws::String m_authCode;
260 bool m_authCodeHasBeenSet = false;
261
262 bool m_autoRenew;
263 bool m_autoRenewHasBeenSet = false;
264
265 ContactDetail m_adminContact;
266 bool m_adminContactHasBeenSet = false;
267
268 ContactDetail m_registrantContact;
269 bool m_registrantContactHasBeenSet = false;
270
271 ContactDetail m_techContact;
272 bool m_techContactHasBeenSet = false;
273
274 bool m_privacyProtectAdminContact;
275 bool m_privacyProtectAdminContactHasBeenSet = false;
276
277 bool m_privacyProtectRegistrantContact;
278 bool m_privacyProtectRegistrantContactHasBeenSet = false;
279
280 bool m_privacyProtectTechContact;
281 bool m_privacyProtectTechContactHasBeenSet = false;
282
283 ContactDetail m_billingContact;
284 bool m_billingContactHasBeenSet = false;
285
286 bool m_privacyProtectBillingContact;
287 bool m_privacyProtectBillingContactHasBeenSet = false;
288 };
289
290} // namespace Model
291} // namespace Route53Domains
292} // namespace Aws
TransferDomainRequest & WithPrivacyProtectTechContact(bool value)
TransferDomainRequest & WithDomainName(const char *value)
AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override
TransferDomainRequest & WithAdminContact(ContactDetail &&value)
TransferDomainRequest & WithRegistrantContact(ContactDetail &&value)
virtual const char * GetServiceRequestName() const override
TransferDomainRequest & WithAdminContact(const ContactDetail &value)
TransferDomainRequest & WithRegistrantContact(const ContactDetail &value)
TransferDomainRequest & WithPrivacyProtectBillingContact(bool value)
AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
TransferDomainRequest & WithBillingContact(const ContactDetail &value)
TransferDomainRequest & WithAuthCode(Aws::String &&value)
TransferDomainRequest & WithPrivacyProtectAdminContact(bool value)
TransferDomainRequest & WithPrivacyProtectRegistrantContact(bool value)
TransferDomainRequest & WithNameservers(const Aws::Vector< Nameserver > &value)
TransferDomainRequest & WithNameservers(Aws::Vector< Nameserver > &&value)
TransferDomainRequest & WithTechContact(const ContactDetail &value)
TransferDomainRequest & WithDomainName(Aws::String &&value)
TransferDomainRequest & WithTechContact(ContactDetail &&value)
void SetNameservers(Aws::Vector< Nameserver > &&value)
TransferDomainRequest & WithIdnLangCode(const char *value)
TransferDomainRequest & WithIdnLangCode(Aws::String &&value)
TransferDomainRequest & WithDurationInYears(int value)
const Aws::Vector< Nameserver > & GetNameservers() const
TransferDomainRequest & WithAuthCode(const char *value)
void SetNameservers(const Aws::Vector< Nameserver > &value)
TransferDomainRequest & WithDomainName(const Aws::String &value)
TransferDomainRequest & WithIdnLangCode(const Aws::String &value)
TransferDomainRequest & WithBillingContact(ContactDetail &&value)
TransferDomainRequest & AddNameservers(const Nameserver &value)
TransferDomainRequest & WithAuthCode(const Aws::String &value)
TransferDomainRequest & AddNameservers(Nameserver &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector