/*
* 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 location-2020-11-19.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.LocationService.Model
{
///
/// A circle on the earth, as defined by a center point and a radius.
///
public partial class Circle
{
private List _center = new List();
private double? _radius;
///
/// Gets and sets the property Center.
///
/// A single point geometry, specifying the center of the circle, using WGS
/// 84 coordinates, in the form [longitude, latitude]
.
///
///
[AWSProperty(Required=true, Sensitive=true, Min=2, Max=2)]
public List Center
{
get { return this._center; }
set { this._center = value; }
}
// Check to see if Center property is set
internal bool IsSetCenter()
{
return this._center != null && this._center.Count > 0;
}
///
/// Gets and sets the property Radius.
///
/// The radius of the circle in meters. Must be greater than zero and no larger than 100,000
/// (100 kilometers).
///
///
[AWSProperty(Required=true)]
public double Radius
{
get { return this._radius.GetValueOrDefault(); }
set { this._radius = value; }
}
// Check to see if Radius property is set
internal bool IsSetRadius()
{
return this._radius.HasValue;
}
}
}