/* * 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 GetDomainSuggestions operation. /// The GetDomainSuggestions operation returns a list of suggested domain names. /// public partial class GetDomainSuggestionsRequest : AmazonRoute53DomainsRequest { private string _domainName; private bool? _onlyAvailable; private int? _suggestionCount; /// /// Gets and sets the property DomainName. /// /// A domain name that you want to use as the basis for a list of possible domain names. /// 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: /// /// /// /// 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. /// /// [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 OnlyAvailable. /// /// If OnlyAvailable is true, Route 53 returns only domain names /// that are available. If OnlyAvailable is false, Route 53 /// returns domain names without checking whether they're available to be registered. /// To determine whether the domain is available, you can call checkDomainAvailability /// for each suggestion. /// /// [AWSProperty(Required=true)] public bool OnlyAvailable { get { return this._onlyAvailable.GetValueOrDefault(); } set { this._onlyAvailable = value; } } // Check to see if OnlyAvailable property is set internal bool IsSetOnlyAvailable() { return this._onlyAvailable.HasValue; } /// /// Gets and sets the property SuggestionCount. /// /// The number of suggested domain names that you want Route 53 to return. Specify a value /// between 1 and 50. /// /// [AWSProperty(Required=true)] public int SuggestionCount { get { return this._suggestionCount.GetValueOrDefault(); } set { this._suggestionCount = value; } } // Check to see if SuggestionCount property is set internal bool IsSetSuggestionCount() { return this._suggestionCount.HasValue; } } }