AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PlaceGeometry.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LocationService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LOCATIONSERVICE_API PlaceGeometry();
36 AWS_LOCATIONSERVICE_API PlaceGeometry(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LOCATIONSERVICE_API PlaceGeometry& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
49 inline const Aws::Vector<double>& GetPoint() const{ return m_point; }
50 inline bool PointHasBeenSet() const { return m_pointHasBeenSet; }
51 inline void SetPoint(const Aws::Vector<double>& value) { m_pointHasBeenSet = true; m_point = value; }
52 inline void SetPoint(Aws::Vector<double>&& value) { m_pointHasBeenSet = true; m_point = std::move(value); }
53 inline PlaceGeometry& WithPoint(const Aws::Vector<double>& value) { SetPoint(value); return *this;}
54 inline PlaceGeometry& WithPoint(Aws::Vector<double>&& value) { SetPoint(std::move(value)); return *this;}
55 inline PlaceGeometry& AddPoint(double value) { m_pointHasBeenSet = true; m_point.push_back(value); return *this; }
57 private:
58
59 Aws::Vector<double> m_point;
60 bool m_pointHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace LocationService
65} // namespace Aws
PlaceGeometry & WithPoint(Aws::Vector< double > &&value)
AWS_LOCATIONSERVICE_API PlaceGeometry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< double > & GetPoint() const
PlaceGeometry & AddPoint(double value)
PlaceGeometry & WithPoint(const Aws::Vector< double > &value)
void SetPoint(Aws::Vector< double > &&value)
AWS_LOCATIONSERVICE_API PlaceGeometry()
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPoint(const Aws::Vector< double > &value)
AWS_LOCATIONSERVICE_API PlaceGeometry(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue