AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GeofenceGeometry.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/location/model/Circle.h>
10#include <aws/core/utils/Array.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 LocationService
24{
25namespace Model
26{
27
39 {
40 public:
41 AWS_LOCATIONSERVICE_API GeofenceGeometry();
42 AWS_LOCATIONSERVICE_API GeofenceGeometry(Aws::Utils::Json::JsonView jsonValue);
43 AWS_LOCATIONSERVICE_API GeofenceGeometry& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
63 inline const Aws::Vector<Aws::Vector<Aws::Vector<double>>>& GetPolygon() const{ return m_polygon; }
64 inline bool PolygonHasBeenSet() const { return m_polygonHasBeenSet; }
65 inline void SetPolygon(const Aws::Vector<Aws::Vector<Aws::Vector<double>>>& value) { m_polygonHasBeenSet = true; m_polygon = value; }
66 inline void SetPolygon(Aws::Vector<Aws::Vector<Aws::Vector<double>>>&& value) { m_polygonHasBeenSet = true; m_polygon = std::move(value); }
67 inline GeofenceGeometry& WithPolygon(const Aws::Vector<Aws::Vector<Aws::Vector<double>>>& value) { SetPolygon(value); return *this;}
68 inline GeofenceGeometry& WithPolygon(Aws::Vector<Aws::Vector<Aws::Vector<double>>>&& value) { SetPolygon(std::move(value)); return *this;}
69 inline GeofenceGeometry& AddPolygon(const Aws::Vector<Aws::Vector<double>>& value) { m_polygonHasBeenSet = true; m_polygon.push_back(value); return *this; }
70 inline GeofenceGeometry& AddPolygon(Aws::Vector<Aws::Vector<double>>&& value) { m_polygonHasBeenSet = true; m_polygon.push_back(std::move(value)); return *this; }
72
74
77 inline const Circle& GetCircle() const{ return m_circle; }
78 inline bool CircleHasBeenSet() const { return m_circleHasBeenSet; }
79 inline void SetCircle(const Circle& value) { m_circleHasBeenSet = true; m_circle = value; }
80 inline void SetCircle(Circle&& value) { m_circleHasBeenSet = true; m_circle = std::move(value); }
81 inline GeofenceGeometry& WithCircle(const Circle& value) { SetCircle(value); return *this;}
82 inline GeofenceGeometry& WithCircle(Circle&& value) { SetCircle(std::move(value)); return *this;}
84
86
91 inline const Aws::Utils::CryptoBuffer& GetGeobuf() const{ return m_geobuf; }
92 inline bool GeobufHasBeenSet() const { return m_geobufHasBeenSet; }
93 inline void SetGeobuf(const Aws::Utils::CryptoBuffer& value) { m_geobufHasBeenSet = true; m_geobuf = value; }
94 inline void SetGeobuf(Aws::Utils::CryptoBuffer&& value) { m_geobufHasBeenSet = true; m_geobuf = std::move(value); }
95 inline GeofenceGeometry& WithGeobuf(const Aws::Utils::CryptoBuffer& value) { SetGeobuf(value); return *this;}
96 inline GeofenceGeometry& WithGeobuf(Aws::Utils::CryptoBuffer&& value) { SetGeobuf(std::move(value)); return *this;}
98 private:
99
101 bool m_polygonHasBeenSet = false;
102
103 Circle m_circle;
104 bool m_circleHasBeenSet = false;
105
107 bool m_geobufHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace LocationService
112} // namespace Aws
GeofenceGeometry & AddPolygon(const Aws::Vector< Aws::Vector< double > > &value)
GeofenceGeometry & WithGeobuf(const Aws::Utils::CryptoBuffer &value)
void SetPolygon(const Aws::Vector< Aws::Vector< Aws::Vector< double > > > &value)
void SetGeobuf(const Aws::Utils::CryptoBuffer &value)
GeofenceGeometry & AddPolygon(Aws::Vector< Aws::Vector< double > > &&value)
AWS_LOCATIONSERVICE_API GeofenceGeometry & operator=(Aws::Utils::Json::JsonView jsonValue)
GeofenceGeometry & WithCircle(const Circle &value)
AWS_LOCATIONSERVICE_API GeofenceGeometry(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::CryptoBuffer & GetGeobuf() const
void SetGeobuf(Aws::Utils::CryptoBuffer &&value)
AWS_LOCATIONSERVICE_API GeofenceGeometry()
const Aws::Vector< Aws::Vector< Aws::Vector< double > > > & GetPolygon() const
GeofenceGeometry & WithPolygon(Aws::Vector< Aws::Vector< Aws::Vector< double > > > &&value)
void SetPolygon(Aws::Vector< Aws::Vector< Aws::Vector< double > > > &&value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
GeofenceGeometry & WithPolygon(const Aws::Vector< Aws::Vector< Aws::Vector< double > > > &value)
GeofenceGeometry & WithCircle(Circle &&value)
GeofenceGeometry & WithGeobuf(Aws::Utils::CryptoBuffer &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue