AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
IsolineShapeGeometry.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
34 {
35 public:
36 AWS_GEOROUTES_API IsolineShapeGeometry() = default;
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::Vector<Aws::Vector<Aws::Vector<double>>>& GetPolygon() const { return m_polygon; }
49 inline bool PolygonHasBeenSet() const { return m_polygonHasBeenSet; }
50 template<typename PolygonT = Aws::Vector<Aws::Vector<Aws::Vector<double>>>>
51 void SetPolygon(PolygonT&& value) { m_polygonHasBeenSet = true; m_polygon = std::forward<PolygonT>(value); }
52 template<typename PolygonT = Aws::Vector<Aws::Vector<Aws::Vector<double>>>>
53 IsolineShapeGeometry& WithPolygon(PolygonT&& value) { SetPolygon(std::forward<PolygonT>(value)); return *this;}
54 template<typename PolygonT = Aws::Vector<Aws::Vector<double>>>
55 IsolineShapeGeometry& AddPolygon(PolygonT&& value) { m_polygonHasBeenSet = true; m_polygon.emplace_back(std::forward<PolygonT>(value)); return *this; }
57
59
66 inline const Aws::Vector<Aws::String>& GetPolylinePolygon() const { return m_polylinePolygon; }
67 inline bool PolylinePolygonHasBeenSet() const { return m_polylinePolygonHasBeenSet; }
68 template<typename PolylinePolygonT = Aws::Vector<Aws::String>>
69 void SetPolylinePolygon(PolylinePolygonT&& value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon = std::forward<PolylinePolygonT>(value); }
70 template<typename PolylinePolygonT = Aws::Vector<Aws::String>>
71 IsolineShapeGeometry& WithPolylinePolygon(PolylinePolygonT&& value) { SetPolylinePolygon(std::forward<PolylinePolygonT>(value)); return *this;}
72 template<typename PolylinePolygonT = Aws::String>
73 IsolineShapeGeometry& AddPolylinePolygon(PolylinePolygonT&& value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon.emplace_back(std::forward<PolylinePolygonT>(value)); return *this; }
75 private:
76
78 bool m_polygonHasBeenSet = false;
79
80 Aws::Vector<Aws::String> m_polylinePolygon;
81 bool m_polylinePolygonHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace GeoRoutes
86} // namespace Aws
AWS_GEOROUTES_API IsolineShapeGeometry(Aws::Utils::Json::JsonView jsonValue)
void SetPolylinePolygon(PolylinePolygonT &&value)
AWS_GEOROUTES_API IsolineShapeGeometry()=default
AWS_GEOROUTES_API IsolineShapeGeometry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::Vector< Aws::Vector< double > > > & GetPolygon() const
IsolineShapeGeometry & WithPolylinePolygon(PolylinePolygonT &&value)
IsolineShapeGeometry & AddPolylinePolygon(PolylinePolygonT &&value)
IsolineShapeGeometry & AddPolygon(PolygonT &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
IsolineShapeGeometry & WithPolygon(PolygonT &&value)
const Aws::Vector< Aws::String > & GetPolylinePolygon() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue