AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
WirelessDeviceStatistics.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/model/WirelessDeviceType.h>
10#include <aws/iotwireless/model/LoRaWANListDevice.h>
11#include <aws/iotwireless/model/SidewalkListDevice.h>
12#include <aws/iotwireless/model/FuotaDeviceStatus.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace IoTWireless
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_IOTWIRELESS_API WirelessDeviceStatistics() = default;
42 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetArn() const { return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 template<typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
53 template<typename ArnT = Aws::String>
54 WirelessDeviceStatistics& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
56
58
61 inline const Aws::String& GetId() const { return m_id; }
62 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
63 template<typename IdT = Aws::String>
64 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
65 template<typename IdT = Aws::String>
66 WirelessDeviceStatistics& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
68
70
73 inline WirelessDeviceType GetType() const { return m_type; }
74 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
75 inline void SetType(WirelessDeviceType value) { m_typeHasBeenSet = true; m_type = value; }
76 inline WirelessDeviceStatistics& WithType(WirelessDeviceType value) { SetType(value); return *this;}
78
80
83 inline const Aws::String& GetName() const { return m_name; }
84 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
85 template<typename NameT = Aws::String>
86 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
87 template<typename NameT = Aws::String>
88 WirelessDeviceStatistics& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
90
92
95 inline const Aws::String& GetDestinationName() const { return m_destinationName; }
96 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
97 template<typename DestinationNameT = Aws::String>
98 void SetDestinationName(DestinationNameT&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::forward<DestinationNameT>(value); }
99 template<typename DestinationNameT = Aws::String>
100 WirelessDeviceStatistics& WithDestinationName(DestinationNameT&& value) { SetDestinationName(std::forward<DestinationNameT>(value)); return *this;}
102
104
108 inline const Aws::String& GetLastUplinkReceivedAt() const { return m_lastUplinkReceivedAt; }
109 inline bool LastUplinkReceivedAtHasBeenSet() const { return m_lastUplinkReceivedAtHasBeenSet; }
110 template<typename LastUplinkReceivedAtT = Aws::String>
111 void SetLastUplinkReceivedAt(LastUplinkReceivedAtT&& value) { m_lastUplinkReceivedAtHasBeenSet = true; m_lastUplinkReceivedAt = std::forward<LastUplinkReceivedAtT>(value); }
112 template<typename LastUplinkReceivedAtT = Aws::String>
113 WirelessDeviceStatistics& WithLastUplinkReceivedAt(LastUplinkReceivedAtT&& value) { SetLastUplinkReceivedAt(std::forward<LastUplinkReceivedAtT>(value)); return *this;}
115
117
120 inline const LoRaWANListDevice& GetLoRaWAN() const { return m_loRaWAN; }
121 inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; }
122 template<typename LoRaWANT = LoRaWANListDevice>
123 void SetLoRaWAN(LoRaWANT&& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = std::forward<LoRaWANT>(value); }
124 template<typename LoRaWANT = LoRaWANListDevice>
125 WirelessDeviceStatistics& WithLoRaWAN(LoRaWANT&& value) { SetLoRaWAN(std::forward<LoRaWANT>(value)); return *this;}
127
129
132 inline const SidewalkListDevice& GetSidewalk() const { return m_sidewalk; }
133 inline bool SidewalkHasBeenSet() const { return m_sidewalkHasBeenSet; }
134 template<typename SidewalkT = SidewalkListDevice>
135 void SetSidewalk(SidewalkT&& value) { m_sidewalkHasBeenSet = true; m_sidewalk = std::forward<SidewalkT>(value); }
136 template<typename SidewalkT = SidewalkListDevice>
137 WirelessDeviceStatistics& WithSidewalk(SidewalkT&& value) { SetSidewalk(std::forward<SidewalkT>(value)); return *this;}
139
141
142 inline FuotaDeviceStatus GetFuotaDeviceStatus() const { return m_fuotaDeviceStatus; }
143 inline bool FuotaDeviceStatusHasBeenSet() const { return m_fuotaDeviceStatusHasBeenSet; }
144 inline void SetFuotaDeviceStatus(FuotaDeviceStatus value) { m_fuotaDeviceStatusHasBeenSet = true; m_fuotaDeviceStatus = value; }
147
149
152 inline const Aws::String& GetMulticastDeviceStatus() const { return m_multicastDeviceStatus; }
153 inline bool MulticastDeviceStatusHasBeenSet() const { return m_multicastDeviceStatusHasBeenSet; }
154 template<typename MulticastDeviceStatusT = Aws::String>
155 void SetMulticastDeviceStatus(MulticastDeviceStatusT&& value) { m_multicastDeviceStatusHasBeenSet = true; m_multicastDeviceStatus = std::forward<MulticastDeviceStatusT>(value); }
156 template<typename MulticastDeviceStatusT = Aws::String>
157 WirelessDeviceStatistics& WithMulticastDeviceStatus(MulticastDeviceStatusT&& value) { SetMulticastDeviceStatus(std::forward<MulticastDeviceStatusT>(value)); return *this;}
159
161
162 inline int GetMcGroupId() const { return m_mcGroupId; }
163 inline bool McGroupIdHasBeenSet() const { return m_mcGroupIdHasBeenSet; }
164 inline void SetMcGroupId(int value) { m_mcGroupIdHasBeenSet = true; m_mcGroupId = value; }
165 inline WirelessDeviceStatistics& WithMcGroupId(int value) { SetMcGroupId(value); return *this;}
167 private:
168
169 Aws::String m_arn;
170 bool m_arnHasBeenSet = false;
171
172 Aws::String m_id;
173 bool m_idHasBeenSet = false;
174
176 bool m_typeHasBeenSet = false;
177
178 Aws::String m_name;
179 bool m_nameHasBeenSet = false;
180
181 Aws::String m_destinationName;
182 bool m_destinationNameHasBeenSet = false;
183
184 Aws::String m_lastUplinkReceivedAt;
185 bool m_lastUplinkReceivedAtHasBeenSet = false;
186
187 LoRaWANListDevice m_loRaWAN;
188 bool m_loRaWANHasBeenSet = false;
189
190 SidewalkListDevice m_sidewalk;
191 bool m_sidewalkHasBeenSet = false;
192
194 bool m_fuotaDeviceStatusHasBeenSet = false;
195
196 Aws::String m_multicastDeviceStatus;
197 bool m_multicastDeviceStatusHasBeenSet = false;
198
199 int m_mcGroupId{0};
200 bool m_mcGroupIdHasBeenSet = false;
201 };
202
203} // namespace Model
204} // namespace IoTWireless
205} // namespace Aws
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