AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
WirelessDeviceStatistics.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotwireless/IoTWireless_EXPORTS.h>
9#include <aws/iotwireless/model/FuotaDeviceStatus.h>
10#include <aws/iotwireless/model/LoRaWANListDevice.h>
11#include <aws/iotwireless/model/PositioningConfigStatus.h>
12#include <aws/iotwireless/model/SidewalkListDevice.h>
13#include <aws/iotwireless/model/WirelessDeviceType.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTWireless {
25namespace Model {
26
34 public:
35 AWS_IOTWIRELESS_API WirelessDeviceStatistics() = default;
38 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
46 template <typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) {
48 m_arnHasBeenSet = true;
49 m_arn = std::forward<ArnT>(value);
50 }
51 template <typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetId() const { return m_id; }
63 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
64 template <typename IdT = Aws::String>
65 void SetId(IdT&& value) {
66 m_idHasBeenSet = true;
67 m_id = std::forward<IdT>(value);
68 }
69 template <typename IdT = Aws::String>
71 SetId(std::forward<IdT>(value));
72 return *this;
73 }
75
77
80 inline WirelessDeviceType GetType() const { return m_type; }
81 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
82 inline void SetType(WirelessDeviceType value) {
83 m_typeHasBeenSet = true;
84 m_type = value;
85 }
87 SetType(value);
88 return *this;
89 }
91
93
96 inline const Aws::String& GetName() const { return m_name; }
97 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
98 template <typename NameT = Aws::String>
99 void SetName(NameT&& value) {
100 m_nameHasBeenSet = true;
101 m_name = std::forward<NameT>(value);
102 }
103 template <typename NameT = Aws::String>
105 SetName(std::forward<NameT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::String& GetDestinationName() const { return m_destinationName; }
115 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
116 template <typename DestinationNameT = Aws::String>
117 void SetDestinationName(DestinationNameT&& value) {
118 m_destinationNameHasBeenSet = true;
119 m_destinationName = std::forward<DestinationNameT>(value);
120 }
121 template <typename DestinationNameT = Aws::String>
123 SetDestinationName(std::forward<DestinationNameT>(value));
124 return *this;
125 }
127
129
133 inline const Aws::String& GetLastUplinkReceivedAt() const { return m_lastUplinkReceivedAt; }
134 inline bool LastUplinkReceivedAtHasBeenSet() const { return m_lastUplinkReceivedAtHasBeenSet; }
135 template <typename LastUplinkReceivedAtT = Aws::String>
136 void SetLastUplinkReceivedAt(LastUplinkReceivedAtT&& value) {
137 m_lastUplinkReceivedAtHasBeenSet = true;
138 m_lastUplinkReceivedAt = std::forward<LastUplinkReceivedAtT>(value);
139 }
140 template <typename LastUplinkReceivedAtT = Aws::String>
141 WirelessDeviceStatistics& WithLastUplinkReceivedAt(LastUplinkReceivedAtT&& value) {
142 SetLastUplinkReceivedAt(std::forward<LastUplinkReceivedAtT>(value));
143 return *this;
144 }
146
148
151 inline const LoRaWANListDevice& GetLoRaWAN() const { return m_loRaWAN; }
152 inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; }
153 template <typename LoRaWANT = LoRaWANListDevice>
154 void SetLoRaWAN(LoRaWANT&& value) {
155 m_loRaWANHasBeenSet = true;
156 m_loRaWAN = std::forward<LoRaWANT>(value);
157 }
158 template <typename LoRaWANT = LoRaWANListDevice>
160 SetLoRaWAN(std::forward<LoRaWANT>(value));
161 return *this;
162 }
164
166
169 inline const SidewalkListDevice& GetSidewalk() const { return m_sidewalk; }
170 inline bool SidewalkHasBeenSet() const { return m_sidewalkHasBeenSet; }
171 template <typename SidewalkT = SidewalkListDevice>
172 void SetSidewalk(SidewalkT&& value) {
173 m_sidewalkHasBeenSet = true;
174 m_sidewalk = std::forward<SidewalkT>(value);
175 }
176 template <typename SidewalkT = SidewalkListDevice>
178 SetSidewalk(std::forward<SidewalkT>(value));
179 return *this;
180 }
182
184
185 inline FuotaDeviceStatus GetFuotaDeviceStatus() const { return m_fuotaDeviceStatus; }
186 inline bool FuotaDeviceStatusHasBeenSet() const { return m_fuotaDeviceStatusHasBeenSet; }
188 m_fuotaDeviceStatusHasBeenSet = true;
189 m_fuotaDeviceStatus = value;
190 }
193 return *this;
194 }
196
198
201 inline const Aws::String& GetMulticastDeviceStatus() const { return m_multicastDeviceStatus; }
202 inline bool MulticastDeviceStatusHasBeenSet() const { return m_multicastDeviceStatusHasBeenSet; }
203 template <typename MulticastDeviceStatusT = Aws::String>
204 void SetMulticastDeviceStatus(MulticastDeviceStatusT&& value) {
205 m_multicastDeviceStatusHasBeenSet = true;
206 m_multicastDeviceStatus = std::forward<MulticastDeviceStatusT>(value);
207 }
208 template <typename MulticastDeviceStatusT = Aws::String>
209 WirelessDeviceStatistics& WithMulticastDeviceStatus(MulticastDeviceStatusT&& value) {
210 SetMulticastDeviceStatus(std::forward<MulticastDeviceStatusT>(value));
211 return *this;
212 }
214
216
217 inline int GetMcGroupId() const { return m_mcGroupId; }
218 inline bool McGroupIdHasBeenSet() const { return m_mcGroupIdHasBeenSet; }
219 inline void SetMcGroupId(int value) {
220 m_mcGroupIdHasBeenSet = true;
221 m_mcGroupId = value;
222 }
224 SetMcGroupId(value);
225 return *this;
226 }
228
230
234 inline PositioningConfigStatus GetPositioning() const { return m_positioning; }
235 inline bool PositioningHasBeenSet() const { return m_positioningHasBeenSet; }
237 m_positioningHasBeenSet = true;
238 m_positioning = value;
239 }
241 SetPositioning(value);
242 return *this;
243 }
245 private:
246 Aws::String m_arn;
247
248 Aws::String m_id;
249
251
252 Aws::String m_name;
253
254 Aws::String m_destinationName;
255
256 Aws::String m_lastUplinkReceivedAt;
257
258 LoRaWANListDevice m_loRaWAN;
259
260 SidewalkListDevice m_sidewalk;
261
263
264 Aws::String m_multicastDeviceStatus;
265
266 int m_mcGroupId{0};
267
269 bool m_arnHasBeenSet = false;
270 bool m_idHasBeenSet = false;
271 bool m_typeHasBeenSet = false;
272 bool m_nameHasBeenSet = false;
273 bool m_destinationNameHasBeenSet = false;
274 bool m_lastUplinkReceivedAtHasBeenSet = false;
275 bool m_loRaWANHasBeenSet = false;
276 bool m_sidewalkHasBeenSet = false;
277 bool m_fuotaDeviceStatusHasBeenSet = false;
278 bool m_multicastDeviceStatusHasBeenSet = false;
279 bool m_mcGroupIdHasBeenSet = false;
280 bool m_positioningHasBeenSet = false;
281};
282
283} // namespace Model
284} // namespace IoTWireless
285} // namespace Aws
WirelessDeviceStatistics & WithPositioning(PositioningConfigStatus value)
WirelessDeviceStatistics & WithLoRaWAN(LoRaWANT &&value)
WirelessDeviceStatistics & WithName(NameT &&value)
void SetMulticastDeviceStatus(MulticastDeviceStatusT &&value)
WirelessDeviceStatistics & WithType(WirelessDeviceType value)
WirelessDeviceStatistics & WithArn(ArnT &&value)
AWS_IOTWIRELESS_API WirelessDeviceStatistics()=default
WirelessDeviceStatistics & WithLastUplinkReceivedAt(LastUplinkReceivedAtT &&value)
AWS_IOTWIRELESS_API WirelessDeviceStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
WirelessDeviceStatistics & WithSidewalk(SidewalkT &&value)
WirelessDeviceStatistics & WithMulticastDeviceStatus(MulticastDeviceStatusT &&value)
WirelessDeviceStatistics & WithDestinationName(DestinationNameT &&value)
void SetLastUplinkReceivedAt(LastUplinkReceivedAtT &&value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTWIRELESS_API WirelessDeviceStatistics(Aws::Utils::Json::JsonView jsonValue)
WirelessDeviceStatistics & WithFuotaDeviceStatus(FuotaDeviceStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue