AWS SDK for C++  1.9.159
AWS SDK for C++
GeofenceGeometry.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace LocationService
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
54  inline const Aws::Vector<Aws::Vector<Aws::Vector<double>>>& GetPolygon() const{ return m_polygon; }
55 
67  inline bool PolygonHasBeenSet() const { return m_polygonHasBeenSet; }
68 
80  inline void SetPolygon(const Aws::Vector<Aws::Vector<Aws::Vector<double>>>& value) { m_polygonHasBeenSet = true; m_polygon = value; }
81 
93  inline void SetPolygon(Aws::Vector<Aws::Vector<Aws::Vector<double>>>&& value) { m_polygonHasBeenSet = true; m_polygon = std::move(value); }
94 
106  inline GeofenceGeometry& WithPolygon(const Aws::Vector<Aws::Vector<Aws::Vector<double>>>& value) { SetPolygon(value); return *this;}
107 
119  inline GeofenceGeometry& WithPolygon(Aws::Vector<Aws::Vector<Aws::Vector<double>>>&& value) { SetPolygon(std::move(value)); return *this;}
120 
132  inline GeofenceGeometry& AddPolygon(const Aws::Vector<Aws::Vector<double>>& value) { m_polygonHasBeenSet = true; m_polygon.push_back(value); return *this; }
133 
145  inline GeofenceGeometry& AddPolygon(Aws::Vector<Aws::Vector<double>>&& value) { m_polygonHasBeenSet = true; m_polygon.push_back(std::move(value)); return *this; }
146 
147  private:
148 
150  bool m_polygonHasBeenSet;
151  };
152 
153 } // namespace Model
154 } // namespace LocationService
155 } // namespace Aws
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::LocationService::Model::GeofenceGeometry::SetPolygon
void SetPolygon(const Aws::Vector< Aws::Vector< Aws::Vector< double >>> &value)
Definition: GeofenceGeometry.h:80
AWSVector.h
AWS_LOCATIONSERVICE_API
#define AWS_LOCATIONSERVICE_API
Definition: LocationService_EXPORTS.h:28
Aws::LocationService::Model::GeofenceGeometry::SetPolygon
void SetPolygon(Aws::Vector< Aws::Vector< Aws::Vector< double >>> &&value)
Definition: GeofenceGeometry.h:93
Aws::LocationService::Model::GeofenceGeometry::GeofenceGeometry
GeofenceGeometry(Aws::Utils::Json::JsonView jsonValue)
Aws::LocationService::Model::GeofenceGeometry::PolygonHasBeenSet
bool PolygonHasBeenSet() const
Definition: GeofenceGeometry.h:67
LocationService_EXPORTS.h
Aws::LocationService::Model::GeofenceGeometry
Definition: GeofenceGeometry.h:35
Aws::LocationService::Model::GeofenceGeometry::GetPolygon
const Aws::Vector< Aws::Vector< Aws::Vector< double > > > & GetPolygon() const
Definition: GeofenceGeometry.h:54
Aws::LocationService::Model::GeofenceGeometry::WithPolygon
GeofenceGeometry & WithPolygon(Aws::Vector< Aws::Vector< Aws::Vector< double >>> &&value)
Definition: GeofenceGeometry.h:119
Aws::LocationService::Model::GeofenceGeometry::AddPolygon
GeofenceGeometry & AddPolygon(const Aws::Vector< Aws::Vector< double >> &value)
Definition: GeofenceGeometry.h:132
Aws::LocationService::Model::GeofenceGeometry::operator=
GeofenceGeometry & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::LocationService::Model::GeofenceGeometry::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::LocationService::Model::GeofenceGeometry::GeofenceGeometry
GeofenceGeometry()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::LocationService::Model::GeofenceGeometry::WithPolygon
GeofenceGeometry & WithPolygon(const Aws::Vector< Aws::Vector< Aws::Vector< double >>> &value)
Definition: GeofenceGeometry.h:106
Aws::LocationService::Model::GeofenceGeometry::AddPolygon
GeofenceGeometry & AddPolygon(Aws::Vector< Aws::Vector< double >> &&value)
Definition: GeofenceGeometry.h:145