AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
WirelessDeviceImportTask.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/IoTWireless_EXPORTS.h>
10#include <aws/iotwireless/model/ImportTaskStatus.h>
11#include <aws/iotwireless/model/PositioningConfigStatus.h>
12#include <aws/iotwireless/model/SidewalkGetStartImportInfo.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTWireless {
24namespace Model {
25
33 public:
34 AWS_IOTWIRELESS_API WirelessDeviceImportTask() = default;
37 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template <typename IdT = Aws::String>
46 void SetId(IdT&& value) {
47 m_idHasBeenSet = true;
48 m_id = std::forward<IdT>(value);
49 }
50 template <typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetArn() const { return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 template <typename ArnT = Aws::String>
64 void SetArn(ArnT&& value) {
65 m_arnHasBeenSet = true;
66 m_arn = std::forward<ArnT>(value);
67 }
68 template <typename ArnT = Aws::String>
70 SetArn(std::forward<ArnT>(value));
71 return *this;
72 }
74
76
81 inline const Aws::String& GetDestinationName() const { return m_destinationName; }
82 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
83 template <typename DestinationNameT = Aws::String>
84 void SetDestinationName(DestinationNameT&& value) {
85 m_destinationNameHasBeenSet = true;
86 m_destinationName = std::forward<DestinationNameT>(value);
87 }
88 template <typename DestinationNameT = Aws::String>
89 WirelessDeviceImportTask& WithDestinationName(DestinationNameT&& value) {
90 SetDestinationName(std::forward<DestinationNameT>(value));
91 return *this;
92 }
94
96
100 inline PositioningConfigStatus GetPositioning() const { return m_positioning; }
101 inline bool PositioningHasBeenSet() const { return m_positioningHasBeenSet; }
103 m_positioningHasBeenSet = true;
104 m_positioning = value;
105 }
107 SetPositioning(value);
108 return *this;
109 }
111
113
116 inline const SidewalkGetStartImportInfo& GetSidewalk() const { return m_sidewalk; }
117 inline bool SidewalkHasBeenSet() const { return m_sidewalkHasBeenSet; }
118 template <typename SidewalkT = SidewalkGetStartImportInfo>
119 void SetSidewalk(SidewalkT&& value) {
120 m_sidewalkHasBeenSet = true;
121 m_sidewalk = std::forward<SidewalkT>(value);
122 }
123 template <typename SidewalkT = SidewalkGetStartImportInfo>
125 SetSidewalk(std::forward<SidewalkT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
135 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
136 template <typename CreationTimeT = Aws::Utils::DateTime>
137 void SetCreationTime(CreationTimeT&& value) {
138 m_creationTimeHasBeenSet = true;
139 m_creationTime = std::forward<CreationTimeT>(value);
140 }
141 template <typename CreationTimeT = Aws::Utils::DateTime>
143 SetCreationTime(std::forward<CreationTimeT>(value));
144 return *this;
145 }
147
149
152 inline ImportTaskStatus GetStatus() const { return m_status; }
153 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
154 inline void SetStatus(ImportTaskStatus value) {
155 m_statusHasBeenSet = true;
156 m_status = value;
157 }
159 SetStatus(value);
160 return *this;
161 }
163
165
169 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
170 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
171 template <typename StatusReasonT = Aws::String>
172 void SetStatusReason(StatusReasonT&& value) {
173 m_statusReasonHasBeenSet = true;
174 m_statusReason = std::forward<StatusReasonT>(value);
175 }
176 template <typename StatusReasonT = Aws::String>
178 SetStatusReason(std::forward<StatusReasonT>(value));
179 return *this;
180 }
182
184
188 inline long long GetInitializedImportedDeviceCount() const { return m_initializedImportedDeviceCount; }
189 inline bool InitializedImportedDeviceCountHasBeenSet() const { return m_initializedImportedDeviceCountHasBeenSet; }
190 inline void SetInitializedImportedDeviceCount(long long value) {
191 m_initializedImportedDeviceCountHasBeenSet = true;
192 m_initializedImportedDeviceCount = value;
193 }
196 return *this;
197 }
199
201
205 inline long long GetPendingImportedDeviceCount() const { return m_pendingImportedDeviceCount; }
206 inline bool PendingImportedDeviceCountHasBeenSet() const { return m_pendingImportedDeviceCountHasBeenSet; }
207 inline void SetPendingImportedDeviceCount(long long value) {
208 m_pendingImportedDeviceCountHasBeenSet = true;
209 m_pendingImportedDeviceCount = value;
210 }
213 return *this;
214 }
216
218
222 inline long long GetOnboardedImportedDeviceCount() const { return m_onboardedImportedDeviceCount; }
223 inline bool OnboardedImportedDeviceCountHasBeenSet() const { return m_onboardedImportedDeviceCountHasBeenSet; }
224 inline void SetOnboardedImportedDeviceCount(long long value) {
225 m_onboardedImportedDeviceCountHasBeenSet = true;
226 m_onboardedImportedDeviceCount = value;
227 }
230 return *this;
231 }
233
235
239 inline long long GetFailedImportedDeviceCount() const { return m_failedImportedDeviceCount; }
240 inline bool FailedImportedDeviceCountHasBeenSet() const { return m_failedImportedDeviceCountHasBeenSet; }
241 inline void SetFailedImportedDeviceCount(long long value) {
242 m_failedImportedDeviceCountHasBeenSet = true;
243 m_failedImportedDeviceCount = value;
244 }
247 return *this;
248 }
250 private:
251 Aws::String m_id;
252
253 Aws::String m_arn;
254
255 Aws::String m_destinationName;
256
258
259 SidewalkGetStartImportInfo m_sidewalk;
260
261 Aws::Utils::DateTime m_creationTime{};
262
264
265 Aws::String m_statusReason;
266
267 long long m_initializedImportedDeviceCount{0};
268
269 long long m_pendingImportedDeviceCount{0};
270
271 long long m_onboardedImportedDeviceCount{0};
272
273 long long m_failedImportedDeviceCount{0};
274 bool m_idHasBeenSet = false;
275 bool m_arnHasBeenSet = false;
276 bool m_destinationNameHasBeenSet = false;
277 bool m_positioningHasBeenSet = false;
278 bool m_sidewalkHasBeenSet = false;
279 bool m_creationTimeHasBeenSet = false;
280 bool m_statusHasBeenSet = false;
281 bool m_statusReasonHasBeenSet = false;
282 bool m_initializedImportedDeviceCountHasBeenSet = false;
283 bool m_pendingImportedDeviceCountHasBeenSet = false;
284 bool m_onboardedImportedDeviceCountHasBeenSet = false;
285 bool m_failedImportedDeviceCountHasBeenSet = false;
286};
287
288} // namespace Model
289} // namespace IoTWireless
290} // namespace Aws
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
WirelessDeviceImportTask & WithSidewalk(SidewalkT &&value)
WirelessDeviceImportTask & WithStatus(ImportTaskStatus value)
AWS_IOTWIRELESS_API WirelessDeviceImportTask()=default
WirelessDeviceImportTask & WithPositioning(PositioningConfigStatus value)
const SidewalkGetStartImportInfo & GetSidewalk() const
WirelessDeviceImportTask & WithDestinationName(DestinationNameT &&value)
AWS_IOTWIRELESS_API WirelessDeviceImportTask & operator=(Aws::Utils::Json::JsonView jsonValue)
WirelessDeviceImportTask & WithPendingImportedDeviceCount(long long value)
WirelessDeviceImportTask & WithArn(ArnT &&value)
WirelessDeviceImportTask & WithInitializedImportedDeviceCount(long long value)
WirelessDeviceImportTask & WithOnboardedImportedDeviceCount(long long value)
AWS_IOTWIRELESS_API WirelessDeviceImportTask(Aws::Utils::Json::JsonView jsonValue)
WirelessDeviceImportTask & WithFailedImportedDeviceCount(long long value)
WirelessDeviceImportTask & WithCreationTime(CreationTimeT &&value)
WirelessDeviceImportTask & WithStatusReason(StatusReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue