AWS SDK for C++

AWS SDK for C++ Version 1.11.687

Loading...
Searching...
No Matches
Frequency.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/groundstation/model/FrequencyUnits.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
27class Frequency {
28 public:
29 AWS_GROUNDSTATION_API Frequency() = default;
30 AWS_GROUNDSTATION_API Frequency(Aws::Utils::Json::JsonView jsonValue);
31 AWS_GROUNDSTATION_API Frequency& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline double GetValue() const { return m_value; }
40 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
41 inline void SetValue(double value) {
42 m_valueHasBeenSet = true;
43 m_value = value;
44 }
45 inline Frequency& WithValue(double value) {
46 SetValue(value);
47 return *this;
48 }
50
52
55 inline FrequencyUnits GetUnits() const { return m_units; }
56 inline bool UnitsHasBeenSet() const { return m_unitsHasBeenSet; }
57 inline void SetUnits(FrequencyUnits value) {
58 m_unitsHasBeenSet = true;
59 m_units = value;
60 }
62 SetUnits(value);
63 return *this;
64 }
66 private:
67 double m_value{0.0};
68 bool m_valueHasBeenSet = false;
69
71 bool m_unitsHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace GroundStation
76} // namespace Aws
Frequency & WithValue(double value)
Definition Frequency.h:45
AWS_GROUNDSTATION_API Frequency & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
Frequency & WithUnits(FrequencyUnits value)
Definition Frequency.h:61
AWS_GROUNDSTATION_API Frequency(Aws::Utils::Json::JsonView jsonValue)
FrequencyUnits GetUnits() const
Definition Frequency.h:55
AWS_GROUNDSTATION_API Frequency()=default
void SetUnits(FrequencyUnits value)
Definition Frequency.h:57
Aws::Utils::Json::JsonValue JsonValue