/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The CheckDomainAvailability request contains the following
* elements.See Also:
AWS
* API Reference
The name of the domain that you want to get availability for. 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
.
Internationalized domain names are * not supported for some top-level domains. To determine whether the TLD that you * want to use supports internationalized domain names, see Domains * that You Can Register with Amazon Route 53. For more information, see Formatting * Internationalized Domain Names.
*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *The name of the domain that you want to get availability for. 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
.
Internationalized domain names are * not supported for some top-level domains. To determine whether the TLD that you * want to use supports internationalized domain names, see Domains * that You Can Register with Amazon Route 53. For more information, see Formatting * Internationalized Domain Names.
*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *The name of the domain that you want to get availability for. 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
.
Internationalized domain names are * not supported for some top-level domains. To determine whether the TLD that you * want to use supports internationalized domain names, see Domains * that You Can Register with Amazon Route 53. For more information, see Formatting * Internationalized Domain Names.
*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *The name of the domain that you want to get availability for. 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
.
Internationalized domain names are * not supported for some top-level domains. To determine whether the TLD that you * want to use supports internationalized domain names, see Domains * that You Can Register with Amazon Route 53. For more information, see Formatting * Internationalized Domain Names.
*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *The name of the domain that you want to get availability for. 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
.
Internationalized domain names are * not supported for some top-level domains. To determine whether the TLD that you * want to use supports internationalized domain names, see Domains * that You Can Register with Amazon Route 53. For more information, see Formatting * Internationalized Domain Names.
*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *The name of the domain that you want to get availability for. 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
.
Internationalized domain names are * not supported for some top-level domains. To determine whether the TLD that you * want to use supports internationalized domain names, see Domains * that You Can Register with Amazon Route 53. For more information, see Formatting * Internationalized Domain Names.
*/ inline CheckDomainAvailabilityRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *The name of the domain that you want to get availability for. 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
.
Internationalized domain names are * not supported for some top-level domains. To determine whether the TLD that you * want to use supports internationalized domain names, see Domains * that You Can Register with Amazon Route 53. For more information, see Formatting * Internationalized Domain Names.
*/ inline CheckDomainAvailabilityRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *The name of the domain that you want to get availability for. 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
.
Internationalized domain names are * not supported for some top-level domains. To determine whether the TLD that you * want to use supports internationalized domain names, see Domains * that You Can Register with Amazon Route 53. For more information, see Formatting * Internationalized Domain Names.
*/ inline CheckDomainAvailabilityRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *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 CheckDomainAvailabilityRequest& WithIdnLangCode(const Aws::String& value) { SetIdnLangCode(value); return *this;} /** *Reserved for future use.
*/ inline CheckDomainAvailabilityRequest& WithIdnLangCode(Aws::String&& value) { SetIdnLangCode(std::move(value)); return *this;} /** *Reserved for future use.
*/ inline CheckDomainAvailabilityRequest& WithIdnLangCode(const char* value) { SetIdnLangCode(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_idnLangCode; bool m_idnLangCodeHasBeenSet = false; }; } // namespace Model } // namespace Route53Domains } // namespace Aws