/*
* 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
{
///
/// A complex type containing the response information for the request.
///
public partial class ListGeoLocationsResponse : AmazonWebServiceResponse
{
private List _geoLocationDetailsList = new List();
private bool? _isTruncated;
private string _nextContinentCode;
private string _nextCountryCode;
private string _nextSubdivisionCode;
private string _maxItems;
///
/// Gets and sets the property GeoLocationDetailsList.
///
/// A complex type that contains one GeoLocationDetails
element for each
/// location that Amazon Route 53 supports for geolocation.
///
///
[AWSProperty(Required=true)]
public List GeoLocationDetailsList
{
get { return this._geoLocationDetailsList; }
set { this._geoLocationDetailsList = value; }
}
// Check to see if GeoLocationDetailsList property is set
internal bool IsSetGeoLocationDetailsList()
{
return this._geoLocationDetailsList != null && this._geoLocationDetailsList.Count > 0;
}
///
/// Gets and sets the property IsTruncated.
///
/// A value that indicates whether more locations remain to be listed after the last location
/// in this response. If so, the value of IsTruncated
is true
.
/// To get more values, submit another request and include the values of NextContinentCode
,
/// NextCountryCode
, and NextSubdivisionCode
in the startcontinentcode
,
/// startcountrycode
, and startsubdivisioncode
, as applicable.
///
///
[AWSProperty(Required=true)]
public bool IsTruncated
{
get { return this._isTruncated.GetValueOrDefault(); }
set { this._isTruncated = value; }
}
// Check to see if IsTruncated property is set
internal bool IsSetIsTruncated()
{
return this._isTruncated.HasValue;
}
///
/// Gets and sets the property NextContinentCode.
///
/// If IsTruncated
is true
, you can make a follow-up request
/// to display more locations. Enter the value of NextContinentCode
in the
/// startcontinentcode
parameter in another ListGeoLocations
/// request.
///
///
[AWSProperty(Min=2, Max=2)]
public string NextContinentCode
{
get { return this._nextContinentCode; }
set { this._nextContinentCode = value; }
}
// Check to see if NextContinentCode property is set
internal bool IsSetNextContinentCode()
{
return this._nextContinentCode != null;
}
///
/// Gets and sets the property NextCountryCode.
///
/// If IsTruncated
is true
, you can make a follow-up request
/// to display more locations. Enter the value of NextCountryCode
in the
/// startcountrycode
parameter in another ListGeoLocations
request.
///
///
[AWSProperty(Min=1, Max=2)]
public string NextCountryCode
{
get { return this._nextCountryCode; }
set { this._nextCountryCode = value; }
}
// Check to see if NextCountryCode property is set
internal bool IsSetNextCountryCode()
{
return this._nextCountryCode != null;
}
///
/// Gets and sets the property NextSubdivisionCode.
///
/// If IsTruncated
is true
, you can make a follow-up request
/// to display more locations. Enter the value of NextSubdivisionCode
in
/// the startsubdivisioncode
parameter in another ListGeoLocations
/// request.
///
///
[AWSProperty(Min=1, Max=3)]
public string NextSubdivisionCode
{
get { return this._nextSubdivisionCode; }
set { this._nextSubdivisionCode = value; }
}
// Check to see if NextSubdivisionCode property is set
internal bool IsSetNextSubdivisionCode()
{
return this._nextSubdivisionCode != null;
}
///
/// Gets and sets the property MaxItems.
///
/// The value that you specified for MaxItems
in the request.
///
///
[AWSProperty(Required=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;
}
}
}