AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccessPoint.h
1
6#pragma once
7#include <aws/geo-places/GeoPlaces_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 GeoPlaces
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GEOPLACES_API AccessPoint();
36 AWS_GEOPLACES_API AccessPoint(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GEOPLACES_API AccessPoint& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<double>& GetPosition() const{ return m_position; }
46 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
47 inline void SetPosition(const Aws::Vector<double>& value) { m_positionHasBeenSet = true; m_position = value; }
48 inline void SetPosition(Aws::Vector<double>&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
49 inline AccessPoint& WithPosition(const Aws::Vector<double>& value) { SetPosition(value); return *this;}
50 inline AccessPoint& WithPosition(Aws::Vector<double>&& value) { SetPosition(std::move(value)); return *this;}
51 inline AccessPoint& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; }
53 private:
54
55 Aws::Vector<double> m_position;
56 bool m_positionHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace GeoPlaces
61} // namespace Aws
AccessPoint & WithPosition(const Aws::Vector< double > &value)
Definition AccessPoint.h:49
const Aws::Vector< double > & GetPosition() const
Definition AccessPoint.h:45
void SetPosition(const Aws::Vector< double > &value)
Definition AccessPoint.h:47
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPosition(Aws::Vector< double > &&value)
Definition AccessPoint.h:48
AWS_GEOPLACES_API AccessPoint(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOPLACES_API AccessPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AccessPoint & AddPosition(double value)
Definition AccessPoint.h:51
AccessPoint & WithPosition(Aws::Vector< double > &&value)
Definition AccessPoint.h:50
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue