7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
32 AWS_GEOROUTES_API
Circle() =
default;
45 template <
typename CenterT = Aws::Vector<
double>>
47 m_centerHasBeenSet =
true;
48 m_center = std::forward<CenterT>(value);
50 template <
typename CenterT = Aws::Vector<
double>>
56 m_centerHasBeenSet =
true;
57 m_center.push_back(value);
66 inline double GetRadius()
const {
return m_radius; }
69 m_radiusHasBeenSet =
true;
81 bool m_centerHasBeenSet =
false;
82 bool m_radiusHasBeenSet =
false;
Circle & WithRadius(double value)
Circle & AddCenter(double value)
void SetCenter(CenterT &&value)
AWS_GEOROUTES_API Circle(Aws::Utils::Json::JsonView jsonValue)
bool RadiusHasBeenSet() const
bool CenterHasBeenSet() const
AWS_GEOROUTES_API Circle()=default
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRadius(double value)
const Aws::Vector< double > & GetCenter() const
AWS_GEOROUTES_API Circle & operator=(Aws::Utils::Json::JsonView jsonValue)
Circle & WithCenter(CenterT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue