AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Position.h
1
6#pragma once
7#include <aws/privatenetworks/PrivateNetworks_EXPORTS.h>
8#include <aws/privatenetworks/model/ElevationReference.h>
9#include <aws/privatenetworks/model/ElevationUnit.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PrivateNetworks
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_PRIVATENETWORKS_API Position();
36 AWS_PRIVATENETWORKS_API Position(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PRIVATENETWORKS_API Position& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PRIVATENETWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline double GetElevation() const{ return m_elevation; }
46 inline bool ElevationHasBeenSet() const { return m_elevationHasBeenSet; }
47 inline void SetElevation(double value) { m_elevationHasBeenSet = true; m_elevation = value; }
48 inline Position& WithElevation(double value) { SetElevation(value); return *this;}
50
52
55 inline const ElevationReference& GetElevationReference() const{ return m_elevationReference; }
56 inline bool ElevationReferenceHasBeenSet() const { return m_elevationReferenceHasBeenSet; }
57 inline void SetElevationReference(const ElevationReference& value) { m_elevationReferenceHasBeenSet = true; m_elevationReference = value; }
58 inline void SetElevationReference(ElevationReference&& value) { m_elevationReferenceHasBeenSet = true; m_elevationReference = std::move(value); }
59 inline Position& WithElevationReference(const ElevationReference& value) { SetElevationReference(value); return *this;}
60 inline Position& WithElevationReference(ElevationReference&& value) { SetElevationReference(std::move(value)); return *this;}
62
64
67 inline const ElevationUnit& GetElevationUnit() const{ return m_elevationUnit; }
68 inline bool ElevationUnitHasBeenSet() const { return m_elevationUnitHasBeenSet; }
69 inline void SetElevationUnit(const ElevationUnit& value) { m_elevationUnitHasBeenSet = true; m_elevationUnit = value; }
70 inline void SetElevationUnit(ElevationUnit&& value) { m_elevationUnitHasBeenSet = true; m_elevationUnit = std::move(value); }
71 inline Position& WithElevationUnit(const ElevationUnit& value) { SetElevationUnit(value); return *this;}
72 inline Position& WithElevationUnit(ElevationUnit&& value) { SetElevationUnit(std::move(value)); return *this;}
74
76
79 inline double GetLatitude() const{ return m_latitude; }
80 inline bool LatitudeHasBeenSet() const { return m_latitudeHasBeenSet; }
81 inline void SetLatitude(double value) { m_latitudeHasBeenSet = true; m_latitude = value; }
82 inline Position& WithLatitude(double value) { SetLatitude(value); return *this;}
84
86
89 inline double GetLongitude() const{ return m_longitude; }
90 inline bool LongitudeHasBeenSet() const { return m_longitudeHasBeenSet; }
91 inline void SetLongitude(double value) { m_longitudeHasBeenSet = true; m_longitude = value; }
92 inline Position& WithLongitude(double value) { SetLongitude(value); return *this;}
94 private:
95
96 double m_elevation;
97 bool m_elevationHasBeenSet = false;
98
99 ElevationReference m_elevationReference;
100 bool m_elevationReferenceHasBeenSet = false;
101
102 ElevationUnit m_elevationUnit;
103 bool m_elevationUnitHasBeenSet = false;
104
105 double m_latitude;
106 bool m_latitudeHasBeenSet = false;
107
108 double m_longitude;
109 bool m_longitudeHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace PrivateNetworks
114} // namespace Aws
AWS_PRIVATENETWORKS_API Position & operator=(Aws::Utils::Json::JsonView jsonValue)
Position & WithElevation(double value)
Definition Position.h:48
const ElevationReference & GetElevationReference() const
Definition Position.h:55
void SetElevationReference(ElevationReference &&value)
Definition Position.h:58
void SetElevationUnit(ElevationUnit &&value)
Definition Position.h:70
Position & WithLongitude(double value)
Definition Position.h:92
void SetElevationUnit(const ElevationUnit &value)
Definition Position.h:69
Position & WithElevationReference(ElevationReference &&value)
Definition Position.h:60
AWS_PRIVATENETWORKS_API Position()
void SetElevationReference(const ElevationReference &value)
Definition Position.h:57
Position & WithLatitude(double value)
Definition Position.h:82
Position & WithElevationUnit(const ElevationUnit &value)
Definition Position.h:71
Position & WithElevationReference(const ElevationReference &value)
Definition Position.h:59
const ElevationUnit & GetElevationUnit() const
Definition Position.h:67
Position & WithElevationUnit(ElevationUnit &&value)
Definition Position.h:72
AWS_PRIVATENETWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PRIVATENETWORKS_API Position(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue