AWS SDK for C++  1.9.66
AWS SDK for C++
FrequencyBandwidth.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 BandwidthUnits& GetUnits() const{ return m_units; }
44 
48  inline bool UnitsHasBeenSet() const { return m_unitsHasBeenSet; }
49 
53  inline void SetUnits(const BandwidthUnits& value) { m_unitsHasBeenSet = true; m_units = value; }
54 
58  inline void SetUnits(BandwidthUnits&& value) { m_unitsHasBeenSet = true; m_units = std::move(value); }
59 
63  inline FrequencyBandwidth& WithUnits(const BandwidthUnits& value) { SetUnits(value); return *this;}
64 
68  inline FrequencyBandwidth& WithUnits(BandwidthUnits&& value) { SetUnits(std::move(value)); return *this;}
69 
70 
80  inline double GetValue() const{ return m_value; }
81 
91  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
92 
102  inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; }
103 
113  inline FrequencyBandwidth& WithValue(double value) { SetValue(value); return *this;}
114 
115  private:
116 
117  BandwidthUnits m_units;
118  bool m_unitsHasBeenSet;
119 
120  double m_value;
121  bool m_valueHasBeenSet;
122  };
123 
124 } // namespace Model
125 } // namespace GroundStation
126 } // namespace Aws
Aws::GroundStation::Model::FrequencyBandwidth::FrequencyBandwidth
FrequencyBandwidth(Aws::Utils::Json::JsonView jsonValue)
Aws::GroundStation::Model::FrequencyBandwidth::SetUnits
void SetUnits(const BandwidthUnits &value)
Definition: FrequencyBandwidth.h:53
Aws::GroundStation::Model::BandwidthUnits
BandwidthUnits
Definition: BandwidthUnits.h:17
Aws::GroundStation::Model::FrequencyBandwidth::GetValue
double GetValue() const
Definition: FrequencyBandwidth.h:80
Aws::GroundStation::Model::FrequencyBandwidth::GetUnits
const BandwidthUnits & GetUnits() const
Definition: FrequencyBandwidth.h:43
GroundStation_EXPORTS.h
Aws::GroundStation::Model::FrequencyBandwidth
Definition: FrequencyBandwidth.h:32
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::GroundStation::Model::FrequencyBandwidth::operator=
FrequencyBandwidth & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GroundStation::Model::FrequencyBandwidth::UnitsHasBeenSet
bool UnitsHasBeenSet() const
Definition: FrequencyBandwidth.h:48
Aws::GroundStation::Model::FrequencyBandwidth::WithValue
FrequencyBandwidth & WithValue(double value)
Definition: FrequencyBandwidth.h:113
Aws::GroundStation::Model::FrequencyBandwidth::SetValue
void SetValue(double value)
Definition: FrequencyBandwidth.h:102
Aws::GroundStation::Model::FrequencyBandwidth::FrequencyBandwidth
FrequencyBandwidth()
Aws::GroundStation::Model::FrequencyBandwidth::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: FrequencyBandwidth.h:91
Aws::GroundStation::Model::FrequencyBandwidth::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::FrequencyBandwidth::WithUnits
FrequencyBandwidth & WithUnits(const BandwidthUnits &value)
Definition: FrequencyBandwidth.h:63
Aws::GroundStation::Model::FrequencyBandwidth::WithUnits
FrequencyBandwidth & WithUnits(BandwidthUnits &&value)
Definition: FrequencyBandwidth.h:68
BandwidthUnits.h
Aws::GroundStation::Model::FrequencyBandwidth::SetUnits
void SetUnits(BandwidthUnits &&value)
Definition: FrequencyBandwidth.h:58