7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
10#include <aws/geo-routes/model/Corridor.h>
11#include <aws/geo-routes/model/PolylineCorridor.h>
44 template <
typename Corr
idorT = Corr
idor>
46 m_corridorHasBeenSet =
true;
47 m_corridor = std::forward<CorridorT>(value);
49 template <
typename Corr
idorT = Corr
idor>
65 template <
typename BoundingBoxT = Aws::Vector<
double>>
67 m_boundingBoxHasBeenSet =
true;
68 m_boundingBox = std::forward<BoundingBoxT>(value);
70 template <
typename BoundingBoxT = Aws::Vector<
double>>
76 m_boundingBoxHasBeenSet =
true;
77 m_boundingBox.push_back(value);
88 template <
typename PolygonT = Aws::Vector<Aws::Vector<Aws::Vector<
double>>>>
90 m_polygonHasBeenSet =
true;
91 m_polygon = std::forward<PolygonT>(value);
93 template <
typename PolygonT = Aws::Vector<Aws::Vector<Aws::Vector<
double>>>>
98 template <
typename PolygonT = Aws::Vector<Aws::Vector<
double>>>
100 m_polygonHasBeenSet =
true;
101 m_polygon.emplace_back(std::forward<PolygonT>(value));
113 template <
typename PolylineCorr
idorT = PolylineCorr
idor>
115 m_polylineCorridorHasBeenSet =
true;
116 m_polylineCorridor = std::forward<PolylineCorridorT>(value);
118 template <
typename PolylineCorr
idorT = PolylineCorr
idor>
135 template <
typename PolylinePolygonT = Aws::Vector<Aws::String>>
137 m_polylinePolygonHasBeenSet =
true;
138 m_polylinePolygon = std::forward<PolylinePolygonT>(value);
140 template <
typename PolylinePolygonT = Aws::Vector<Aws::String>>
145 template <
typename PolylinePolygonT = Aws::String>
147 m_polylinePolygonHasBeenSet =
true;
148 m_polylinePolygon.emplace_back(std::forward<PolylinePolygonT>(value));
162 bool m_corridorHasBeenSet =
false;
163 bool m_boundingBoxHasBeenSet =
false;
164 bool m_polygonHasBeenSet =
false;
165 bool m_polylineCorridorHasBeenSet =
false;
166 bool m_polylinePolygonHasBeenSet =
false;
void SetPolygon(PolygonT &&value)
RouteAvoidanceAreaGeometry & WithPolygon(PolygonT &&value)
RouteAvoidanceAreaGeometry & WithPolylineCorridor(PolylineCorridorT &&value)
void SetCorridor(CorridorT &&value)
RouteAvoidanceAreaGeometry & WithCorridor(CorridorT &&value)
bool PolygonHasBeenSet() const
bool CorridorHasBeenSet() const
void SetPolylineCorridor(PolylineCorridorT &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteAvoidanceAreaGeometry & AddBoundingBox(double value)
RouteAvoidanceAreaGeometry & WithBoundingBox(BoundingBoxT &&value)
RouteAvoidanceAreaGeometry & WithPolylinePolygon(PolylinePolygonT &&value)
RouteAvoidanceAreaGeometry & AddPolylinePolygon(PolylinePolygonT &&value)
void SetPolylinePolygon(PolylinePolygonT &&value)
bool PolylineCorridorHasBeenSet() const
AWS_GEOROUTES_API RouteAvoidanceAreaGeometry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Corridor & GetCorridor() const
bool BoundingBoxHasBeenSet() const
const Aws::Vector< Aws::Vector< Aws::Vector< double > > > & GetPolygon() const
const Aws::Vector< double > & GetBoundingBox() const
AWS_GEOROUTES_API RouteAvoidanceAreaGeometry(Aws::Utils::Json::JsonView jsonValue)
const PolylineCorridor & GetPolylineCorridor() const
RouteAvoidanceAreaGeometry & AddPolygon(PolygonT &&value)
const Aws::Vector< Aws::String > & GetPolylinePolygon() const
void SetBoundingBox(BoundingBoxT &&value)
AWS_GEOROUTES_API RouteAvoidanceAreaGeometry()=default
bool PolylinePolygonHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue