/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the route53domains-2014-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Route53Domains.Model
{
///
/// Container for the parameters to the CheckDomainAvailability operation.
/// This operation checks the availability of one domain name. Note that if the availability
/// status of a domain is pending, you must submit another request to determine the availability
/// of the domain name.
///
public partial class CheckDomainAvailabilityRequest : AmazonRoute53DomainsRequest
{
private string _domainName;
private string _idnLangCode;
///
/// Gets and sets the property 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.
///
///
[AWSProperty(Required=true, Max=255)]
public string DomainName
{
get { return this._domainName; }
set { this._domainName = value; }
}
// Check to see if DomainName property is set
internal bool IsSetDomainName()
{
return this._domainName != null;
}
///
/// Gets and sets the property IdnLangCode.
///
/// Reserved for future use.
///
///
[AWSProperty(Max=3)]
public string IdnLangCode
{
get { return this._idnLangCode; }
set { this._idnLangCode = value; }
}
// Check to see if IdnLangCode property is set
internal bool IsSetIdnLangCode()
{
return this._idnLangCode != null;
}
}
}