AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GsmNmrObj.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/model/GlobalIdentity.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTWireless {
20namespace Model {
21
27class GsmNmrObj {
28 public:
29 AWS_IOTWIRELESS_API GsmNmrObj() = default;
30 AWS_IOTWIRELESS_API GsmNmrObj(Aws::Utils::Json::JsonView jsonValue);
31 AWS_IOTWIRELESS_API GsmNmrObj& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline int GetBsic() const { return m_bsic; }
39 inline bool BsicHasBeenSet() const { return m_bsicHasBeenSet; }
40 inline void SetBsic(int value) {
41 m_bsicHasBeenSet = true;
42 m_bsic = value;
43 }
44 inline GsmNmrObj& WithBsic(int value) {
45 SetBsic(value);
46 return *this;
47 }
49
51
54 inline int GetBcch() const { return m_bcch; }
55 inline bool BcchHasBeenSet() const { return m_bcchHasBeenSet; }
56 inline void SetBcch(int value) {
57 m_bcchHasBeenSet = true;
58 m_bcch = value;
59 }
60 inline GsmNmrObj& WithBcch(int value) {
61 SetBcch(value);
62 return *this;
63 }
65
67
71 inline int GetRxLevel() const { return m_rxLevel; }
72 inline bool RxLevelHasBeenSet() const { return m_rxLevelHasBeenSet; }
73 inline void SetRxLevel(int value) {
74 m_rxLevelHasBeenSet = true;
75 m_rxLevel = value;
76 }
77 inline GsmNmrObj& WithRxLevel(int value) {
78 SetRxLevel(value);
79 return *this;
80 }
82
84
87 inline const GlobalIdentity& GetGlobalIdentity() const { return m_globalIdentity; }
88 inline bool GlobalIdentityHasBeenSet() const { return m_globalIdentityHasBeenSet; }
89 template <typename GlobalIdentityT = GlobalIdentity>
90 void SetGlobalIdentity(GlobalIdentityT&& value) {
91 m_globalIdentityHasBeenSet = true;
92 m_globalIdentity = std::forward<GlobalIdentityT>(value);
93 }
94 template <typename GlobalIdentityT = GlobalIdentity>
95 GsmNmrObj& WithGlobalIdentity(GlobalIdentityT&& value) {
96 SetGlobalIdentity(std::forward<GlobalIdentityT>(value));
97 return *this;
98 }
100 private:
101 int m_bsic{0};
102
103 int m_bcch{0};
104
105 int m_rxLevel{0};
106
107 GlobalIdentity m_globalIdentity;
108 bool m_bsicHasBeenSet = false;
109 bool m_bcchHasBeenSet = false;
110 bool m_rxLevelHasBeenSet = false;
111 bool m_globalIdentityHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace IoTWireless
116} // namespace Aws
GsmNmrObj & WithBcch(int value)
Definition GsmNmrObj.h:60
AWS_IOTWIRELESS_API GsmNmrObj(Aws::Utils::Json::JsonView jsonValue)
GsmNmrObj & WithGlobalIdentity(GlobalIdentityT &&value)
Definition GsmNmrObj.h:95
void SetGlobalIdentity(GlobalIdentityT &&value)
Definition GsmNmrObj.h:90
GsmNmrObj & WithRxLevel(int value)
Definition GsmNmrObj.h:77
const GlobalIdentity & GetGlobalIdentity() const
Definition GsmNmrObj.h:87
AWS_IOTWIRELESS_API GsmNmrObj & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
GsmNmrObj & WithBsic(int value)
Definition GsmNmrObj.h:44
AWS_IOTWIRELESS_API GsmNmrObj()=default
Aws::Utils::Json::JsonValue JsonValue