AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
PlaceGeometry.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/location/LocationService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LocationService {
20namespace Model {
21
29 public:
30 AWS_LOCATIONSERVICE_API PlaceGeometry() = default;
31 AWS_LOCATIONSERVICE_API PlaceGeometry(Aws::Utils::Json::JsonView jsonValue);
32 AWS_LOCATIONSERVICE_API PlaceGeometry& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
43 inline const Aws::Vector<double>& GetPoint() const { return m_point; }
44 inline bool PointHasBeenSet() const { return m_pointHasBeenSet; }
45 template <typename PointT = Aws::Vector<double>>
46 void SetPoint(PointT&& value) {
47 m_pointHasBeenSet = true;
48 m_point = std::forward<PointT>(value);
49 }
50 template <typename PointT = Aws::Vector<double>>
51 PlaceGeometry& WithPoint(PointT&& value) {
52 SetPoint(std::forward<PointT>(value));
53 return *this;
54 }
55 inline PlaceGeometry& AddPoint(double value) {
56 m_pointHasBeenSet = true;
57 m_point.push_back(value);
58 return *this;
59 }
61 private:
62 Aws::Vector<double> m_point;
63 bool m_pointHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace LocationService
68} // namespace Aws
AWS_LOCATIONSERVICE_API PlaceGeometry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< double > & GetPoint() const
PlaceGeometry & AddPoint(double value)
PlaceGeometry & WithPoint(PointT &&value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOCATIONSERVICE_API PlaceGeometry()=default
AWS_LOCATIONSERVICE_API PlaceGeometry(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue