AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteMatrixBoundaryGeometry.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteMatrixAutoCircle.h>
9#include <aws/geo-routes/model/Circle.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GeoRoutes
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_GEOROUTES_API RouteMatrixBoundaryGeometry();
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const RouteMatrixAutoCircle& GetAutoCircle() const{ return m_autoCircle; }
47 inline bool AutoCircleHasBeenSet() const { return m_autoCircleHasBeenSet; }
48 inline void SetAutoCircle(const RouteMatrixAutoCircle& value) { m_autoCircleHasBeenSet = true; m_autoCircle = value; }
49 inline void SetAutoCircle(RouteMatrixAutoCircle&& value) { m_autoCircleHasBeenSet = true; m_autoCircle = std::move(value); }
51 inline RouteMatrixBoundaryGeometry& WithAutoCircle(RouteMatrixAutoCircle&& value) { SetAutoCircle(std::move(value)); return *this;}
53
55
60 inline const Circle& GetCircle() const{ return m_circle; }
61 inline bool CircleHasBeenSet() const { return m_circleHasBeenSet; }
62 inline void SetCircle(const Circle& value) { m_circleHasBeenSet = true; m_circle = value; }
63 inline void SetCircle(Circle&& value) { m_circleHasBeenSet = true; m_circle = std::move(value); }
64 inline RouteMatrixBoundaryGeometry& WithCircle(const Circle& value) { SetCircle(value); return *this;}
65 inline RouteMatrixBoundaryGeometry& WithCircle(Circle&& value) { SetCircle(std::move(value)); return *this;}
67
69
75 inline const Aws::Vector<double>& GetBoundingBox() const{ return m_boundingBox; }
76 inline bool BoundingBoxHasBeenSet() const { return m_boundingBoxHasBeenSet; }
77 inline void SetBoundingBox(const Aws::Vector<double>& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = value; }
78 inline void SetBoundingBox(Aws::Vector<double>&& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = std::move(value); }
80 inline RouteMatrixBoundaryGeometry& WithBoundingBox(Aws::Vector<double>&& value) { SetBoundingBox(std::move(value)); return *this;}
81 inline RouteMatrixBoundaryGeometry& AddBoundingBox(double value) { m_boundingBoxHasBeenSet = true; m_boundingBox.push_back(value); return *this; }
83
85
88 inline const Aws::Vector<Aws::Vector<Aws::Vector<double>>>& GetPolygon() const{ return m_polygon; }
89 inline bool PolygonHasBeenSet() const { return m_polygonHasBeenSet; }
90 inline void SetPolygon(const Aws::Vector<Aws::Vector<Aws::Vector<double>>>& value) { m_polygonHasBeenSet = true; m_polygon = value; }
91 inline void SetPolygon(Aws::Vector<Aws::Vector<Aws::Vector<double>>>&& value) { m_polygonHasBeenSet = true; m_polygon = std::move(value); }
94 inline RouteMatrixBoundaryGeometry& AddPolygon(const Aws::Vector<Aws::Vector<double>>& value) { m_polygonHasBeenSet = true; m_polygon.push_back(value); return *this; }
95 inline RouteMatrixBoundaryGeometry& AddPolygon(Aws::Vector<Aws::Vector<double>>&& value) { m_polygonHasBeenSet = true; m_polygon.push_back(std::move(value)); return *this; }
97 private:
98
99 RouteMatrixAutoCircle m_autoCircle;
100 bool m_autoCircleHasBeenSet = false;
101
102 Circle m_circle;
103 bool m_circleHasBeenSet = false;
104
105 Aws::Vector<double> m_boundingBox;
106 bool m_boundingBoxHasBeenSet = false;
107
109 bool m_polygonHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace GeoRoutes
114} // namespace Aws
RouteMatrixBoundaryGeometry & AddPolygon(Aws::Vector< Aws::Vector< double > > &&value)
RouteMatrixBoundaryGeometry & WithPolygon(const Aws::Vector< Aws::Vector< Aws::Vector< double > > > &value)
void SetAutoCircle(const RouteMatrixAutoCircle &value)
AWS_GEOROUTES_API RouteMatrixBoundaryGeometry & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteMatrixBoundaryGeometry & WithAutoCircle(RouteMatrixAutoCircle &&value)
RouteMatrixBoundaryGeometry & WithAutoCircle(const RouteMatrixAutoCircle &value)
void SetPolygon(Aws::Vector< Aws::Vector< Aws::Vector< double > > > &&value)
RouteMatrixBoundaryGeometry & WithBoundingBox(const Aws::Vector< double > &value)
RouteMatrixBoundaryGeometry & WithCircle(const Circle &value)
RouteMatrixBoundaryGeometry & AddBoundingBox(double value)
RouteMatrixBoundaryGeometry & AddPolygon(const Aws::Vector< Aws::Vector< double > > &value)
AWS_GEOROUTES_API RouteMatrixBoundaryGeometry(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::Vector< Aws::Vector< double > > > & GetPolygon() const
RouteMatrixBoundaryGeometry & WithBoundingBox(Aws::Vector< double > &&value)
void SetPolygon(const Aws::Vector< Aws::Vector< Aws::Vector< double > > > &value)
RouteMatrixBoundaryGeometry & WithCircle(Circle &&value)
void SetBoundingBox(const Aws::Vector< double > &value)
RouteMatrixBoundaryGeometry & WithPolygon(Aws::Vector< Aws::Vector< Aws::Vector< double > > > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue