AWS SDK for C++

AWS SDK for C++ Version 1.11.740

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