/*
* 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 ListPrices operation.
/// Lists the following prices for either all the TLDs supported by RouteĀ 53, or the specified
/// TLD:
///
/// -
///
/// Registration
///
///
-
///
/// Transfer
///
///
-
///
/// Owner change
///
///
-
///
/// Domain renewal
///
///
-
///
/// Domain restoration
///
///
///
public partial class ListPricesRequest : AmazonRoute53DomainsRequest
{
private string _marker;
private int? _maxItems;
private string _tld;
///
/// Gets and sets the property Marker.
///
/// For an initial request for a list of prices, omit this element. If the number of prices
/// that are not yet complete is greater than the value that you specified for MaxItems
,
/// you can use Marker
to return additional prices. Get the value of NextPageMarker
/// from the previous response, and submit another request that includes the value of
/// NextPageMarker
in the Marker
element.
///
///
///
/// Used only for all TLDs. If you specify a TLD, don't specify a Marker
.
///
///
[AWSProperty(Max=4096)]
public string Marker
{
get { return this._marker; }
set { this._marker = value; }
}
// Check to see if Marker property is set
internal bool IsSetMarker()
{
return this._marker != null;
}
///
/// Gets and sets the property MaxItems.
///
/// Number of Prices
to be returned.
///
///
///
/// Used only for all TLDs. If you specify a TLD, don't specify a MaxItems
.
///
///
[AWSProperty(Max=1000)]
public int MaxItems
{
get { return this._maxItems.GetValueOrDefault(); }
set { this._maxItems = value; }
}
// Check to see if MaxItems property is set
internal bool IsSetMaxItems()
{
return this._maxItems.HasValue;
}
///
/// Gets and sets the property Tld.
///
/// The TLD for which you want to receive the pricing information. For example. .net
.
///
///
///
/// If a Tld
value is not provided, a list of prices for all TLDs supported
/// by RouteĀ 53 is returned.
///
///
[AWSProperty(Min=2, Max=255)]
public string Tld
{
get { return this._tld; }
set { this._tld = value; }
}
// Check to see if Tld property is set
internal bool IsSetTld()
{
return this._tld != null;
}
}
}