AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FrequencyBandwidth.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/groundstation/model/BandwidthUnits.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GroundStation
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_GROUNDSTATION_API FrequencyBandwidth();
35 AWS_GROUNDSTATION_API FrequencyBandwidth(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GROUNDSTATION_API FrequencyBandwidth& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const BandwidthUnits& GetUnits() const{ return m_units; }
45 inline bool UnitsHasBeenSet() const { return m_unitsHasBeenSet; }
46 inline void SetUnits(const BandwidthUnits& value) { m_unitsHasBeenSet = true; m_units = value; }
47 inline void SetUnits(BandwidthUnits&& value) { m_unitsHasBeenSet = true; m_units = std::move(value); }
48 inline FrequencyBandwidth& WithUnits(const BandwidthUnits& value) { SetUnits(value); return *this;}
49 inline FrequencyBandwidth& WithUnits(BandwidthUnits&& value) { SetUnits(std::move(value)); return *this;}
51
53
62 inline double GetValue() const{ return m_value; }
63 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
64 inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; }
65 inline FrequencyBandwidth& WithValue(double value) { SetValue(value); return *this;}
67 private:
68
69 BandwidthUnits m_units;
70 bool m_unitsHasBeenSet = false;
71
72 double m_value;
73 bool m_valueHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace GroundStation
78} // namespace Aws
AWS_GROUNDSTATION_API FrequencyBandwidth(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API FrequencyBandwidth & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUnits(const BandwidthUnits &value)
FrequencyBandwidth & WithUnits(const BandwidthUnits &value)
FrequencyBandwidth & WithValue(double value)
FrequencyBandwidth & WithUnits(BandwidthUnits &&value)
Aws::Utils::Json::JsonValue JsonValue