/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The TransferDomain request includes the following elements.See
* Also:
AWS
* API Reference
The name of the domain that you want to transfer to Route 53. The top-level * domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of * supported TLDs, see Domains * that You Can Register with Amazon Route 53 in the Amazon Route 53 * Developer Guide.
The domain name can contain only the following * characters:
Letters a through z. Domain names are not case * sensitive.
Numbers 0 through 9.
Hyphen (-). * You can't specify a hyphen at the beginning or end of a label.
Period (.) to separate the labels in the name, such as the .
in
* example.com
.
The name of the domain that you want to transfer to Route 53. The top-level * domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of * supported TLDs, see Domains * that You Can Register with Amazon Route 53 in the Amazon Route 53 * Developer Guide.
The domain name can contain only the following * characters:
Letters a through z. Domain names are not case * sensitive.
Numbers 0 through 9.
Hyphen (-). * You can't specify a hyphen at the beginning or end of a label.
Period (.) to separate the labels in the name, such as the .
in
* example.com
.
The name of the domain that you want to transfer to Route 53. The top-level * domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of * supported TLDs, see Domains * that You Can Register with Amazon Route 53 in the Amazon Route 53 * Developer Guide.
The domain name can contain only the following * characters:
Letters a through z. Domain names are not case * sensitive.
Numbers 0 through 9.
Hyphen (-). * You can't specify a hyphen at the beginning or end of a label.
Period (.) to separate the labels in the name, such as the .
in
* example.com
.
The name of the domain that you want to transfer to Route 53. The top-level * domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of * supported TLDs, see Domains * that You Can Register with Amazon Route 53 in the Amazon Route 53 * Developer Guide.
The domain name can contain only the following * characters:
Letters a through z. Domain names are not case * sensitive.
Numbers 0 through 9.
Hyphen (-). * You can't specify a hyphen at the beginning or end of a label.
Period (.) to separate the labels in the name, such as the .
in
* example.com
.
The name of the domain that you want to transfer to Route 53. The top-level * domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of * supported TLDs, see Domains * that You Can Register with Amazon Route 53 in the Amazon Route 53 * Developer Guide.
The domain name can contain only the following * characters:
Letters a through z. Domain names are not case * sensitive.
Numbers 0 through 9.
Hyphen (-). * You can't specify a hyphen at the beginning or end of a label.
Period (.) to separate the labels in the name, such as the .
in
* example.com
.
The name of the domain that you want to transfer to Route 53. The top-level * domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of * supported TLDs, see Domains * that You Can Register with Amazon Route 53 in the Amazon Route 53 * Developer Guide.
The domain name can contain only the following * characters:
Letters a through z. Domain names are not case * sensitive.
Numbers 0 through 9.
Hyphen (-). * You can't specify a hyphen at the beginning or end of a label.
Period (.) to separate the labels in the name, such as the .
in
* example.com
.
The name of the domain that you want to transfer to Route 53. The top-level * domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of * supported TLDs, see Domains * that You Can Register with Amazon Route 53 in the Amazon Route 53 * Developer Guide.
The domain name can contain only the following * characters:
Letters a through z. Domain names are not case * sensitive.
Numbers 0 through 9.
Hyphen (-). * You can't specify a hyphen at the beginning or end of a label.
Period (.) to separate the labels in the name, such as the .
in
* example.com
.
The name of the domain that you want to transfer to Route 53. The top-level * domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of * supported TLDs, see Domains * that You Can Register with Amazon Route 53 in the Amazon Route 53 * Developer Guide.
The domain name can contain only the following * characters:
Letters a through z. Domain names are not case * sensitive.
Numbers 0 through 9.
Hyphen (-). * You can't specify a hyphen at the beginning or end of a label.
Period (.) to separate the labels in the name, such as the .
in
* example.com
.
Reserved for future use.
*/ inline const Aws::String& GetIdnLangCode() const{ return m_idnLangCode; } /** *Reserved for future use.
*/ inline bool IdnLangCodeHasBeenSet() const { return m_idnLangCodeHasBeenSet; } /** *Reserved for future use.
*/ inline void SetIdnLangCode(const Aws::String& value) { m_idnLangCodeHasBeenSet = true; m_idnLangCode = value; } /** *Reserved for future use.
*/ inline void SetIdnLangCode(Aws::String&& value) { m_idnLangCodeHasBeenSet = true; m_idnLangCode = std::move(value); } /** *Reserved for future use.
*/ inline void SetIdnLangCode(const char* value) { m_idnLangCodeHasBeenSet = true; m_idnLangCode.assign(value); } /** *Reserved for future use.
*/ inline TransferDomainRequest& WithIdnLangCode(const Aws::String& value) { SetIdnLangCode(value); return *this;} /** *Reserved for future use.
*/ inline TransferDomainRequest& WithIdnLangCode(Aws::String&& value) { SetIdnLangCode(std::move(value)); return *this;} /** *Reserved for future use.
*/ inline TransferDomainRequest& WithIdnLangCode(const char* value) { SetIdnLangCode(value); return *this;} /** *The number of years that you want to register the domain for. Domains are * registered for a minimum of one year. The maximum period depends on the * top-level domain.
Default: 1
*/ inline int GetDurationInYears() const{ return m_durationInYears; } /** *The number of years that you want to register the domain for. Domains are * registered for a minimum of one year. The maximum period depends on the * top-level domain.
Default: 1
*/ inline bool DurationInYearsHasBeenSet() const { return m_durationInYearsHasBeenSet; } /** *The number of years that you want to register the domain for. Domains are * registered for a minimum of one year. The maximum period depends on the * top-level domain.
Default: 1
*/ inline void SetDurationInYears(int value) { m_durationInYearsHasBeenSet = true; m_durationInYears = value; } /** *The number of years that you want to register the domain for. Domains are * registered for a minimum of one year. The maximum period depends on the * top-level domain.
Default: 1
*/ inline TransferDomainRequest& WithDurationInYears(int value) { SetDurationInYears(value); return *this;} /** *Contains details for the host and glue IP addresses.
*/ inline const Aws::VectorContains details for the host and glue IP addresses.
*/ inline bool NameserversHasBeenSet() const { return m_nameserversHasBeenSet; } /** *Contains details for the host and glue IP addresses.
*/ inline void SetNameservers(const Aws::VectorContains details for the host and glue IP addresses.
*/ inline void SetNameservers(Aws::VectorContains details for the host and glue IP addresses.
*/ inline TransferDomainRequest& WithNameservers(const Aws::VectorContains details for the host and glue IP addresses.
*/ inline TransferDomainRequest& WithNameservers(Aws::VectorContains details for the host and glue IP addresses.
*/ inline TransferDomainRequest& AddNameservers(const Nameserver& value) { m_nameserversHasBeenSet = true; m_nameservers.push_back(value); return *this; } /** *Contains details for the host and glue IP addresses.
*/ inline TransferDomainRequest& AddNameservers(Nameserver&& value) { m_nameserversHasBeenSet = true; m_nameservers.push_back(std::move(value)); return *this; } /** *The authorization code for the domain. You get this value from the current * registrar.
*/ inline const Aws::String& GetAuthCode() const{ return m_authCode; } /** *The authorization code for the domain. You get this value from the current * registrar.
*/ inline bool AuthCodeHasBeenSet() const { return m_authCodeHasBeenSet; } /** *The authorization code for the domain. You get this value from the current * registrar.
*/ inline void SetAuthCode(const Aws::String& value) { m_authCodeHasBeenSet = true; m_authCode = value; } /** *The authorization code for the domain. You get this value from the current * registrar.
*/ inline void SetAuthCode(Aws::String&& value) { m_authCodeHasBeenSet = true; m_authCode = std::move(value); } /** *The authorization code for the domain. You get this value from the current * registrar.
*/ inline void SetAuthCode(const char* value) { m_authCodeHasBeenSet = true; m_authCode.assign(value); } /** *The authorization code for the domain. You get this value from the current * registrar.
*/ inline TransferDomainRequest& WithAuthCode(const Aws::String& value) { SetAuthCode(value); return *this;} /** *The authorization code for the domain. You get this value from the current * registrar.
*/ inline TransferDomainRequest& WithAuthCode(Aws::String&& value) { SetAuthCode(std::move(value)); return *this;} /** *The authorization code for the domain. You get this value from the current * registrar.
*/ inline TransferDomainRequest& WithAuthCode(const char* value) { SetAuthCode(value); return *this;} /** *Indicates whether the domain will be automatically renewed (true) or not * (false). Auto renewal only takes effect after the account is charged.
*Default: true
*/ inline bool GetAutoRenew() const{ return m_autoRenew; } /** *Indicates whether the domain will be automatically renewed (true) or not * (false). Auto renewal only takes effect after the account is charged.
*Default: true
*/ inline bool AutoRenewHasBeenSet() const { return m_autoRenewHasBeenSet; } /** *Indicates whether the domain will be automatically renewed (true) or not * (false). Auto renewal only takes effect after the account is charged.
*Default: true
*/ inline void SetAutoRenew(bool value) { m_autoRenewHasBeenSet = true; m_autoRenew = value; } /** *Indicates whether the domain will be automatically renewed (true) or not * (false). Auto renewal only takes effect after the account is charged.
*Default: true
*/ inline TransferDomainRequest& WithAutoRenew(bool value) { SetAutoRenew(value); return *this;} /** *Provides detailed contact information.
*/ inline const ContactDetail& GetAdminContact() const{ return m_adminContact; } /** *Provides detailed contact information.
*/ inline bool AdminContactHasBeenSet() const { return m_adminContactHasBeenSet; } /** *Provides detailed contact information.
*/ inline void SetAdminContact(const ContactDetail& value) { m_adminContactHasBeenSet = true; m_adminContact = value; } /** *Provides detailed contact information.
*/ inline void SetAdminContact(ContactDetail&& value) { m_adminContactHasBeenSet = true; m_adminContact = std::move(value); } /** *Provides detailed contact information.
*/ inline TransferDomainRequest& WithAdminContact(const ContactDetail& value) { SetAdminContact(value); return *this;} /** *Provides detailed contact information.
*/ inline TransferDomainRequest& WithAdminContact(ContactDetail&& value) { SetAdminContact(std::move(value)); return *this;} /** *Provides detailed contact information.
*/ inline const ContactDetail& GetRegistrantContact() const{ return m_registrantContact; } /** *Provides detailed contact information.
*/ inline bool RegistrantContactHasBeenSet() const { return m_registrantContactHasBeenSet; } /** *Provides detailed contact information.
*/ inline void SetRegistrantContact(const ContactDetail& value) { m_registrantContactHasBeenSet = true; m_registrantContact = value; } /** *Provides detailed contact information.
*/ inline void SetRegistrantContact(ContactDetail&& value) { m_registrantContactHasBeenSet = true; m_registrantContact = std::move(value); } /** *Provides detailed contact information.
*/ inline TransferDomainRequest& WithRegistrantContact(const ContactDetail& value) { SetRegistrantContact(value); return *this;} /** *Provides detailed contact information.
*/ inline TransferDomainRequest& WithRegistrantContact(ContactDetail&& value) { SetRegistrantContact(std::move(value)); return *this;} /** *Provides detailed contact information.
*/ inline const ContactDetail& GetTechContact() const{ return m_techContact; } /** *Provides detailed contact information.
*/ inline bool TechContactHasBeenSet() const { return m_techContactHasBeenSet; } /** *Provides detailed contact information.
*/ inline void SetTechContact(const ContactDetail& value) { m_techContactHasBeenSet = true; m_techContact = value; } /** *Provides detailed contact information.
*/ inline void SetTechContact(ContactDetail&& value) { m_techContactHasBeenSet = true; m_techContact = std::move(value); } /** *Provides detailed contact information.
*/ inline TransferDomainRequest& WithTechContact(const ContactDetail& value) { SetTechContact(value); return *this;} /** *Provides detailed contact information.
*/ inline TransferDomainRequest& WithTechContact(ContactDetail&& value) { SetTechContact(std::move(value)); return *this;} /** *Whether you want to conceal contact information from WHOIS queries. If you
* specify true
, WHOIS ("who is") queries return contact information
* for the registrar, the phrase "REDACTED FOR PRIVACY", or "On behalf of
* <domain name> owner.".
While some domains may allow * different privacy settings per contact, we recommend specifying the same privacy * setting for all contacts.
Default: true
Whether you want to conceal contact information from WHOIS queries. If you
* specify true
, WHOIS ("who is") queries return contact information
* for the registrar, the phrase "REDACTED FOR PRIVACY", or "On behalf of
* <domain name> owner.".
While some domains may allow * different privacy settings per contact, we recommend specifying the same privacy * setting for all contacts.
Default: true
Whether you want to conceal contact information from WHOIS queries. If you
* specify true
, WHOIS ("who is") queries return contact information
* for the registrar, the phrase "REDACTED FOR PRIVACY", or "On behalf of
* <domain name> owner.".
While some domains may allow * different privacy settings per contact, we recommend specifying the same privacy * setting for all contacts.
Default: true
Whether you want to conceal contact information from WHOIS queries. If you
* specify true
, WHOIS ("who is") queries return contact information
* for the registrar, the phrase "REDACTED FOR PRIVACY", or "On behalf of
* <domain name> owner.".
While some domains may allow * different privacy settings per contact, we recommend specifying the same privacy * setting for all contacts.
Default: true
Whether you want to conceal contact information from WHOIS queries. If you
* specify true
, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* false
, WHOIS queries return the information that you entered for
* the registrant contact (domain owner).
You must specify the same * privacy setting for the administrative, registrant, and technical contacts.
*Default: true
Whether you want to conceal contact information from WHOIS queries. If you
* specify true
, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* false
, WHOIS queries return the information that you entered for
* the registrant contact (domain owner).
You must specify the same * privacy setting for the administrative, registrant, and technical contacts.
*Default: true
Whether you want to conceal contact information from WHOIS queries. If you
* specify true
, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* false
, WHOIS queries return the information that you entered for
* the registrant contact (domain owner).
You must specify the same * privacy setting for the administrative, registrant, and technical contacts.
*Default: true
Whether you want to conceal contact information from WHOIS queries. If you
* specify true
, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* false
, WHOIS queries return the information that you entered for
* the registrant contact (domain owner).
You must specify the same * privacy setting for the administrative, registrant, and technical contacts.
*Default: true
Whether you want to conceal contact information from WHOIS queries. If you
* specify true
, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* false
, WHOIS queries return the information that you entered for
* the technical contact.
You must specify the same privacy setting * for the administrative, registrant, and technical contacts.
*Default: true
Whether you want to conceal contact information from WHOIS queries. If you
* specify true
, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* false
, WHOIS queries return the information that you entered for
* the technical contact.
You must specify the same privacy setting * for the administrative, registrant, and technical contacts.
*Default: true
Whether you want to conceal contact information from WHOIS queries. If you
* specify true
, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* false
, WHOIS queries return the information that you entered for
* the technical contact.
You must specify the same privacy setting * for the administrative, registrant, and technical contacts.
*Default: true
Whether you want to conceal contact information from WHOIS queries. If you
* specify true
, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* false
, WHOIS queries return the information that you entered for
* the technical contact.
You must specify the same privacy setting * for the administrative, registrant, and technical contacts.
*Default: true