AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WirelessDeviceImportTask.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/SidewalkGetStartImportInfo.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/iotwireless/model/ImportTaskStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTWireless
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_IOTWIRELESS_API WirelessDeviceImportTask();
41 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const{ return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline WirelessDeviceImportTask& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline WirelessDeviceImportTask& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline WirelessDeviceImportTask& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const Aws::String& GetArn() const{ return m_arn; }
63 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
64 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
65 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
66 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
67 inline WirelessDeviceImportTask& WithArn(const Aws::String& value) { SetArn(value); return *this;}
68 inline WirelessDeviceImportTask& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
69 inline WirelessDeviceImportTask& WithArn(const char* value) { SetArn(value); return *this;}
71
73
78 inline const Aws::String& GetDestinationName() const{ return m_destinationName; }
79 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
80 inline void SetDestinationName(const Aws::String& value) { m_destinationNameHasBeenSet = true; m_destinationName = value; }
81 inline void SetDestinationName(Aws::String&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::move(value); }
82 inline void SetDestinationName(const char* value) { m_destinationNameHasBeenSet = true; m_destinationName.assign(value); }
83 inline WirelessDeviceImportTask& WithDestinationName(const Aws::String& value) { SetDestinationName(value); return *this;}
84 inline WirelessDeviceImportTask& WithDestinationName(Aws::String&& value) { SetDestinationName(std::move(value)); return *this;}
85 inline WirelessDeviceImportTask& WithDestinationName(const char* value) { SetDestinationName(value); return *this;}
87
89
92 inline const SidewalkGetStartImportInfo& GetSidewalk() const{ return m_sidewalk; }
93 inline bool SidewalkHasBeenSet() const { return m_sidewalkHasBeenSet; }
94 inline void SetSidewalk(const SidewalkGetStartImportInfo& value) { m_sidewalkHasBeenSet = true; m_sidewalk = value; }
95 inline void SetSidewalk(SidewalkGetStartImportInfo&& value) { m_sidewalkHasBeenSet = true; m_sidewalk = std::move(value); }
96 inline WirelessDeviceImportTask& WithSidewalk(const SidewalkGetStartImportInfo& value) { SetSidewalk(value); return *this;}
97 inline WirelessDeviceImportTask& WithSidewalk(SidewalkGetStartImportInfo&& value) { SetSidewalk(std::move(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
105 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
106 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
107 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
109 inline WirelessDeviceImportTask& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
111
113
116 inline const ImportTaskStatus& GetStatus() const{ return m_status; }
117 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
118 inline void SetStatus(const ImportTaskStatus& value) { m_statusHasBeenSet = true; m_status = value; }
119 inline void SetStatus(ImportTaskStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
120 inline WirelessDeviceImportTask& WithStatus(const ImportTaskStatus& value) { SetStatus(value); return *this;}
121 inline WirelessDeviceImportTask& WithStatus(ImportTaskStatus&& value) { SetStatus(std::move(value)); return *this;}
123
125
129 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
130 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
131 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
132 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
133 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
134 inline WirelessDeviceImportTask& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
135 inline WirelessDeviceImportTask& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
136 inline WirelessDeviceImportTask& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
138
140
144 inline long long GetInitializedImportedDeviceCount() const{ return m_initializedImportedDeviceCount; }
145 inline bool InitializedImportedDeviceCountHasBeenSet() const { return m_initializedImportedDeviceCountHasBeenSet; }
146 inline void SetInitializedImportedDeviceCount(long long value) { m_initializedImportedDeviceCountHasBeenSet = true; m_initializedImportedDeviceCount = value; }
149
151
155 inline long long GetPendingImportedDeviceCount() const{ return m_pendingImportedDeviceCount; }
156 inline bool PendingImportedDeviceCountHasBeenSet() const { return m_pendingImportedDeviceCountHasBeenSet; }
157 inline void SetPendingImportedDeviceCount(long long value) { m_pendingImportedDeviceCountHasBeenSet = true; m_pendingImportedDeviceCount = value; }
160
162
166 inline long long GetOnboardedImportedDeviceCount() const{ return m_onboardedImportedDeviceCount; }
167 inline bool OnboardedImportedDeviceCountHasBeenSet() const { return m_onboardedImportedDeviceCountHasBeenSet; }
168 inline void SetOnboardedImportedDeviceCount(long long value) { m_onboardedImportedDeviceCountHasBeenSet = true; m_onboardedImportedDeviceCount = value; }
171
173
177 inline long long GetFailedImportedDeviceCount() const{ return m_failedImportedDeviceCount; }
178 inline bool FailedImportedDeviceCountHasBeenSet() const { return m_failedImportedDeviceCountHasBeenSet; }
179 inline void SetFailedImportedDeviceCount(long long value) { m_failedImportedDeviceCountHasBeenSet = true; m_failedImportedDeviceCount = value; }
182 private:
183
184 Aws::String m_id;
185 bool m_idHasBeenSet = false;
186
187 Aws::String m_arn;
188 bool m_arnHasBeenSet = false;
189
190 Aws::String m_destinationName;
191 bool m_destinationNameHasBeenSet = false;
192
194 bool m_sidewalkHasBeenSet = false;
195
196 Aws::Utils::DateTime m_creationTime;
197 bool m_creationTimeHasBeenSet = false;
198
199 ImportTaskStatus m_status;
200 bool m_statusHasBeenSet = false;
201
202 Aws::String m_statusReason;
203 bool m_statusReasonHasBeenSet = false;
204
205 long long m_initializedImportedDeviceCount;
206 bool m_initializedImportedDeviceCountHasBeenSet = false;
207
208 long long m_pendingImportedDeviceCount;
209 bool m_pendingImportedDeviceCountHasBeenSet = false;
210
211 long long m_onboardedImportedDeviceCount;
212 bool m_onboardedImportedDeviceCountHasBeenSet = false;
213
214 long long m_failedImportedDeviceCount;
215 bool m_failedImportedDeviceCountHasBeenSet = false;
216 };
217
218} // namespace Model
219} // namespace IoTWireless
220} // namespace Aws
WirelessDeviceImportTask & WithArn(const Aws::String &value)
WirelessDeviceImportTask & WithArn(const char *value)
WirelessDeviceImportTask & WithDestinationName(const char *value)
WirelessDeviceImportTask & WithStatus(ImportTaskStatus &&value)
WirelessDeviceImportTask & WithDestinationName(const Aws::String &value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
WirelessDeviceImportTask & WithStatusReason(Aws::String &&value)
WirelessDeviceImportTask & WithStatusReason(const Aws::String &value)
WirelessDeviceImportTask & WithSidewalk(const SidewalkGetStartImportInfo &value)
WirelessDeviceImportTask & WithSidewalk(SidewalkGetStartImportInfo &&value)
WirelessDeviceImportTask & WithId(Aws::String &&value)
void SetSidewalk(const SidewalkGetStartImportInfo &value)
const SidewalkGetStartImportInfo & GetSidewalk() const
WirelessDeviceImportTask & WithStatus(const ImportTaskStatus &value)
WirelessDeviceImportTask & WithId(const Aws::String &value)
AWS_IOTWIRELESS_API WirelessDeviceImportTask & operator=(Aws::Utils::Json::JsonView jsonValue)
WirelessDeviceImportTask & WithCreationTime(const Aws::Utils::DateTime &value)
WirelessDeviceImportTask & WithPendingImportedDeviceCount(long long value)
void SetCreationTime(const Aws::Utils::DateTime &value)
WirelessDeviceImportTask & WithInitializedImportedDeviceCount(long long value)
WirelessDeviceImportTask & WithArn(Aws::String &&value)
void SetSidewalk(SidewalkGetStartImportInfo &&value)
WirelessDeviceImportTask & WithDestinationName(Aws::String &&value)
WirelessDeviceImportTask & WithStatusReason(const char *value)
WirelessDeviceImportTask & WithId(const char *value)
WirelessDeviceImportTask & WithOnboardedImportedDeviceCount(long long value)
AWS_IOTWIRELESS_API WirelessDeviceImportTask(Aws::Utils::Json::JsonView jsonValue)
WirelessDeviceImportTask & WithFailedImportedDeviceCount(long long value)
WirelessDeviceImportTask & WithCreationTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue