AWS SDK for C++  1.9.66
AWS SDK for C++
Elevation.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace GroundStation
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const AngleUnits& GetUnit() const{ return m_unit; }
45 
49  inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
50 
54  inline void SetUnit(const AngleUnits& value) { m_unitHasBeenSet = true; m_unit = value; }
55 
59  inline void SetUnit(AngleUnits&& value) { m_unitHasBeenSet = true; m_unit = std::move(value); }
60 
64  inline Elevation& WithUnit(const AngleUnits& value) { SetUnit(value); return *this;}
65 
69  inline Elevation& WithUnit(AngleUnits&& value) { SetUnit(std::move(value)); return *this;}
70 
71 
75  inline double GetValue() const{ return m_value; }
76 
80  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
81 
85  inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; }
86 
90  inline Elevation& WithValue(double value) { SetValue(value); return *this;}
91 
92  private:
93 
94  AngleUnits m_unit;
95  bool m_unitHasBeenSet;
96 
97  double m_value;
98  bool m_valueHasBeenSet;
99  };
100 
101 } // namespace Model
102 } // namespace GroundStation
103 } // namespace Aws
AngleUnits.h
Aws::GroundStation::Model::Elevation::SetUnit
void SetUnit(AngleUnits &&value)
Definition: Elevation.h:59
Aws::GroundStation::Model::Elevation::operator=
Elevation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GroundStation::Model::Elevation::WithUnit
Elevation & WithUnit(AngleUnits &&value)
Definition: Elevation.h:69
Aws::GroundStation::Model::Elevation::SetValue
void SetValue(double value)
Definition: Elevation.h:85
Aws::GroundStation::Model::Elevation::GetValue
double GetValue() const
Definition: Elevation.h:75
Aws::GroundStation::Model::Elevation::Elevation
Elevation(Aws::Utils::Json::JsonView jsonValue)
GroundStation_EXPORTS.h
Aws::GroundStation::Model::Elevation::WithUnit
Elevation & WithUnit(const AngleUnits &value)
Definition: Elevation.h:64
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GroundStation::Model::Elevation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GroundStation::Model::AngleUnits
AngleUnits
Definition: AngleUnits.h:17
Aws::GroundStation::Model::Elevation::SetUnit
void SetUnit(const AngleUnits &value)
Definition: Elevation.h:54
Aws::GroundStation::Model::Elevation::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: Elevation.h:80
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::Elevation::UnitHasBeenSet
bool UnitHasBeenSet() const
Definition: Elevation.h:49
Aws::GroundStation::Model::Elevation::GetUnit
const AngleUnits & GetUnit() const
Definition: Elevation.h:44
Aws::GroundStation::Model::Elevation::Elevation
Elevation()
Aws::GroundStation::Model::Elevation::WithValue
Elevation & WithValue(double value)
Definition: Elevation.h:90
Aws::GroundStation::Model::Elevation
Definition: Elevation.h:33