7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/location/LocationService_EXPORTS.h>
10#include <aws/location/model/Circle.h>
21namespace LocationService {
71 template <
typename PolygonT = Aws::Vector<Aws::Vector<Aws::Vector<
double>>>>
73 m_polygonHasBeenSet =
true;
74 m_polygon = std::forward<PolygonT>(value);
76 template <
typename PolygonT = Aws::Vector<Aws::Vector<Aws::Vector<
double>>>>
81 template <
typename PolygonT = Aws::Vector<Aws::Vector<
double>>>
83 m_polygonHasBeenSet =
true;
84 m_polygon.emplace_back(std::forward<PolygonT>(value));
95 template <
typename CircleT = Circle>
97 m_circleHasBeenSet =
true;
98 m_circle = std::forward<CircleT>(value);
100 template <
typename CircleT = Circle>
129 template <
typename GeobufT = Aws::Utils::CryptoBuffer>
131 m_geobufHasBeenSet =
true;
132 m_geobuf = std::forward<GeobufT>(value);
134 template <
typename GeobufT = Aws::Utils::CryptoBuffer>
166 template <
typename MultiPolygonT = Aws::Vector<Aws::Vector<Aws::Vector<Aws::Vector<
double>>>>>
168 m_multiPolygonHasBeenSet =
true;
169 m_multiPolygon = std::forward<MultiPolygonT>(value);
171 template <
typename MultiPolygonT = Aws::Vector<Aws::Vector<Aws::Vector<Aws::Vector<
double>>>>>
176 template <
typename MultiPolygonT = Aws::Vector<Aws::Vector<Aws::Vector<
double>>>>
178 m_multiPolygonHasBeenSet =
true;
179 m_multiPolygon.emplace_back(std::forward<MultiPolygonT>(value));
191 bool m_polygonHasBeenSet =
false;
192 bool m_circleHasBeenSet =
false;
193 bool m_geobufHasBeenSet =
false;
194 bool m_multiPolygonHasBeenSet =
false;
bool MultiPolygonHasBeenSet() const
bool PolygonHasBeenSet() const
GeofenceGeometry & WithGeobuf(GeobufT &&value)
GeofenceGeometry & AddPolygon(PolygonT &&value)
AWS_LOCATIONSERVICE_API GeofenceGeometry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API GeofenceGeometry(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API GeofenceGeometry()=default
const Aws::Utils::CryptoBuffer & GetGeobuf() const
void SetMultiPolygon(MultiPolygonT &&value)
GeofenceGeometry & WithCircle(CircleT &&value)
bool CircleHasBeenSet() const
void SetPolygon(PolygonT &&value)
const Aws::Vector< Aws::Vector< Aws::Vector< double > > > & GetPolygon() const
bool GeobufHasBeenSet() const
const Circle & GetCircle() const
GeofenceGeometry & WithPolygon(PolygonT &&value)
const Aws::Vector< Aws::Vector< Aws::Vector< Aws::Vector< double > > > > & GetMultiPolygon() const
GeofenceGeometry & WithMultiPolygon(MultiPolygonT &&value)
void SetCircle(CircleT &&value)
GeofenceGeometry & AddMultiPolygon(MultiPolygonT &&value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGeobuf(GeobufT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue