AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
Elevation.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/groundstation/model/AngleUnits.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GroundStation {
20namespace Model {
21
28class Elevation {
29 public:
30 AWS_GROUNDSTATION_API Elevation() = default;
31 AWS_GROUNDSTATION_API Elevation(Aws::Utils::Json::JsonView jsonValue);
32 AWS_GROUNDSTATION_API Elevation& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline double GetValue() const { return m_value; }
40 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
41 inline void SetValue(double value) {
42 m_valueHasBeenSet = true;
43 m_value = value;
44 }
45 inline Elevation& WithValue(double value) {
46 SetValue(value);
47 return *this;
48 }
50
52
55 inline AngleUnits GetUnit() const { return m_unit; }
56 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
57 inline void SetUnit(AngleUnits value) {
58 m_unitHasBeenSet = true;
59 m_unit = value;
60 }
61 inline Elevation& WithUnit(AngleUnits value) {
62 SetUnit(value);
63 return *this;
64 }
66 private:
67 double m_value{0.0};
68 bool m_valueHasBeenSet = false;
69
71 bool m_unitHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace GroundStation
76} // namespace Aws
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
Elevation & WithValue(double value)
Definition Elevation.h:45
AWS_GROUNDSTATION_API Elevation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUnit(AngleUnits value)
Definition Elevation.h:57
AWS_GROUNDSTATION_API Elevation(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API Elevation()=default
Elevation & WithUnit(AngleUnits value)
Definition Elevation.h:61
Aws::Utils::Json::JsonValue JsonValue