AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#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 Frequency();
35 AWS_GROUNDSTATION_API Frequency(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GROUNDSTATION_API Frequency& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const FrequencyUnits& GetUnits() const{ return m_units; }
45 inline bool UnitsHasBeenSet() const { return m_unitsHasBeenSet; }
46 inline void SetUnits(const FrequencyUnits& value) { m_unitsHasBeenSet = true; m_units = value; }
47 inline void SetUnits(FrequencyUnits&& value) { m_unitsHasBeenSet = true; m_units = std::move(value); }
48 inline Frequency& WithUnits(const FrequencyUnits& value) { SetUnits(value); return *this;}
49 inline Frequency& WithUnits(FrequencyUnits&& value) { SetUnits(std::move(value)); return *this;}
51
53
57 inline double GetValue() const{ return m_value; }
58 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
59 inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; }
60 inline Frequency& WithValue(double value) { SetValue(value); return *this;}
62 private:
63
64 FrequencyUnits m_units;
65 bool m_unitsHasBeenSet = false;
66
67 double m_value;
68 bool m_valueHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace GroundStation
73} // namespace Aws
Frequency & WithUnits(FrequencyUnits &&value)
Definition Frequency.h:49
const FrequencyUnits & GetUnits() const
Definition Frequency.h:44
void SetUnits(const FrequencyUnits &value)
Definition Frequency.h:46
Frequency & WithValue(double value)
Definition Frequency.h:60
AWS_GROUNDSTATION_API Frequency & operator=(Aws::Utils::Json::JsonView jsonValue)
Frequency & WithUnits(const FrequencyUnits &value)
Definition Frequency.h:48
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GROUNDSTATION_API Frequency(Aws::Utils::Json::JsonView jsonValue)
void SetUnits(FrequencyUnits &&value)
Definition Frequency.h:47
AWS_GROUNDSTATION_API Frequency()
Aws::Utils::Json::JsonValue JsonValue