7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace LocationService
35 AWS_LOCATIONSERVICE_API
Circle() =
default;
49 template<
typename CenterT = Aws::Vector<
double>>
50 void SetCenter(CenterT&& value) { m_centerHasBeenSet =
true; m_center = std::forward<CenterT>(value); }
51 template<
typename CenterT = Aws::Vector<
double>>
53 inline Circle&
AddCenter(
double value) { m_centerHasBeenSet =
true; m_center.push_back(value);
return *
this; }
61 inline double GetRadius()
const {
return m_radius; }
63 inline void SetRadius(
double value) { m_radiusHasBeenSet =
true; m_radius = value; }
69 bool m_centerHasBeenSet =
false;
72 bool m_radiusHasBeenSet =
false;
const Aws::Vector< double > & GetCenter() const
Circle & AddCenter(double value)
AWS_LOCATIONSERVICE_API Circle()=default
Circle & WithRadius(double value)
bool CenterHasBeenSet() const
AWS_LOCATIONSERVICE_API Circle(Aws::Utils::Json::JsonView jsonValue)
bool RadiusHasBeenSet() const
Circle & WithCenter(CenterT &&value)
void SetCenter(CenterT &&value)
AWS_LOCATIONSERVICE_API Circle & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRadius(double value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue