AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 WirelessDeviceImportTask& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetArn() const { return m_arn; }
61 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
62 template<typename ArnT = Aws::String>
63 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
64 template<typename ArnT = Aws::String>
65 WirelessDeviceImportTask& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
67
69
74 inline const Aws::String& GetDestinationName() const { return m_destinationName; }
75 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
76 template<typename DestinationNameT = Aws::String>
77 void SetDestinationName(DestinationNameT&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::forward<DestinationNameT>(value); }
78 template<typename DestinationNameT = Aws::String>
79 WirelessDeviceImportTask& WithDestinationName(DestinationNameT&& value) { SetDestinationName(std::forward<DestinationNameT>(value)); return *this;}
81
83
86 inline const SidewalkGetStartImportInfo& GetSidewalk() const { return m_sidewalk; }
87 inline bool SidewalkHasBeenSet() const { return m_sidewalkHasBeenSet; }
88 template<typename SidewalkT = SidewalkGetStartImportInfo>
89 void SetSidewalk(SidewalkT&& value) { m_sidewalkHasBeenSet = true; m_sidewalk = std::forward<SidewalkT>(value); }
90 template<typename SidewalkT = SidewalkGetStartImportInfo>
91 WirelessDeviceImportTask& WithSidewalk(SidewalkT&& value) { SetSidewalk(std::forward<SidewalkT>(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
99 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
100 template<typename CreationTimeT = Aws::Utils::DateTime>
101 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
102 template<typename CreationTimeT = Aws::Utils::DateTime>
103 WirelessDeviceImportTask& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
105
107
110 inline ImportTaskStatus GetStatus() const { return m_status; }
111 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
112 inline void SetStatus(ImportTaskStatus value) { m_statusHasBeenSet = true; m_status = value; }
113 inline WirelessDeviceImportTask& WithStatus(ImportTaskStatus value) { SetStatus(value); return *this;}
115
117
121 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
122 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
123 template<typename StatusReasonT = Aws::String>
124 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
125 template<typename StatusReasonT = Aws::String>
126 WirelessDeviceImportTask& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
128
130
134 inline long long GetInitializedImportedDeviceCount() const { return m_initializedImportedDeviceCount; }
135 inline bool InitializedImportedDeviceCountHasBeenSet() const { return m_initializedImportedDeviceCountHasBeenSet; }
136 inline void SetInitializedImportedDeviceCount(long long value) { m_initializedImportedDeviceCountHasBeenSet = true; m_initializedImportedDeviceCount = value; }
139
141
145 inline long long GetPendingImportedDeviceCount() const { return m_pendingImportedDeviceCount; }
146 inline bool PendingImportedDeviceCountHasBeenSet() const { return m_pendingImportedDeviceCountHasBeenSet; }
147 inline void SetPendingImportedDeviceCount(long long value) { m_pendingImportedDeviceCountHasBeenSet = true; m_pendingImportedDeviceCount = value; }
150
152
156 inline long long GetOnboardedImportedDeviceCount() const { return m_onboardedImportedDeviceCount; }
157 inline bool OnboardedImportedDeviceCountHasBeenSet() const { return m_onboardedImportedDeviceCountHasBeenSet; }
158 inline void SetOnboardedImportedDeviceCount(long long value) { m_onboardedImportedDeviceCountHasBeenSet = true; m_onboardedImportedDeviceCount = value; }
161
163
167 inline long long GetFailedImportedDeviceCount() const { return m_failedImportedDeviceCount; }
168 inline bool FailedImportedDeviceCountHasBeenSet() const { return m_failedImportedDeviceCountHasBeenSet; }
169 inline void SetFailedImportedDeviceCount(long long value) { m_failedImportedDeviceCountHasBeenSet = true; m_failedImportedDeviceCount = value; }
172 private:
173
174 Aws::String m_id;
175 bool m_idHasBeenSet = false;
176
177 Aws::String m_arn;
178 bool m_arnHasBeenSet = false;
179
180 Aws::String m_destinationName;
181 bool m_destinationNameHasBeenSet = false;
182
184 bool m_sidewalkHasBeenSet = false;
185
186 Aws::Utils::DateTime m_creationTime{};
187 bool m_creationTimeHasBeenSet = false;
188
190 bool m_statusHasBeenSet = false;
191
192 Aws::String m_statusReason;
193 bool m_statusReasonHasBeenSet = false;
194
195 long long m_initializedImportedDeviceCount{0};
196 bool m_initializedImportedDeviceCountHasBeenSet = false;
197
198 long long m_pendingImportedDeviceCount{0};
199 bool m_pendingImportedDeviceCountHasBeenSet = false;
200
201 long long m_onboardedImportedDeviceCount{0};
202 bool m_onboardedImportedDeviceCountHasBeenSet = false;
203
204 long long m_failedImportedDeviceCount{0};
205 bool m_failedImportedDeviceCountHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace IoTWireless
210} // namespace Aws
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
WirelessDeviceImportTask & WithSidewalk(SidewalkT &&value)
WirelessDeviceImportTask & WithStatus(ImportTaskStatus value)
AWS_IOTWIRELESS_API WirelessDeviceImportTask()=default
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