/*
* 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 route53-2013-04-01.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.Route53.Model
{
///
/// Container for the parameters to the ListGeoLocations operation.
/// Retrieves a list of supported geographic locations.
///
///
///
/// Countries are listed first, and continents are listed last. If Amazon Route 53 supports
/// subdivisions for a country (for example, states or provinces), the subdivisions for
/// that country are listed in alphabetical order immediately after the corresponding
/// country.
///
///
///
/// Route 53 does not perform authorization for this API because it retrieves information
/// that is already available to the public.
///
///
///
/// For a list of supported geolocation codes, see the GeoLocation
/// data type.
///
///
public partial class ListGeoLocationsRequest : AmazonRoute53Request
{
private string _startContinentCode;
private string _startCountryCode;
private string _startSubdivisionCode;
private string _maxItems;
///
/// Gets and sets the property StartContinentCode.
///
/// The code for the continent with which you want to start listing locations that Amazon
/// Route 53 supports for geolocation. If Route 53 has already returned a page or more
/// of results, if IsTruncated
is true, and if NextContinentCode
/// from the previous response has a value, enter that value in startcontinentcode
/// to return the next page of results.
///
///
///
/// Include startcontinentcode
only if you want to list continents. Don't
/// include startcontinentcode
when you're listing countries or countries
/// with their subdivisions.
///
///
[AWSProperty(Min=2, Max=2)]
public string StartContinentCode
{
get { return this._startContinentCode; }
set { this._startContinentCode = value; }
}
// Check to see if StartContinentCode property is set
internal bool IsSetStartContinentCode()
{
return this._startContinentCode != null;
}
///
/// Gets and sets the property StartCountryCode.
///
/// The code for the country with which you want to start listing locations that Amazon
/// Route 53 supports for geolocation. If Route 53 has already returned a page or more
/// of results, if IsTruncated
is true
, and if NextCountryCode
/// from the previous response has a value, enter that value in startcountrycode
/// to return the next page of results.
///
///
[AWSProperty(Min=1, Max=2)]
public string StartCountryCode
{
get { return this._startCountryCode; }
set { this._startCountryCode = value; }
}
// Check to see if StartCountryCode property is set
internal bool IsSetStartCountryCode()
{
return this._startCountryCode != null;
}
///
/// Gets and sets the property StartSubdivisionCode.
///
/// The code for the state of the United States with which you want to start listing locations
/// that Amazon Route 53 supports for geolocation. If Route 53 has already returned a
/// page or more of results, if IsTruncated
is true
, and if
/// NextSubdivisionCode
from the previous response has a value, enter that
/// value in startsubdivisioncode
to return the next page of results.
///
///
///
/// To list subdivisions (U.S. states), you must include both startcountrycode
/// and startsubdivisioncode
.
///
///
[AWSProperty(Min=1, Max=3)]
public string StartSubdivisionCode
{
get { return this._startSubdivisionCode; }
set { this._startSubdivisionCode = value; }
}
// Check to see if StartSubdivisionCode property is set
internal bool IsSetStartSubdivisionCode()
{
return this._startSubdivisionCode != null;
}
///
/// Gets and sets the property MaxItems.
///
/// (Optional) The maximum number of geolocations to be included in the response body
/// for this request. If more than maxitems
geolocations remain to be listed,
/// then the value of the IsTruncated
element in the response is true
.
///
///
public string MaxItems
{
get { return this._maxItems; }
set { this._maxItems = value; }
}
// Check to see if MaxItems property is set
internal bool IsSetMaxItems()
{
return this._maxItems != null;
}
}
}