1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 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 15 namespace Aws 16 { 17 namespace Route53Domains 18 { 19 namespace Model 20 { 21 22 /** 23 * <p>The TransferDomain request includes the following elements.</p><p><h3>See 24 * Also:</h3> <a 25 * href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/TransferDomainRequest">AWS 26 * API Reference</a></p> 27 */ 28 class AWS_ROUTE53DOMAINS_API TransferDomainRequest : public Route53DomainsRequest 29 { 30 public: 31 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. GetServiceRequestName()37 inline virtual const char* GetServiceRequestName() const override { return "TransferDomain"; } 38 39 Aws::String SerializePayload() const override; 40 41 Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; 42 43 44 /** 45 * <p>The name of the domain that you want to transfer to Route 53. The top-level 46 * domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of 47 * supported TLDs, see <a 48 * href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains 49 * that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53 50 * Developer Guide</i>.</p> <p>The domain name can contain only the following 51 * characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case 52 * sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-). 53 * You can't specify a hyphen at the beginning or end of a label. </p> </li> <li> 54 * <p>Period (.) to separate the labels in the name, such as the <code>.</code> in 55 * <code>example.com</code>.</p> </li> </ul> 56 */ GetDomainName()57 inline const Aws::String& GetDomainName() const{ return m_domainName; } 58 59 /** 60 * <p>The name of the domain that you want to transfer to Route 53. The top-level 61 * domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of 62 * supported TLDs, see <a 63 * href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains 64 * that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53 65 * Developer Guide</i>.</p> <p>The domain name can contain only the following 66 * characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case 67 * sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-). 68 * You can't specify a hyphen at the beginning or end of a label. </p> </li> <li> 69 * <p>Period (.) to separate the labels in the name, such as the <code>.</code> in 70 * <code>example.com</code>.</p> </li> </ul> 71 */ DomainNameHasBeenSet()72 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } 73 74 /** 75 * <p>The name of the domain that you want to transfer to Route 53. The top-level 76 * domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of 77 * supported TLDs, see <a 78 * href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains 79 * that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53 80 * Developer Guide</i>.</p> <p>The domain name can contain only the following 81 * characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case 82 * sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-). 83 * You can't specify a hyphen at the beginning or end of a label. </p> </li> <li> 84 * <p>Period (.) to separate the labels in the name, such as the <code>.</code> in 85 * <code>example.com</code>.</p> </li> </ul> 86 */ SetDomainName(const Aws::String & value)87 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } 88 89 /** 90 * <p>The name of the domain that you want to transfer to Route 53. The top-level 91 * domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of 92 * supported TLDs, see <a 93 * href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains 94 * that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53 95 * Developer Guide</i>.</p> <p>The domain name can contain only the following 96 * characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case 97 * sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-). 98 * You can't specify a hyphen at the beginning or end of a label. </p> </li> <li> 99 * <p>Period (.) to separate the labels in the name, such as the <code>.</code> in 100 * <code>example.com</code>.</p> </li> </ul> 101 */ SetDomainName(Aws::String && value)102 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } 103 104 /** 105 * <p>The name of the domain that you want to transfer to Route 53. The top-level 106 * domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of 107 * supported TLDs, see <a 108 * href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains 109 * that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53 110 * Developer Guide</i>.</p> <p>The domain name can contain only the following 111 * characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case 112 * sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-). 113 * You can't specify a hyphen at the beginning or end of a label. </p> </li> <li> 114 * <p>Period (.) to separate the labels in the name, such as the <code>.</code> in 115 * <code>example.com</code>.</p> </li> </ul> 116 */ SetDomainName(const char * value)117 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } 118 119 /** 120 * <p>The name of the domain that you want to transfer to Route 53. The top-level 121 * domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of 122 * supported TLDs, see <a 123 * href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains 124 * that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53 125 * Developer Guide</i>.</p> <p>The domain name can contain only the following 126 * characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case 127 * sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-). 128 * You can't specify a hyphen at the beginning or end of a label. </p> </li> <li> 129 * <p>Period (.) to separate the labels in the name, such as the <code>.</code> in 130 * <code>example.com</code>.</p> </li> </ul> 131 */ WithDomainName(const Aws::String & value)132 inline TransferDomainRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} 133 134 /** 135 * <p>The name of the domain that you want to transfer to Route 53. The top-level 136 * domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of 137 * supported TLDs, see <a 138 * href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains 139 * that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53 140 * Developer Guide</i>.</p> <p>The domain name can contain only the following 141 * characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case 142 * sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-). 143 * You can't specify a hyphen at the beginning or end of a label. </p> </li> <li> 144 * <p>Period (.) to separate the labels in the name, such as the <code>.</code> in 145 * <code>example.com</code>.</p> </li> </ul> 146 */ WithDomainName(Aws::String && value)147 inline TransferDomainRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} 148 149 /** 150 * <p>The name of the domain that you want to transfer to Route 53. The top-level 151 * domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of 152 * supported TLDs, see <a 153 * href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains 154 * that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53 155 * Developer Guide</i>.</p> <p>The domain name can contain only the following 156 * characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case 157 * sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-). 158 * You can't specify a hyphen at the beginning or end of a label. </p> </li> <li> 159 * <p>Period (.) to separate the labels in the name, such as the <code>.</code> in 160 * <code>example.com</code>.</p> </li> </ul> 161 */ WithDomainName(const char * value)162 inline TransferDomainRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;} 163 164 165 /** 166 * <p>Reserved for future use.</p> 167 */ GetIdnLangCode()168 inline const Aws::String& GetIdnLangCode() const{ return m_idnLangCode; } 169 170 /** 171 * <p>Reserved for future use.</p> 172 */ IdnLangCodeHasBeenSet()173 inline bool IdnLangCodeHasBeenSet() const { return m_idnLangCodeHasBeenSet; } 174 175 /** 176 * <p>Reserved for future use.</p> 177 */ SetIdnLangCode(const Aws::String & value)178 inline void SetIdnLangCode(const Aws::String& value) { m_idnLangCodeHasBeenSet = true; m_idnLangCode = value; } 179 180 /** 181 * <p>Reserved for future use.</p> 182 */ SetIdnLangCode(Aws::String && value)183 inline void SetIdnLangCode(Aws::String&& value) { m_idnLangCodeHasBeenSet = true; m_idnLangCode = std::move(value); } 184 185 /** 186 * <p>Reserved for future use.</p> 187 */ SetIdnLangCode(const char * value)188 inline void SetIdnLangCode(const char* value) { m_idnLangCodeHasBeenSet = true; m_idnLangCode.assign(value); } 189 190 /** 191 * <p>Reserved for future use.</p> 192 */ WithIdnLangCode(const Aws::String & value)193 inline TransferDomainRequest& WithIdnLangCode(const Aws::String& value) { SetIdnLangCode(value); return *this;} 194 195 /** 196 * <p>Reserved for future use.</p> 197 */ WithIdnLangCode(Aws::String && value)198 inline TransferDomainRequest& WithIdnLangCode(Aws::String&& value) { SetIdnLangCode(std::move(value)); return *this;} 199 200 /** 201 * <p>Reserved for future use.</p> 202 */ WithIdnLangCode(const char * value)203 inline TransferDomainRequest& WithIdnLangCode(const char* value) { SetIdnLangCode(value); return *this;} 204 205 206 /** 207 * <p>The number of years that you want to register the domain for. Domains are 208 * registered for a minimum of one year. The maximum period depends on the 209 * top-level domain.</p> <p>Default: 1</p> 210 */ GetDurationInYears()211 inline int GetDurationInYears() const{ return m_durationInYears; } 212 213 /** 214 * <p>The number of years that you want to register the domain for. Domains are 215 * registered for a minimum of one year. The maximum period depends on the 216 * top-level domain.</p> <p>Default: 1</p> 217 */ DurationInYearsHasBeenSet()218 inline bool DurationInYearsHasBeenSet() const { return m_durationInYearsHasBeenSet; } 219 220 /** 221 * <p>The number of years that you want to register the domain for. Domains are 222 * registered for a minimum of one year. The maximum period depends on the 223 * top-level domain.</p> <p>Default: 1</p> 224 */ SetDurationInYears(int value)225 inline void SetDurationInYears(int value) { m_durationInYearsHasBeenSet = true; m_durationInYears = value; } 226 227 /** 228 * <p>The number of years that you want to register the domain for. Domains are 229 * registered for a minimum of one year. The maximum period depends on the 230 * top-level domain.</p> <p>Default: 1</p> 231 */ WithDurationInYears(int value)232 inline TransferDomainRequest& WithDurationInYears(int value) { SetDurationInYears(value); return *this;} 233 234 235 /** 236 * <p>Contains details for the host and glue IP addresses.</p> 237 */ GetNameservers()238 inline const Aws::Vector<Nameserver>& GetNameservers() const{ return m_nameservers; } 239 240 /** 241 * <p>Contains details for the host and glue IP addresses.</p> 242 */ NameserversHasBeenSet()243 inline bool NameserversHasBeenSet() const { return m_nameserversHasBeenSet; } 244 245 /** 246 * <p>Contains details for the host and glue IP addresses.</p> 247 */ SetNameservers(const Aws::Vector<Nameserver> & value)248 inline void SetNameservers(const Aws::Vector<Nameserver>& value) { m_nameserversHasBeenSet = true; m_nameservers = value; } 249 250 /** 251 * <p>Contains details for the host and glue IP addresses.</p> 252 */ SetNameservers(Aws::Vector<Nameserver> && value)253 inline void SetNameservers(Aws::Vector<Nameserver>&& value) { m_nameserversHasBeenSet = true; m_nameservers = std::move(value); } 254 255 /** 256 * <p>Contains details for the host and glue IP addresses.</p> 257 */ WithNameservers(const Aws::Vector<Nameserver> & value)258 inline TransferDomainRequest& WithNameservers(const Aws::Vector<Nameserver>& value) { SetNameservers(value); return *this;} 259 260 /** 261 * <p>Contains details for the host and glue IP addresses.</p> 262 */ WithNameservers(Aws::Vector<Nameserver> && value)263 inline TransferDomainRequest& WithNameservers(Aws::Vector<Nameserver>&& value) { SetNameservers(std::move(value)); return *this;} 264 265 /** 266 * <p>Contains details for the host and glue IP addresses.</p> 267 */ AddNameservers(const Nameserver & value)268 inline TransferDomainRequest& AddNameservers(const Nameserver& value) { m_nameserversHasBeenSet = true; m_nameservers.push_back(value); return *this; } 269 270 /** 271 * <p>Contains details for the host and glue IP addresses.</p> 272 */ AddNameservers(Nameserver && value)273 inline TransferDomainRequest& AddNameservers(Nameserver&& value) { m_nameserversHasBeenSet = true; m_nameservers.push_back(std::move(value)); return *this; } 274 275 276 /** 277 * <p>The authorization code for the domain. You get this value from the current 278 * registrar.</p> 279 */ GetAuthCode()280 inline const Aws::String& GetAuthCode() const{ return m_authCode; } 281 282 /** 283 * <p>The authorization code for the domain. You get this value from the current 284 * registrar.</p> 285 */ AuthCodeHasBeenSet()286 inline bool AuthCodeHasBeenSet() const { return m_authCodeHasBeenSet; } 287 288 /** 289 * <p>The authorization code for the domain. You get this value from the current 290 * registrar.</p> 291 */ SetAuthCode(const Aws::String & value)292 inline void SetAuthCode(const Aws::String& value) { m_authCodeHasBeenSet = true; m_authCode = value; } 293 294 /** 295 * <p>The authorization code for the domain. You get this value from the current 296 * registrar.</p> 297 */ SetAuthCode(Aws::String && value)298 inline void SetAuthCode(Aws::String&& value) { m_authCodeHasBeenSet = true; m_authCode = std::move(value); } 299 300 /** 301 * <p>The authorization code for the domain. You get this value from the current 302 * registrar.</p> 303 */ SetAuthCode(const char * value)304 inline void SetAuthCode(const char* value) { m_authCodeHasBeenSet = true; m_authCode.assign(value); } 305 306 /** 307 * <p>The authorization code for the domain. You get this value from the current 308 * registrar.</p> 309 */ WithAuthCode(const Aws::String & value)310 inline TransferDomainRequest& WithAuthCode(const Aws::String& value) { SetAuthCode(value); return *this;} 311 312 /** 313 * <p>The authorization code for the domain. You get this value from the current 314 * registrar.</p> 315 */ WithAuthCode(Aws::String && value)316 inline TransferDomainRequest& WithAuthCode(Aws::String&& value) { SetAuthCode(std::move(value)); return *this;} 317 318 /** 319 * <p>The authorization code for the domain. You get this value from the current 320 * registrar.</p> 321 */ WithAuthCode(const char * value)322 inline TransferDomainRequest& WithAuthCode(const char* value) { SetAuthCode(value); return *this;} 323 324 325 /** 326 * <p>Indicates whether the domain will be automatically renewed (true) or not 327 * (false). Autorenewal only takes effect after the account is charged.</p> 328 * <p>Default: true</p> 329 */ GetAutoRenew()330 inline bool GetAutoRenew() const{ return m_autoRenew; } 331 332 /** 333 * <p>Indicates whether the domain will be automatically renewed (true) or not 334 * (false). Autorenewal only takes effect after the account is charged.</p> 335 * <p>Default: true</p> 336 */ AutoRenewHasBeenSet()337 inline bool AutoRenewHasBeenSet() const { return m_autoRenewHasBeenSet; } 338 339 /** 340 * <p>Indicates whether the domain will be automatically renewed (true) or not 341 * (false). Autorenewal only takes effect after the account is charged.</p> 342 * <p>Default: true</p> 343 */ SetAutoRenew(bool value)344 inline void SetAutoRenew(bool value) { m_autoRenewHasBeenSet = true; m_autoRenew = value; } 345 346 /** 347 * <p>Indicates whether the domain will be automatically renewed (true) or not 348 * (false). Autorenewal only takes effect after the account is charged.</p> 349 * <p>Default: true</p> 350 */ WithAutoRenew(bool value)351 inline TransferDomainRequest& WithAutoRenew(bool value) { SetAutoRenew(value); return *this;} 352 353 354 /** 355 * <p>Provides detailed contact information.</p> 356 */ GetAdminContact()357 inline const ContactDetail& GetAdminContact() const{ return m_adminContact; } 358 359 /** 360 * <p>Provides detailed contact information.</p> 361 */ AdminContactHasBeenSet()362 inline bool AdminContactHasBeenSet() const { return m_adminContactHasBeenSet; } 363 364 /** 365 * <p>Provides detailed contact information.</p> 366 */ SetAdminContact(const ContactDetail & value)367 inline void SetAdminContact(const ContactDetail& value) { m_adminContactHasBeenSet = true; m_adminContact = value; } 368 369 /** 370 * <p>Provides detailed contact information.</p> 371 */ SetAdminContact(ContactDetail && value)372 inline void SetAdminContact(ContactDetail&& value) { m_adminContactHasBeenSet = true; m_adminContact = std::move(value); } 373 374 /** 375 * <p>Provides detailed contact information.</p> 376 */ WithAdminContact(const ContactDetail & value)377 inline TransferDomainRequest& WithAdminContact(const ContactDetail& value) { SetAdminContact(value); return *this;} 378 379 /** 380 * <p>Provides detailed contact information.</p> 381 */ WithAdminContact(ContactDetail && value)382 inline TransferDomainRequest& WithAdminContact(ContactDetail&& value) { SetAdminContact(std::move(value)); return *this;} 383 384 385 /** 386 * <p>Provides detailed contact information.</p> 387 */ GetRegistrantContact()388 inline const ContactDetail& GetRegistrantContact() const{ return m_registrantContact; } 389 390 /** 391 * <p>Provides detailed contact information.</p> 392 */ RegistrantContactHasBeenSet()393 inline bool RegistrantContactHasBeenSet() const { return m_registrantContactHasBeenSet; } 394 395 /** 396 * <p>Provides detailed contact information.</p> 397 */ SetRegistrantContact(const ContactDetail & value)398 inline void SetRegistrantContact(const ContactDetail& value) { m_registrantContactHasBeenSet = true; m_registrantContact = value; } 399 400 /** 401 * <p>Provides detailed contact information.</p> 402 */ SetRegistrantContact(ContactDetail && value)403 inline void SetRegistrantContact(ContactDetail&& value) { m_registrantContactHasBeenSet = true; m_registrantContact = std::move(value); } 404 405 /** 406 * <p>Provides detailed contact information.</p> 407 */ WithRegistrantContact(const ContactDetail & value)408 inline TransferDomainRequest& WithRegistrantContact(const ContactDetail& value) { SetRegistrantContact(value); return *this;} 409 410 /** 411 * <p>Provides detailed contact information.</p> 412 */ WithRegistrantContact(ContactDetail && value)413 inline TransferDomainRequest& WithRegistrantContact(ContactDetail&& value) { SetRegistrantContact(std::move(value)); return *this;} 414 415 416 /** 417 * <p>Provides detailed contact information.</p> 418 */ GetTechContact()419 inline const ContactDetail& GetTechContact() const{ return m_techContact; } 420 421 /** 422 * <p>Provides detailed contact information.</p> 423 */ TechContactHasBeenSet()424 inline bool TechContactHasBeenSet() const { return m_techContactHasBeenSet; } 425 426 /** 427 * <p>Provides detailed contact information.</p> 428 */ SetTechContact(const ContactDetail & value)429 inline void SetTechContact(const ContactDetail& value) { m_techContactHasBeenSet = true; m_techContact = value; } 430 431 /** 432 * <p>Provides detailed contact information.</p> 433 */ SetTechContact(ContactDetail && value)434 inline void SetTechContact(ContactDetail&& value) { m_techContactHasBeenSet = true; m_techContact = std::move(value); } 435 436 /** 437 * <p>Provides detailed contact information.</p> 438 */ WithTechContact(const ContactDetail & value)439 inline TransferDomainRequest& WithTechContact(const ContactDetail& value) { SetTechContact(value); return *this;} 440 441 /** 442 * <p>Provides detailed contact information.</p> 443 */ WithTechContact(ContactDetail && value)444 inline TransferDomainRequest& WithTechContact(ContactDetail&& value) { SetTechContact(std::move(value)); return *this;} 445 446 447 /** 448 * <p>Whether you want to conceal contact information from WHOIS queries. If you 449 * specify <code>true</code>, WHOIS ("who is") queries return contact information 450 * either for Amazon Registrar (for .com, .net, and .org domains) or for our 451 * registrar associate, Gandi (for all other TLDs). If you specify 452 * <code>false</code>, WHOIS queries return the information that you entered for 453 * the admin contact.</p> <p>Default: <code>true</code> </p> 454 */ GetPrivacyProtectAdminContact()455 inline bool GetPrivacyProtectAdminContact() const{ return m_privacyProtectAdminContact; } 456 457 /** 458 * <p>Whether you want to conceal contact information from WHOIS queries. If you 459 * specify <code>true</code>, WHOIS ("who is") queries return contact information 460 * either for Amazon Registrar (for .com, .net, and .org domains) or for our 461 * registrar associate, Gandi (for all other TLDs). If you specify 462 * <code>false</code>, WHOIS queries return the information that you entered for 463 * the admin contact.</p> <p>Default: <code>true</code> </p> 464 */ PrivacyProtectAdminContactHasBeenSet()465 inline bool PrivacyProtectAdminContactHasBeenSet() const { return m_privacyProtectAdminContactHasBeenSet; } 466 467 /** 468 * <p>Whether you want to conceal contact information from WHOIS queries. If you 469 * specify <code>true</code>, WHOIS ("who is") queries return contact information 470 * either for Amazon Registrar (for .com, .net, and .org domains) or for our 471 * registrar associate, Gandi (for all other TLDs). If you specify 472 * <code>false</code>, WHOIS queries return the information that you entered for 473 * the admin contact.</p> <p>Default: <code>true</code> </p> 474 */ SetPrivacyProtectAdminContact(bool value)475 inline void SetPrivacyProtectAdminContact(bool value) { m_privacyProtectAdminContactHasBeenSet = true; m_privacyProtectAdminContact = value; } 476 477 /** 478 * <p>Whether you want to conceal contact information from WHOIS queries. If you 479 * specify <code>true</code>, WHOIS ("who is") queries return contact information 480 * either for Amazon Registrar (for .com, .net, and .org domains) or for our 481 * registrar associate, Gandi (for all other TLDs). If you specify 482 * <code>false</code>, WHOIS queries return the information that you entered for 483 * the admin contact.</p> <p>Default: <code>true</code> </p> 484 */ WithPrivacyProtectAdminContact(bool value)485 inline TransferDomainRequest& WithPrivacyProtectAdminContact(bool value) { SetPrivacyProtectAdminContact(value); return *this;} 486 487 488 /** 489 * <p>Whether you want to conceal contact information from WHOIS queries. If you 490 * specify <code>true</code>, WHOIS ("who is") queries return contact information 491 * either for Amazon Registrar (for .com, .net, and .org domains) or for our 492 * registrar associate, Gandi (for all other TLDs). If you specify 493 * <code>false</code>, WHOIS queries return the information that you entered for 494 * the registrant contact (domain owner).</p> <p>Default: <code>true</code> </p> 495 */ GetPrivacyProtectRegistrantContact()496 inline bool GetPrivacyProtectRegistrantContact() const{ return m_privacyProtectRegistrantContact; } 497 498 /** 499 * <p>Whether you want to conceal contact information from WHOIS queries. If you 500 * specify <code>true</code>, WHOIS ("who is") queries return contact information 501 * either for Amazon Registrar (for .com, .net, and .org domains) or for our 502 * registrar associate, Gandi (for all other TLDs). If you specify 503 * <code>false</code>, WHOIS queries return the information that you entered for 504 * the registrant contact (domain owner).</p> <p>Default: <code>true</code> </p> 505 */ PrivacyProtectRegistrantContactHasBeenSet()506 inline bool PrivacyProtectRegistrantContactHasBeenSet() const { return m_privacyProtectRegistrantContactHasBeenSet; } 507 508 /** 509 * <p>Whether you want to conceal contact information from WHOIS queries. If you 510 * specify <code>true</code>, WHOIS ("who is") queries return contact information 511 * either for Amazon Registrar (for .com, .net, and .org domains) or for our 512 * registrar associate, Gandi (for all other TLDs). If you specify 513 * <code>false</code>, WHOIS queries return the information that you entered for 514 * the registrant contact (domain owner).</p> <p>Default: <code>true</code> </p> 515 */ SetPrivacyProtectRegistrantContact(bool value)516 inline void SetPrivacyProtectRegistrantContact(bool value) { m_privacyProtectRegistrantContactHasBeenSet = true; m_privacyProtectRegistrantContact = value; } 517 518 /** 519 * <p>Whether you want to conceal contact information from WHOIS queries. If you 520 * specify <code>true</code>, WHOIS ("who is") queries return contact information 521 * either for Amazon Registrar (for .com, .net, and .org domains) or for our 522 * registrar associate, Gandi (for all other TLDs). If you specify 523 * <code>false</code>, WHOIS queries return the information that you entered for 524 * the registrant contact (domain owner).</p> <p>Default: <code>true</code> </p> 525 */ WithPrivacyProtectRegistrantContact(bool value)526 inline TransferDomainRequest& WithPrivacyProtectRegistrantContact(bool value) { SetPrivacyProtectRegistrantContact(value); return *this;} 527 528 529 /** 530 * <p>Whether you want to conceal contact information from WHOIS queries. If you 531 * specify <code>true</code>, WHOIS ("who is") queries return contact information 532 * either for Amazon Registrar (for .com, .net, and .org domains) or for our 533 * registrar associate, Gandi (for all other TLDs). If you specify 534 * <code>false</code>, WHOIS queries return the information that you entered for 535 * the technical contact.</p> <p>Default: <code>true</code> </p> 536 */ GetPrivacyProtectTechContact()537 inline bool GetPrivacyProtectTechContact() const{ return m_privacyProtectTechContact; } 538 539 /** 540 * <p>Whether you want to conceal contact information from WHOIS queries. If you 541 * specify <code>true</code>, WHOIS ("who is") queries return contact information 542 * either for Amazon Registrar (for .com, .net, and .org domains) or for our 543 * registrar associate, Gandi (for all other TLDs). If you specify 544 * <code>false</code>, WHOIS queries return the information that you entered for 545 * the technical contact.</p> <p>Default: <code>true</code> </p> 546 */ PrivacyProtectTechContactHasBeenSet()547 inline bool PrivacyProtectTechContactHasBeenSet() const { return m_privacyProtectTechContactHasBeenSet; } 548 549 /** 550 * <p>Whether you want to conceal contact information from WHOIS queries. If you 551 * specify <code>true</code>, WHOIS ("who is") queries return contact information 552 * either for Amazon Registrar (for .com, .net, and .org domains) or for our 553 * registrar associate, Gandi (for all other TLDs). If you specify 554 * <code>false</code>, WHOIS queries return the information that you entered for 555 * the technical contact.</p> <p>Default: <code>true</code> </p> 556 */ SetPrivacyProtectTechContact(bool value)557 inline void SetPrivacyProtectTechContact(bool value) { m_privacyProtectTechContactHasBeenSet = true; m_privacyProtectTechContact = value; } 558 559 /** 560 * <p>Whether you want to conceal contact information from WHOIS queries. If you 561 * specify <code>true</code>, WHOIS ("who is") queries return contact information 562 * either for Amazon Registrar (for .com, .net, and .org domains) or for our 563 * registrar associate, Gandi (for all other TLDs). If you specify 564 * <code>false</code>, WHOIS queries return the information that you entered for 565 * the technical contact.</p> <p>Default: <code>true</code> </p> 566 */ WithPrivacyProtectTechContact(bool value)567 inline TransferDomainRequest& WithPrivacyProtectTechContact(bool value) { SetPrivacyProtectTechContact(value); return *this;} 568 569 private: 570 571 Aws::String m_domainName; 572 bool m_domainNameHasBeenSet; 573 574 Aws::String m_idnLangCode; 575 bool m_idnLangCodeHasBeenSet; 576 577 int m_durationInYears; 578 bool m_durationInYearsHasBeenSet; 579 580 Aws::Vector<Nameserver> m_nameservers; 581 bool m_nameserversHasBeenSet; 582 583 Aws::String m_authCode; 584 bool m_authCodeHasBeenSet; 585 586 bool m_autoRenew; 587 bool m_autoRenewHasBeenSet; 588 589 ContactDetail m_adminContact; 590 bool m_adminContactHasBeenSet; 591 592 ContactDetail m_registrantContact; 593 bool m_registrantContactHasBeenSet; 594 595 ContactDetail m_techContact; 596 bool m_techContactHasBeenSet; 597 598 bool m_privacyProtectAdminContact; 599 bool m_privacyProtectAdminContactHasBeenSet; 600 601 bool m_privacyProtectRegistrantContact; 602 bool m_privacyProtectRegistrantContactHasBeenSet; 603 604 bool m_privacyProtectTechContact; 605 bool m_privacyProtectTechContactHasBeenSet; 606 }; 607 608 } // namespace Model 609 } // namespace Route53Domains 610 } // namespace Aws 611