AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename PointT = Aws::Vector<double>>
52 void SetPoint(PointT&& value) { m_pointHasBeenSet = true; m_point = std::forward<PointT>(value); }
53 template<typename PointT = Aws::Vector<double>>
54 PlaceGeometry& WithPoint(PointT&& value) { SetPoint(std::forward<PointT>(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
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