AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteAvoidanceAreaGeometry.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/Corridor.h>
9#include <aws/core/utils/memory/stl/AWSVector.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
35 {
36 public:
37 AWS_GEOROUTES_API RouteAvoidanceAreaGeometry();
40 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Corridor& GetCorridor() const{ return m_corridor; }
49 inline bool CorridorHasBeenSet() const { return m_corridorHasBeenSet; }
50 inline void SetCorridor(const Corridor& value) { m_corridorHasBeenSet = true; m_corridor = value; }
51 inline void SetCorridor(Corridor&& value) { m_corridorHasBeenSet = true; m_corridor = std::move(value); }
52 inline RouteAvoidanceAreaGeometry& WithCorridor(const Corridor& value) { SetCorridor(value); return *this;}
53 inline RouteAvoidanceAreaGeometry& WithCorridor(Corridor&& value) { SetCorridor(std::move(value)); return *this;}
55
57
63 inline const Aws::Vector<double>& GetBoundingBox() const{ return m_boundingBox; }
64 inline bool BoundingBoxHasBeenSet() const { return m_boundingBoxHasBeenSet; }
65 inline void SetBoundingBox(const Aws::Vector<double>& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = value; }
66 inline void SetBoundingBox(Aws::Vector<double>&& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = std::move(value); }
68 inline RouteAvoidanceAreaGeometry& WithBoundingBox(Aws::Vector<double>&& value) { SetBoundingBox(std::move(value)); return *this;}
69 inline RouteAvoidanceAreaGeometry& AddBoundingBox(double value) { m_boundingBoxHasBeenSet = true; m_boundingBox.push_back(value); return *this; }
71
73
76 inline const Aws::Vector<Aws::Vector<Aws::Vector<double>>>& GetPolygon() const{ return m_polygon; }
77 inline bool PolygonHasBeenSet() const { return m_polygonHasBeenSet; }
78 inline void SetPolygon(const Aws::Vector<Aws::Vector<Aws::Vector<double>>>& value) { m_polygonHasBeenSet = true; m_polygon = value; }
79 inline void SetPolygon(Aws::Vector<Aws::Vector<Aws::Vector<double>>>&& value) { m_polygonHasBeenSet = true; m_polygon = std::move(value); }
81 inline RouteAvoidanceAreaGeometry& WithPolygon(Aws::Vector<Aws::Vector<Aws::Vector<double>>>&& value) { SetPolygon(std::move(value)); return *this;}
82 inline RouteAvoidanceAreaGeometry& AddPolygon(const Aws::Vector<Aws::Vector<double>>& value) { m_polygonHasBeenSet = true; m_polygon.push_back(value); return *this; }
83 inline RouteAvoidanceAreaGeometry& AddPolygon(Aws::Vector<Aws::Vector<double>>&& value) { m_polygonHasBeenSet = true; m_polygon.push_back(std::move(value)); return *this; }
85
87
91 inline const PolylineCorridor& GetPolylineCorridor() const{ return m_polylineCorridor; }
92 inline bool PolylineCorridorHasBeenSet() const { return m_polylineCorridorHasBeenSet; }
93 inline void SetPolylineCorridor(const PolylineCorridor& value) { m_polylineCorridorHasBeenSet = true; m_polylineCorridor = value; }
94 inline void SetPolylineCorridor(PolylineCorridor&& value) { m_polylineCorridorHasBeenSet = true; m_polylineCorridor = std::move(value); }
96 inline RouteAvoidanceAreaGeometry& WithPolylineCorridor(PolylineCorridor&& value) { SetPolylineCorridor(std::move(value)); return *this;}
98
100
107 inline const Aws::Vector<Aws::String>& GetPolylinePolygon() const{ return m_polylinePolygon; }
108 inline bool PolylinePolygonHasBeenSet() const { return m_polylinePolygonHasBeenSet; }
109 inline void SetPolylinePolygon(const Aws::Vector<Aws::String>& value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon = value; }
110 inline void SetPolylinePolygon(Aws::Vector<Aws::String>&& value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon = std::move(value); }
113 inline RouteAvoidanceAreaGeometry& AddPolylinePolygon(const Aws::String& value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon.push_back(value); return *this; }
114 inline RouteAvoidanceAreaGeometry& AddPolylinePolygon(Aws::String&& value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon.push_back(std::move(value)); return *this; }
115 inline RouteAvoidanceAreaGeometry& AddPolylinePolygon(const char* value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon.push_back(value); return *this; }
117 private:
118
119 Corridor m_corridor;
120 bool m_corridorHasBeenSet = false;
121
122 Aws::Vector<double> m_boundingBox;
123 bool m_boundingBoxHasBeenSet = false;
124
126 bool m_polygonHasBeenSet = false;
127
128 PolylineCorridor m_polylineCorridor;
129 bool m_polylineCorridorHasBeenSet = false;
130
131 Aws::Vector<Aws::String> m_polylinePolygon;
132 bool m_polylinePolygonHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace GeoRoutes
137} // namespace Aws
RouteAvoidanceAreaGeometry & WithPolylineCorridor(const PolylineCorridor &value)
RouteAvoidanceAreaGeometry & AddPolylinePolygon(const char *value)
void SetPolygon(Aws::Vector< Aws::Vector< Aws::Vector< double > > > &&value)
RouteAvoidanceAreaGeometry & WithPolygon(const Aws::Vector< Aws::Vector< Aws::Vector< double > > > &value)
RouteAvoidanceAreaGeometry & WithCorridor(const Corridor &value)
RouteAvoidanceAreaGeometry & WithPolygon(Aws::Vector< Aws::Vector< Aws::Vector< double > > > &&value)
RouteAvoidanceAreaGeometry & WithPolylinePolygon(const Aws::Vector< Aws::String > &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteAvoidanceAreaGeometry & AddPolylinePolygon(const Aws::String &value)
RouteAvoidanceAreaGeometry & AddPolylinePolygon(Aws::String &&value)
RouteAvoidanceAreaGeometry & WithPolylinePolygon(Aws::Vector< Aws::String > &&value)
RouteAvoidanceAreaGeometry & AddPolygon(Aws::Vector< Aws::Vector< double > > &&value)
RouteAvoidanceAreaGeometry & WithCorridor(Corridor &&value)
RouteAvoidanceAreaGeometry & AddBoundingBox(double value)
RouteAvoidanceAreaGeometry & WithPolylineCorridor(PolylineCorridor &&value)
RouteAvoidanceAreaGeometry & WithBoundingBox(Aws::Vector< double > &&value)
void SetBoundingBox(const Aws::Vector< double > &value)
AWS_GEOROUTES_API RouteAvoidanceAreaGeometry & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteAvoidanceAreaGeometry & WithBoundingBox(const Aws::Vector< double > &value)
const Aws::Vector< Aws::Vector< Aws::Vector< double > > > & GetPolygon() const
AWS_GEOROUTES_API RouteAvoidanceAreaGeometry(Aws::Utils::Json::JsonView jsonValue)
void SetPolylinePolygon(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetPolylinePolygon() const
void SetPolygon(const Aws::Vector< Aws::Vector< Aws::Vector< double > > > &value)
RouteAvoidanceAreaGeometry & AddPolygon(const Aws::Vector< Aws::Vector< double > > &value)
void SetPolylinePolygon(const Aws::Vector< Aws::String > &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