AWS SDK for C++  1.9.66
AWS SDK for C++
Eirp.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:
34  Eirp();
38 
39 
43  inline const EirpUnits& GetUnits() const{ return m_units; }
44 
48  inline bool UnitsHasBeenSet() const { return m_unitsHasBeenSet; }
49 
53  inline void SetUnits(const EirpUnits& value) { m_unitsHasBeenSet = true; m_units = value; }
54 
58  inline void SetUnits(EirpUnits&& value) { m_unitsHasBeenSet = true; m_units = std::move(value); }
59 
63  inline Eirp& WithUnits(const EirpUnits& value) { SetUnits(value); return *this;}
64 
68  inline Eirp& WithUnits(EirpUnits&& value) { SetUnits(std::move(value)); return *this;}
69 
70 
74  inline double GetValue() const{ return m_value; }
75 
79  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
80 
84  inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; }
85 
89  inline Eirp& WithValue(double value) { SetValue(value); return *this;}
90 
91  private:
92 
93  EirpUnits m_units;
94  bool m_unitsHasBeenSet;
95 
96  double m_value;
97  bool m_valueHasBeenSet;
98  };
99 
100 } // namespace Model
101 } // namespace GroundStation
102 } // namespace Aws
Aws::GroundStation::Model::Eirp::Eirp
Eirp(Aws::Utils::Json::JsonView jsonValue)
Aws::GroundStation::Model::Eirp::WithValue
Eirp & WithValue(double value)
Definition: Eirp.h:89
Aws::GroundStation::Model::Eirp::SetUnits
void SetUnits(const EirpUnits &value)
Definition: Eirp.h:53
Aws::GroundStation::Model::Eirp::SetUnits
void SetUnits(EirpUnits &&value)
Definition: Eirp.h:58
Aws::GroundStation::Model::Eirp::operator=
Eirp & operator=(Aws::Utils::Json::JsonView jsonValue)
GroundStation_EXPORTS.h
Aws::GroundStation::Model::Eirp::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GroundStation::Model::Eirp::Eirp
Eirp()
Aws::GroundStation::Model::Eirp::SetValue
void SetValue(double value)
Definition: Eirp.h:84
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::Eirp::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: Eirp.h:79
EirpUnits.h
Aws::GroundStation::Model::Eirp::UnitsHasBeenSet
bool UnitsHasBeenSet() const
Definition: Eirp.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::Eirp::WithUnits
Eirp & WithUnits(EirpUnits &&value)
Definition: Eirp.h:68
Aws::GroundStation::Model::Eirp::GetUnits
const EirpUnits & GetUnits() const
Definition: Eirp.h:43
Aws::GroundStation::Model::Eirp::GetValue
double GetValue() const
Definition: Eirp.h:74
Aws::GroundStation::Model::Eirp::WithUnits
Eirp & WithUnits(const EirpUnits &value)
Definition: Eirp.h:63
Aws::GroundStation::Model::Eirp
Definition: Eirp.h:32
Aws::GroundStation::Model::EirpUnits
EirpUnits
Definition: EirpUnits.h:17