AWS SDK for C++

AWS SDK for C++ Version 1.11.740

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GroundStation {
20namespace Model {
21
28 public:
29 AWS_GROUNDSTATION_API FrequencyBandwidth() = default;
30 AWS_GROUNDSTATION_API FrequencyBandwidth(Aws::Utils::Json::JsonView jsonValue);
31 AWS_GROUNDSTATION_API FrequencyBandwidth& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
44 inline double GetValue() const { return m_value; }
45 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
46 inline void SetValue(double value) {
47 m_valueHasBeenSet = true;
48 m_value = value;
49 }
50 inline FrequencyBandwidth& WithValue(double value) {
51 SetValue(value);
52 return *this;
53 }
55
57
60 inline BandwidthUnits GetUnits() const { return m_units; }
61 inline bool UnitsHasBeenSet() const { return m_unitsHasBeenSet; }
62 inline void SetUnits(BandwidthUnits value) {
63 m_unitsHasBeenSet = true;
64 m_units = value;
65 }
67 SetUnits(value);
68 return *this;
69 }
71 private:
72 double m_value{0.0};
73
75 bool m_valueHasBeenSet = false;
76 bool m_unitsHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace GroundStation
81} // namespace Aws
FrequencyBandwidth & WithUnits(BandwidthUnits value)
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
AWS_GROUNDSTATION_API FrequencyBandwidth()=default
FrequencyBandwidth & WithValue(double value)
Aws::Utils::Json::JsonValue JsonValue