AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPolygon(const Aws::Vector<Aws::Vector<Aws::Vector<double>>>& value) { m_polygonHasBeenSet = true; m_polygon = value; }
51 inline void SetPolygon(Aws::Vector<Aws::Vector<Aws::Vector<double>>>&& value) { m_polygonHasBeenSet = true; m_polygon = std::move(value); }
53 inline IsolineShapeGeometry& WithPolygon(Aws::Vector<Aws::Vector<Aws::Vector<double>>>&& value) { SetPolygon(std::move(value)); return *this;}
54 inline IsolineShapeGeometry& AddPolygon(const Aws::Vector<Aws::Vector<double>>& value) { m_polygonHasBeenSet = true; m_polygon.push_back(value); return *this; }
55 inline IsolineShapeGeometry& AddPolygon(Aws::Vector<Aws::Vector<double>>&& value) { m_polygonHasBeenSet = true; m_polygon.push_back(std::move(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 inline void SetPolylinePolygon(const Aws::Vector<Aws::String>& value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon = value; }
69 inline void SetPolylinePolygon(Aws::Vector<Aws::String>&& value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon = std::move(value); }
71 inline IsolineShapeGeometry& WithPolylinePolygon(Aws::Vector<Aws::String>&& value) { SetPolylinePolygon(std::move(value)); return *this;}
72 inline IsolineShapeGeometry& AddPolylinePolygon(const Aws::String& value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon.push_back(value); return *this; }
73 inline IsolineShapeGeometry& AddPolylinePolygon(Aws::String&& value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon.push_back(std::move(value)); return *this; }
74 inline IsolineShapeGeometry& AddPolylinePolygon(const char* value) { m_polylinePolygonHasBeenSet = true; m_polylinePolygon.push_back(value); return *this; }
76 private:
77
79 bool m_polygonHasBeenSet = false;
80
81 Aws::Vector<Aws::String> m_polylinePolygon;
82 bool m_polylinePolygonHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace GeoRoutes
87} // namespace Aws
AWS_GEOROUTES_API IsolineShapeGeometry(Aws::Utils::Json::JsonView jsonValue)
IsolineShapeGeometry & WithPolygon(Aws::Vector< Aws::Vector< Aws::Vector< double > > > &&value)
IsolineShapeGeometry & AddPolylinePolygon(Aws::String &&value)
void SetPolylinePolygon(const Aws::Vector< Aws::String > &value)
IsolineShapeGeometry & WithPolygon(const Aws::Vector< Aws::Vector< Aws::Vector< double > > > &value)
AWS_GEOROUTES_API IsolineShapeGeometry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::Vector< Aws::Vector< double > > > & GetPolygon() const
void SetPolygon(const Aws::Vector< Aws::Vector< Aws::Vector< double > > > &value)
IsolineShapeGeometry & WithPolylinePolygon(const Aws::Vector< Aws::String > &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
IsolineShapeGeometry & AddPolylinePolygon(const Aws::String &value)
IsolineShapeGeometry & WithPolylinePolygon(Aws::Vector< Aws::String > &&value)
IsolineShapeGeometry & AddPolygon(const Aws::Vector< Aws::Vector< double > > &value)
void SetPolylinePolygon(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetPolylinePolygon() const
void SetPolygon(Aws::Vector< Aws::Vector< Aws::Vector< double > > > &&value)
IsolineShapeGeometry & AddPolygon(Aws::Vector< Aws::Vector< double > > &&value)
IsolineShapeGeometry & AddPolylinePolygon(const char *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