AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteMatrixAvoidanceAreaGeometry.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/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GeoRoutes
23{
24namespace Model
25{
26
33 {
34 public:
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline const Aws::Vector<double>& GetBoundingBox() const{ return m_boundingBox; }
49 inline bool BoundingBoxHasBeenSet() const { return m_boundingBoxHasBeenSet; }
50 inline void SetBoundingBox(const Aws::Vector<double>& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = value; }
51 inline void SetBoundingBox(Aws::Vector<double>&& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = std::move(value); }
53 inline RouteMatrixAvoidanceAreaGeometry& WithBoundingBox(Aws::Vector<double>&& value) { SetBoundingBox(std::move(value)); return *this;}
54 inline RouteMatrixAvoidanceAreaGeometry& AddBoundingBox(double value) { m_boundingBoxHasBeenSet = true; m_boundingBox.push_back(value); return *this; }
56
58
61 inline const Aws::Vector<Aws::Vector<Aws::Vector<double>>>& GetPolygon() const{ return m_polygon; }
62 inline bool PolygonHasBeenSet() const { return m_polygonHasBeenSet; }
63 inline void SetPolygon(const Aws::Vector<Aws::Vector<Aws::Vector<double>>>& value) { m_polygonHasBeenSet = true; m_polygon = value; }
64 inline void SetPolygon(Aws::Vector<Aws::Vector<Aws::Vector<double>>>&& value) { m_polygonHasBeenSet = true; m_polygon = std::move(value); }
67 inline RouteMatrixAvoidanceAreaGeometry& AddPolygon(const Aws::Vector<Aws::Vector<double>>& value) { m_polygonHasBeenSet = true; m_polygon.push_back(value); return *this; }
68 inline RouteMatrixAvoidanceAreaGeometry& AddPolygon(Aws::Vector<Aws::Vector<double>>&& value) { m_polygonHasBeenSet = true; m_polygon.push_back(std::move(value)); return *this; }
70
72
79 inline const Aws::Vector<Aws::String>& GetPolylinePolygon() const{ return m_polylinePolygon; }
80 inline bool PolylinePolygonHasBeenSet() const { return m_polylinePolygonHasBeenSet; }
81 inline void SetPolylinePolygon(const Aws::Vector<Aws::String>& value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon = value; }
82 inline void SetPolylinePolygon(Aws::Vector<Aws::String>&& value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon = std::move(value); }
85 inline RouteMatrixAvoidanceAreaGeometry& AddPolylinePolygon(const Aws::String& value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon.push_back(value); return *this; }
86 inline RouteMatrixAvoidanceAreaGeometry& AddPolylinePolygon(Aws::String&& value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon.push_back(std::move(value)); return *this; }
87 inline RouteMatrixAvoidanceAreaGeometry& AddPolylinePolygon(const char* value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon.push_back(value); return *this; }
89 private:
90
91 Aws::Vector<double> m_boundingBox;
92 bool m_boundingBoxHasBeenSet = false;
93
95 bool m_polygonHasBeenSet = false;
96
97 Aws::Vector<Aws::String> m_polylinePolygon;
98 bool m_polylinePolygonHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace GeoRoutes
103} // namespace Aws
RouteMatrixAvoidanceAreaGeometry & AddPolygon(const Aws::Vector< Aws::Vector< double > > &value)
RouteMatrixAvoidanceAreaGeometry & WithBoundingBox(const Aws::Vector< double > &value)
RouteMatrixAvoidanceAreaGeometry & AddPolylinePolygon(const Aws::String &value)
RouteMatrixAvoidanceAreaGeometry & WithPolygon(const Aws::Vector< Aws::Vector< Aws::Vector< double > > > &value)
void SetPolylinePolygon(const Aws::Vector< Aws::String > &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteMatrixAvoidanceAreaGeometry & AddPolylinePolygon(const char *value)
RouteMatrixAvoidanceAreaGeometry & WithPolylinePolygon(Aws::Vector< Aws::String > &&value)
RouteMatrixAvoidanceAreaGeometry & AddPolylinePolygon(Aws::String &&value)
void SetPolygon(const Aws::Vector< Aws::Vector< Aws::Vector< double > > > &value)
void SetPolygon(Aws::Vector< Aws::Vector< Aws::Vector< double > > > &&value)
RouteMatrixAvoidanceAreaGeometry & WithPolygon(Aws::Vector< Aws::Vector< Aws::Vector< double > > > &&value)
RouteMatrixAvoidanceAreaGeometry & AddBoundingBox(double value)
RouteMatrixAvoidanceAreaGeometry & WithPolylinePolygon(const Aws::Vector< Aws::String > &value)
RouteMatrixAvoidanceAreaGeometry & AddPolygon(Aws::Vector< Aws::Vector< double > > &&value)
AWS_GEOROUTES_API RouteMatrixAvoidanceAreaGeometry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API RouteMatrixAvoidanceAreaGeometry(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::Vector< Aws::Vector< double > > > & GetPolygon() const
RouteMatrixAvoidanceAreaGeometry & WithBoundingBox(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