AWS SDK for C++  1.9.66
AWS SDK for C++
Frequency.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 
32  {
33  public:
38 
39 
43  inline const FrequencyUnits& GetUnits() const{ return m_units; }
44 
48  inline bool UnitsHasBeenSet() const { return m_unitsHasBeenSet; }
49 
53  inline void SetUnits(const FrequencyUnits& value) { m_unitsHasBeenSet = true; m_units = value; }
54 
58  inline void SetUnits(FrequencyUnits&& value) { m_unitsHasBeenSet = true; m_units = std::move(value); }
59 
63  inline Frequency& WithUnits(const FrequencyUnits& value) { SetUnits(value); return *this;}
64 
68  inline Frequency& WithUnits(FrequencyUnits&& value) { SetUnits(std::move(value)); return *this;}
69 
70 
75  inline double GetValue() const{ return m_value; }
76 
81  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
82 
87  inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; }
88 
93  inline Frequency& WithValue(double value) { SetValue(value); return *this;}
94 
95  private:
96 
97  FrequencyUnits m_units;
98  bool m_unitsHasBeenSet;
99 
100  double m_value;
101  bool m_valueHasBeenSet;
102  };
103 
104 } // namespace Model
105 } // namespace GroundStation
106 } // namespace Aws
Aws::GroundStation::Model::Frequency::WithUnits
Frequency & WithUnits(const FrequencyUnits &value)
Definition: Frequency.h:63
Aws::GroundStation::Model::Frequency::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GroundStation::Model::Frequency::operator=
Frequency & operator=(Aws::Utils::Json::JsonView jsonValue)
FrequencyUnits.h
Aws::GroundStation::Model::Frequency::SetValue
void SetValue(double value)
Definition: Frequency.h:87
Aws::GroundStation::Model::Frequency::Frequency
Frequency()
Aws::GroundStation::Model::Frequency::SetUnits
void SetUnits(const FrequencyUnits &value)
Definition: Frequency.h:53
GroundStation_EXPORTS.h
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
Aws::GroundStation::Model::Frequency::Frequency
Frequency(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GroundStation::Model::Frequency::SetUnits
void SetUnits(FrequencyUnits &&value)
Definition: Frequency.h:58
Aws::GroundStation::Model::Frequency::WithUnits
Frequency & WithUnits(FrequencyUnits &&value)
Definition: Frequency.h:68
Aws::GroundStation::Model::Frequency::GetUnits
const FrequencyUnits & GetUnits() const
Definition: Frequency.h:43
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::Frequency
Definition: Frequency.h:32
Aws::GroundStation::Model::Frequency::WithValue
Frequency & WithValue(double value)
Definition: Frequency.h:93
Aws::GroundStation::Model::Frequency::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: Frequency.h:81
Aws::GroundStation::Model::FrequencyUnits
FrequencyUnits
Definition: FrequencyUnits.h:17
Aws::GroundStation::Model::Frequency::GetValue
double GetValue() const
Definition: Frequency.h:75
Aws::GroundStation::Model::Frequency::UnitsHasBeenSet
bool UnitsHasBeenSet() const
Definition: Frequency.h:48