/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Route53Domains { namespace Model { /** *

The CheckDomainTransferability request contains the following * elements.

See Also:

AWS * API Reference

*/ class CheckDomainTransferabilityRequest : public Route53DomainsRequest { public: AWS_ROUTE53DOMAINS_API CheckDomainTransferabilityRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CheckDomainTransferability"; } AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override; AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

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.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

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.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

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.

*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *

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.

*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *

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.

*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *

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.

*/ inline CheckDomainTransferabilityRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

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.

*/ inline CheckDomainTransferabilityRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

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.

*/ inline CheckDomainTransferabilityRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

If the registrar for the top-level domain (TLD) requires an authorization * code to transfer the domain, the code that you got from the current registrar * for the domain.

*/ inline const Aws::String& GetAuthCode() const{ return m_authCode; } /** *

If the registrar for the top-level domain (TLD) requires an authorization * code to transfer the domain, the code that you got from the current registrar * for the domain.

*/ inline bool AuthCodeHasBeenSet() const { return m_authCodeHasBeenSet; } /** *

If the registrar for the top-level domain (TLD) requires an authorization * code to transfer the domain, the code that you got from the current registrar * for the domain.

*/ inline void SetAuthCode(const Aws::String& value) { m_authCodeHasBeenSet = true; m_authCode = value; } /** *

If the registrar for the top-level domain (TLD) requires an authorization * code to transfer the domain, the code that you got from the current registrar * for the domain.

*/ inline void SetAuthCode(Aws::String&& value) { m_authCodeHasBeenSet = true; m_authCode = std::move(value); } /** *

If the registrar for the top-level domain (TLD) requires an authorization * code to transfer the domain, the code that you got from the current registrar * for the domain.

*/ inline void SetAuthCode(const char* value) { m_authCodeHasBeenSet = true; m_authCode.assign(value); } /** *

If the registrar for the top-level domain (TLD) requires an authorization * code to transfer the domain, the code that you got from the current registrar * for the domain.

*/ inline CheckDomainTransferabilityRequest& WithAuthCode(const Aws::String& value) { SetAuthCode(value); return *this;} /** *

If the registrar for the top-level domain (TLD) requires an authorization * code to transfer the domain, the code that you got from the current registrar * for the domain.

*/ inline CheckDomainTransferabilityRequest& WithAuthCode(Aws::String&& value) { SetAuthCode(std::move(value)); return *this;} /** *

If the registrar for the top-level domain (TLD) requires an authorization * code to transfer the domain, the code that you got from the current registrar * for the domain.

*/ inline CheckDomainTransferabilityRequest& WithAuthCode(const char* value) { SetAuthCode(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_authCode; bool m_authCodeHasBeenSet = false; }; } // namespace Model } // namespace Route53Domains } // namespace Aws