AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline WirelessDeviceStatistics& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline WirelessDeviceStatistics& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline WirelessDeviceStatistics& WithArn(const char* value) { SetArn(value); return *this;}
58
60
63 inline const Aws::String& GetId() const{ return m_id; }
64 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
65 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
66 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
67 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
68 inline WirelessDeviceStatistics& WithId(const Aws::String& value) { SetId(value); return *this;}
69 inline WirelessDeviceStatistics& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
70 inline WirelessDeviceStatistics& WithId(const char* value) { SetId(value); return *this;}
72
74
77 inline const WirelessDeviceType& GetType() const{ return m_type; }
78 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
79 inline void SetType(const WirelessDeviceType& value) { m_typeHasBeenSet = true; m_type = value; }
80 inline void SetType(WirelessDeviceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
81 inline WirelessDeviceStatistics& WithType(const WirelessDeviceType& value) { SetType(value); return *this;}
82 inline WirelessDeviceStatistics& WithType(WirelessDeviceType&& value) { SetType(std::move(value)); return *this;}
84
86
89 inline const Aws::String& GetName() const{ return m_name; }
90 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
91 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
92 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
93 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
94 inline WirelessDeviceStatistics& WithName(const Aws::String& value) { SetName(value); return *this;}
95 inline WirelessDeviceStatistics& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
96 inline WirelessDeviceStatistics& WithName(const char* value) { SetName(value); return *this;}
98
100
103 inline const Aws::String& GetDestinationName() const{ return m_destinationName; }
104 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
105 inline void SetDestinationName(const Aws::String& value) { m_destinationNameHasBeenSet = true; m_destinationName = value; }
106 inline void SetDestinationName(Aws::String&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::move(value); }
107 inline void SetDestinationName(const char* value) { m_destinationNameHasBeenSet = true; m_destinationName.assign(value); }
108 inline WirelessDeviceStatistics& WithDestinationName(const Aws::String& value) { SetDestinationName(value); return *this;}
109 inline WirelessDeviceStatistics& WithDestinationName(Aws::String&& value) { SetDestinationName(std::move(value)); return *this;}
110 inline WirelessDeviceStatistics& WithDestinationName(const char* value) { SetDestinationName(value); return *this;}
112
114
118 inline const Aws::String& GetLastUplinkReceivedAt() const{ return m_lastUplinkReceivedAt; }
119 inline bool LastUplinkReceivedAtHasBeenSet() const { return m_lastUplinkReceivedAtHasBeenSet; }
120 inline void SetLastUplinkReceivedAt(const Aws::String& value) { m_lastUplinkReceivedAtHasBeenSet = true; m_lastUplinkReceivedAt = value; }
121 inline void SetLastUplinkReceivedAt(Aws::String&& value) { m_lastUplinkReceivedAtHasBeenSet = true; m_lastUplinkReceivedAt = std::move(value); }
122 inline void SetLastUplinkReceivedAt(const char* value) { m_lastUplinkReceivedAtHasBeenSet = true; m_lastUplinkReceivedAt.assign(value); }
125 inline WirelessDeviceStatistics& WithLastUplinkReceivedAt(const char* value) { SetLastUplinkReceivedAt(value); return *this;}
127
129
132 inline const LoRaWANListDevice& GetLoRaWAN() const{ return m_loRaWAN; }
133 inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; }
134 inline void SetLoRaWAN(const LoRaWANListDevice& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = value; }
135 inline void SetLoRaWAN(LoRaWANListDevice&& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = std::move(value); }
136 inline WirelessDeviceStatistics& WithLoRaWAN(const LoRaWANListDevice& value) { SetLoRaWAN(value); return *this;}
137 inline WirelessDeviceStatistics& WithLoRaWAN(LoRaWANListDevice&& value) { SetLoRaWAN(std::move(value)); return *this;}
139
141
144 inline const SidewalkListDevice& GetSidewalk() const{ return m_sidewalk; }
145 inline bool SidewalkHasBeenSet() const { return m_sidewalkHasBeenSet; }
146 inline void SetSidewalk(const SidewalkListDevice& value) { m_sidewalkHasBeenSet = true; m_sidewalk = value; }
147 inline void SetSidewalk(SidewalkListDevice&& value) { m_sidewalkHasBeenSet = true; m_sidewalk = std::move(value); }
148 inline WirelessDeviceStatistics& WithSidewalk(const SidewalkListDevice& value) { SetSidewalk(value); return *this;}
149 inline WirelessDeviceStatistics& WithSidewalk(SidewalkListDevice&& value) { SetSidewalk(std::move(value)); return *this;}
151
153
154 inline const FuotaDeviceStatus& GetFuotaDeviceStatus() const{ return m_fuotaDeviceStatus; }
155 inline bool FuotaDeviceStatusHasBeenSet() const { return m_fuotaDeviceStatusHasBeenSet; }
156 inline void SetFuotaDeviceStatus(const FuotaDeviceStatus& value) { m_fuotaDeviceStatusHasBeenSet = true; m_fuotaDeviceStatus = value; }
157 inline void SetFuotaDeviceStatus(FuotaDeviceStatus&& value) { m_fuotaDeviceStatusHasBeenSet = true; m_fuotaDeviceStatus = std::move(value); }
161
163
166 inline const Aws::String& GetMulticastDeviceStatus() const{ return m_multicastDeviceStatus; }
167 inline bool MulticastDeviceStatusHasBeenSet() const { return m_multicastDeviceStatusHasBeenSet; }
168 inline void SetMulticastDeviceStatus(const Aws::String& value) { m_multicastDeviceStatusHasBeenSet = true; m_multicastDeviceStatus = value; }
169 inline void SetMulticastDeviceStatus(Aws::String&& value) { m_multicastDeviceStatusHasBeenSet = true; m_multicastDeviceStatus = std::move(value); }
170 inline void SetMulticastDeviceStatus(const char* value) { m_multicastDeviceStatusHasBeenSet = true; m_multicastDeviceStatus.assign(value); }
173 inline WirelessDeviceStatistics& WithMulticastDeviceStatus(const char* value) { SetMulticastDeviceStatus(value); return *this;}
175
177
178 inline int GetMcGroupId() const{ return m_mcGroupId; }
179 inline bool McGroupIdHasBeenSet() const { return m_mcGroupIdHasBeenSet; }
180 inline void SetMcGroupId(int value) { m_mcGroupIdHasBeenSet = true; m_mcGroupId = value; }
181 inline WirelessDeviceStatistics& WithMcGroupId(int value) { SetMcGroupId(value); return *this;}
183 private:
184
185 Aws::String m_arn;
186 bool m_arnHasBeenSet = false;
187
188 Aws::String m_id;
189 bool m_idHasBeenSet = false;
190
191 WirelessDeviceType m_type;
192 bool m_typeHasBeenSet = false;
193
194 Aws::String m_name;
195 bool m_nameHasBeenSet = false;
196
197 Aws::String m_destinationName;
198 bool m_destinationNameHasBeenSet = false;
199
200 Aws::String m_lastUplinkReceivedAt;
201 bool m_lastUplinkReceivedAtHasBeenSet = false;
202
203 LoRaWANListDevice m_loRaWAN;
204 bool m_loRaWANHasBeenSet = false;
205
206 SidewalkListDevice m_sidewalk;
207 bool m_sidewalkHasBeenSet = false;
208
209 FuotaDeviceStatus m_fuotaDeviceStatus;
210 bool m_fuotaDeviceStatusHasBeenSet = false;
211
212 Aws::String m_multicastDeviceStatus;
213 bool m_multicastDeviceStatusHasBeenSet = false;
214
215 int m_mcGroupId;
216 bool m_mcGroupIdHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace IoTWireless
221} // namespace Aws
WirelessDeviceStatistics & WithName(Aws::String &&value)
void SetFuotaDeviceStatus(const FuotaDeviceStatus &value)
WirelessDeviceStatistics & WithFuotaDeviceStatus(FuotaDeviceStatus &&value)
WirelessDeviceStatistics & WithFuotaDeviceStatus(const FuotaDeviceStatus &value)
WirelessDeviceStatistics & WithId(const Aws::String &value)
WirelessDeviceStatistics & WithId(Aws::String &&value)
WirelessDeviceStatistics & WithLoRaWAN(LoRaWANListDevice &&value)
WirelessDeviceStatistics & WithSidewalk(SidewalkListDevice &&value)
WirelessDeviceStatistics & WithMulticastDeviceStatus(Aws::String &&value)
WirelessDeviceStatistics & WithSidewalk(const SidewalkListDevice &value)
WirelessDeviceStatistics & WithName(const char *value)
WirelessDeviceStatistics & WithLastUplinkReceivedAt(const Aws::String &value)
WirelessDeviceStatistics & WithMulticastDeviceStatus(const Aws::String &value)
WirelessDeviceStatistics & WithType(WirelessDeviceType &&value)
WirelessDeviceStatistics & WithMulticastDeviceStatus(const char *value)
WirelessDeviceStatistics & WithId(const char *value)
WirelessDeviceStatistics & WithDestinationName(const char *value)
WirelessDeviceStatistics & WithArn(const Aws::String &value)
WirelessDeviceStatistics & WithLastUplinkReceivedAt(Aws::String &&value)
WirelessDeviceStatistics & WithType(const WirelessDeviceType &value)
WirelessDeviceStatistics & WithArn(const char *value)
AWS_IOTWIRELESS_API WirelessDeviceStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
WirelessDeviceStatistics & WithDestinationName(const Aws::String &value)
WirelessDeviceStatistics & WithLastUplinkReceivedAt(const char *value)
WirelessDeviceStatistics & WithLoRaWAN(const LoRaWANListDevice &value)
WirelessDeviceStatistics & WithDestinationName(Aws::String &&value)
WirelessDeviceStatistics & WithName(const Aws::String &value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTWIRELESS_API WirelessDeviceStatistics(Aws::Utils::Json::JsonView jsonValue)
WirelessDeviceStatistics & WithArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue