7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/location/model/Circle.h>
10#include <aws/core/utils/Array.h>
23namespace LocationService
65 template<
typename PolygonT = Aws::Vector<Aws::Vector<Aws::Vector<
double>>>>
66 void SetPolygon(PolygonT&& value) { m_polygonHasBeenSet =
true; m_polygon = std::forward<PolygonT>(value); }
67 template<
typename PolygonT = Aws::Vector<Aws::Vector<Aws::Vector<
double>>>>
69 template<
typename PolygonT = Aws::Vector<Aws::Vector<
double>>>
70 GeofenceGeometry&
AddPolygon(PolygonT&& value) { m_polygonHasBeenSet =
true; m_polygon.emplace_back(std::forward<PolygonT>(value));
return *
this; }
79 template<
typename CircleT = Circle>
80 void SetCircle(CircleT&& value) { m_circleHasBeenSet =
true; m_circle = std::forward<CircleT>(value); }
81 template<
typename CircleT = Circle>
93 template<
typename GeobufT = Aws::Utils::CryptoBuffer>
94 void SetGeobuf(GeobufT&& value) { m_geobufHasBeenSet =
true; m_geobuf = std::forward<GeobufT>(value); }
95 template<
typename GeobufT = Aws::Utils::CryptoBuffer>
101 bool m_polygonHasBeenSet =
false;
104 bool m_circleHasBeenSet =
false;
107 bool m_geobufHasBeenSet =
false;
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
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)
void SetCircle(CircleT &&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