/*
* 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
{
///
/// The CheckDomainAvailability response includes the following elements.
///
public partial class CheckDomainAvailabilityResponse : AmazonWebServiceResponse
{
private DomainAvailability _availability;
///
/// Gets and sets the property Availability.
///
/// Whether the domain name is available for registering.
///
///
///
/// You can register only domains designated as AVAILABLE
.
///
///
///
/// Valid values:
///
/// - AVAILABLE
-
///
/// The domain name is available.
///
///
- AVAILABLE_RESERVED
-
///
/// The domain name is reserved under specific conditions.
///
///
- AVAILABLE_PREORDER
-
///
/// The domain name is available and can be preordered.
///
///
- DONT_KNOW
-
///
/// The TLD registry didn't reply with a definitive answer about whether the domain name
/// is available. Route 53 can return this response for a variety of reasons, for example,
/// the registry is performing maintenance. Try again later.
///
///
- PENDING
-
///
/// The TLD registry didn't return a response in the expected amount of time. When the
/// response is delayed, it usually takes just a few extra seconds. You can resubmit the
/// request immediately.
///
///
- RESERVED
-
///
/// The domain name has been reserved for another person or organization.
///
///
- UNAVAILABLE
-
///
/// The domain name is not available.
///
///
- UNAVAILABLE_PREMIUM
-
///
/// The domain name is not available.
///
///
- UNAVAILABLE_RESTRICTED
-
///
/// The domain name is forbidden.
///
///
///
public DomainAvailability Availability
{
get { return this._availability; }
set { this._availability = value; }
}
// Check to see if Availability property is set
internal bool IsSetAvailability()
{
return this._availability != null;
}
}
}