AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IsolineAvoidanceAreaGeometry.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/model/Corridor.h>
10#include <aws/geo-routes/model/PolylineCorridor.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace GeoRoutes
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_GEOROUTES_API IsolineAvoidanceAreaGeometry();
41 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const Aws::Vector<double>& GetBoundingBox() const{ return m_boundingBox; }
52 inline bool BoundingBoxHasBeenSet() const { return m_boundingBoxHasBeenSet; }
53 inline void SetBoundingBox(const Aws::Vector<double>& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = value; }
54 inline void SetBoundingBox(Aws::Vector<double>&& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = std::move(value); }
56 inline IsolineAvoidanceAreaGeometry& WithBoundingBox(Aws::Vector<double>&& value) { SetBoundingBox(std::move(value)); return *this;}
57 inline IsolineAvoidanceAreaGeometry& AddBoundingBox(double value) { m_boundingBoxHasBeenSet = true; m_boundingBox.push_back(value); return *this; }
59
61
65 inline const Corridor& GetCorridor() const{ return m_corridor; }
66 inline bool CorridorHasBeenSet() const { return m_corridorHasBeenSet; }
67 inline void SetCorridor(const Corridor& value) { m_corridorHasBeenSet = true; m_corridor = value; }
68 inline void SetCorridor(Corridor&& value) { m_corridorHasBeenSet = true; m_corridor = std::move(value); }
69 inline IsolineAvoidanceAreaGeometry& WithCorridor(const Corridor& value) { SetCorridor(value); return *this;}
70 inline IsolineAvoidanceAreaGeometry& WithCorridor(Corridor&& value) { SetCorridor(std::move(value)); return *this;}
72
74
78 inline const Aws::Vector<Aws::Vector<Aws::Vector<double>>>& GetPolygon() const{ return m_polygon; }
79 inline bool PolygonHasBeenSet() const { return m_polygonHasBeenSet; }
80 inline void SetPolygon(const Aws::Vector<Aws::Vector<Aws::Vector<double>>>& value) { m_polygonHasBeenSet = true; m_polygon = value; }
81 inline void SetPolygon(Aws::Vector<Aws::Vector<Aws::Vector<double>>>&& value) { m_polygonHasBeenSet = true; m_polygon = std::move(value); }
84 inline IsolineAvoidanceAreaGeometry& AddPolygon(const Aws::Vector<Aws::Vector<double>>& value) { m_polygonHasBeenSet = true; m_polygon.push_back(value); return *this; }
85 inline IsolineAvoidanceAreaGeometry& AddPolygon(Aws::Vector<Aws::Vector<double>>&& value) { m_polygonHasBeenSet = true; m_polygon.push_back(std::move(value)); return *this; }
87
89
95 inline const PolylineCorridor& GetPolylineCorridor() const{ return m_polylineCorridor; }
96 inline bool PolylineCorridorHasBeenSet() const { return m_polylineCorridorHasBeenSet; }
97 inline void SetPolylineCorridor(const PolylineCorridor& value) { m_polylineCorridorHasBeenSet = true; m_polylineCorridor = value; }
98 inline void SetPolylineCorridor(PolylineCorridor&& value) { m_polylineCorridorHasBeenSet = true; m_polylineCorridor = std::move(value); }
102
104
111 inline const Aws::Vector<Aws::String>& GetPolylinePolygon() const{ return m_polylinePolygon; }
112 inline bool PolylinePolygonHasBeenSet() const { return m_polylinePolygonHasBeenSet; }
113 inline void SetPolylinePolygon(const Aws::Vector<Aws::String>& value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon = value; }
114 inline void SetPolylinePolygon(Aws::Vector<Aws::String>&& value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon = std::move(value); }
117 inline IsolineAvoidanceAreaGeometry& AddPolylinePolygon(const Aws::String& value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon.push_back(value); return *this; }
118 inline IsolineAvoidanceAreaGeometry& AddPolylinePolygon(Aws::String&& value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon.push_back(std::move(value)); return *this; }
119 inline IsolineAvoidanceAreaGeometry& AddPolylinePolygon(const char* value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon.push_back(value); return *this; }
121 private:
122
123 Aws::Vector<double> m_boundingBox;
124 bool m_boundingBoxHasBeenSet = false;
125
126 Corridor m_corridor;
127 bool m_corridorHasBeenSet = false;
128
130 bool m_polygonHasBeenSet = false;
131
132 PolylineCorridor m_polylineCorridor;
133 bool m_polylineCorridorHasBeenSet = false;
134
135 Aws::Vector<Aws::String> m_polylinePolygon;
136 bool m_polylinePolygonHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace GeoRoutes
141} // namespace Aws
AWS_GEOROUTES_API IsolineAvoidanceAreaGeometry & operator=(Aws::Utils::Json::JsonView jsonValue)
IsolineAvoidanceAreaGeometry & AddPolygon(const Aws::Vector< Aws::Vector< double > > &value)
IsolineAvoidanceAreaGeometry & WithBoundingBox(const Aws::Vector< double > &value)
IsolineAvoidanceAreaGeometry & WithPolygon(Aws::Vector< Aws::Vector< Aws::Vector< double > > > &&value)
IsolineAvoidanceAreaGeometry & WithPolylineCorridor(const PolylineCorridor &value)
const Aws::Vector< Aws::String > & GetPolylinePolygon() const
const Aws::Vector< Aws::Vector< Aws::Vector< double > > > & GetPolygon() const
void SetPolygon(const Aws::Vector< Aws::Vector< Aws::Vector< double > > > &value)
IsolineAvoidanceAreaGeometry & AddPolylinePolygon(Aws::String &&value)
void SetPolygon(Aws::Vector< Aws::Vector< Aws::Vector< double > > > &&value)
IsolineAvoidanceAreaGeometry & WithCorridor(Corridor &&value)
void SetPolylinePolygon(const Aws::Vector< Aws::String > &value)
IsolineAvoidanceAreaGeometry & WithPolygon(const Aws::Vector< Aws::Vector< Aws::Vector< double > > > &value)
IsolineAvoidanceAreaGeometry & AddPolylinePolygon(const Aws::String &value)
IsolineAvoidanceAreaGeometry & AddBoundingBox(double value)
AWS_GEOROUTES_API IsolineAvoidanceAreaGeometry(Aws::Utils::Json::JsonView jsonValue)
IsolineAvoidanceAreaGeometry & WithPolylinePolygon(const Aws::Vector< Aws::String > &value)
IsolineAvoidanceAreaGeometry & WithPolylineCorridor(PolylineCorridor &&value)
void SetPolylinePolygon(Aws::Vector< Aws::String > &&value)
IsolineAvoidanceAreaGeometry & AddPolylinePolygon(const char *value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
IsolineAvoidanceAreaGeometry & WithBoundingBox(Aws::Vector< double > &&value)
IsolineAvoidanceAreaGeometry & WithPolylinePolygon(Aws::Vector< Aws::String > &&value)
IsolineAvoidanceAreaGeometry & WithCorridor(const Corridor &value)
IsolineAvoidanceAreaGeometry & AddPolygon(Aws::Vector< Aws::Vector< double > > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue