7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotwireless/IoTWireless_EXPORTS.h>
11#include <aws/iotwireless/model/FuotaTaskStatus.h>
12#include <aws/iotwireless/model/LoRaWANFuotaTaskGetInfo.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace IoTWireless {
36 template <
typename ArnT = Aws::String>
38 m_arnHasBeenSet =
true;
39 m_arn = std::forward<ArnT>(value);
41 template <
typename ArnT = Aws::String>
43 SetArn(std::forward<ArnT>(value));
51 template <
typename IdT = Aws::String>
53 m_idHasBeenSet =
true;
54 m_id = std::forward<IdT>(value);
56 template <
typename IdT = Aws::String>
58 SetId(std::forward<IdT>(value));
67 m_statusHasBeenSet =
true;
79 template <
typename NameT = Aws::String>
81 m_nameHasBeenSet =
true;
82 m_name = std::forward<NameT>(value);
84 template <
typename NameT = Aws::String>
86 SetName(std::forward<NameT>(value));
94 template <
typename DescriptionT = Aws::String>
96 m_descriptionHasBeenSet =
true;
97 m_description = std::forward<DescriptionT>(value);
99 template <
typename DescriptionT = Aws::String>
109 template <
typename LoRaWANT = LoRaWANFuotaTaskGetInfo>
111 m_loRaWANHasBeenSet =
true;
112 m_loRaWAN = std::forward<LoRaWANT>(value);
114 template <
typename LoRaWANT = LoRaWANFuotaTaskGetInfo>
124 template <
typename FirmwareUpdateImageT = Aws::String>
126 m_firmwareUpdateImageHasBeenSet =
true;
127 m_firmwareUpdateImage = std::forward<FirmwareUpdateImageT>(value);
129 template <
typename FirmwareUpdateImageT = Aws::String>
139 template <
typename FirmwareUpdateRoleT = Aws::String>
141 m_firmwareUpdateRoleHasBeenSet =
true;
142 m_firmwareUpdateRole = std::forward<FirmwareUpdateRoleT>(value);
144 template <
typename FirmwareUpdateRoleT = Aws::String>
154 template <
typename CreatedAtT = Aws::Utils::DateTime>
156 m_createdAtHasBeenSet =
true;
157 m_createdAt = std::forward<CreatedAtT>(value);
159 template <
typename CreatedAtT = Aws::Utils::DateTime>
170 m_redundancyPercentHasBeenSet =
true;
171 m_redundancyPercent = value;
183 m_fragmentSizeBytesHasBeenSet =
true;
184 m_fragmentSizeBytes = value;
196 m_fragmentIntervalMSHasBeenSet =
true;
197 m_fragmentIntervalMS = value;
208 template <
typename DescriptorT = Aws::String>
210 m_descriptorHasBeenSet =
true;
211 m_descriptor = std::forward<DescriptorT>(value);
213 template <
typename DescriptorT = Aws::String>
223 template <
typename RequestIdT = Aws::String>
225 m_requestIdHasBeenSet =
true;
226 m_requestId = std::forward<RequestIdT>(value);
228 template <
typename RequestIdT = Aws::String>
247 LoRaWANFuotaTaskGetInfo m_loRaWAN;
255 int m_redundancyPercent{0};
257 int m_fragmentSizeBytes{0};
259 int m_fragmentIntervalMS{0};
265 bool m_arnHasBeenSet =
false;
266 bool m_idHasBeenSet =
false;
267 bool m_statusHasBeenSet =
false;
268 bool m_nameHasBeenSet =
false;
269 bool m_descriptionHasBeenSet =
false;
270 bool m_loRaWANHasBeenSet =
false;
271 bool m_firmwareUpdateImageHasBeenSet =
false;
272 bool m_firmwareUpdateRoleHasBeenSet =
false;
273 bool m_createdAtHasBeenSet =
false;
274 bool m_redundancyPercentHasBeenSet =
false;
275 bool m_fragmentSizeBytesHasBeenSet =
false;
276 bool m_fragmentIntervalMSHasBeenSet =
false;
277 bool m_descriptorHasBeenSet =
false;
278 bool m_requestIdHasBeenSet =
false;
void SetDescriptor(DescriptorT &&value)
void SetName(NameT &&value)
int GetFragmentIntervalMS() const
void SetFirmwareUpdateRole(FirmwareUpdateRoleT &&value)
GetFuotaTaskResult & WithArn(ArnT &&value)
AWS_IOTWIRELESS_API GetFuotaTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFuotaTaskResult & WithStatus(FuotaTaskStatus value)
GetFuotaTaskResult & WithRequestId(RequestIdT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetFirmwareUpdateRole() const
void SetRedundancyPercent(int value)
const Aws::String & GetId() const
void SetLoRaWAN(LoRaWANT &&value)
void SetFirmwareUpdateImage(FirmwareUpdateImageT &&value)
GetFuotaTaskResult & WithId(IdT &&value)
void SetArn(ArnT &&value)
const Aws::String & GetName() const
GetFuotaTaskResult & WithDescriptor(DescriptorT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetFuotaTaskResult & WithDescription(DescriptionT &&value)
FuotaTaskStatus GetStatus() const
GetFuotaTaskResult & WithFirmwareUpdateRole(FirmwareUpdateRoleT &&value)
const LoRaWANFuotaTaskGetInfo & GetLoRaWAN() const
void SetCreatedAt(CreatedAtT &&value)
AWS_IOTWIRELESS_API GetFuotaTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetFirmwareUpdateImage() const
GetFuotaTaskResult & WithFirmwareUpdateImage(FirmwareUpdateImageT &&value)
void SetFragmentSizeBytes(int value)
void SetFragmentIntervalMS(int value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetFuotaTaskResult & WithFragmentSizeBytes(int value)
void SetStatus(FuotaTaskStatus value)
GetFuotaTaskResult & WithLoRaWAN(LoRaWANT &&value)
int GetFragmentSizeBytes() const
GetFuotaTaskResult & WithRedundancyPercent(int value)
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
GetFuotaTaskResult & WithName(NameT &&value)
AWS_IOTWIRELESS_API GetFuotaTaskResult()=default
GetFuotaTaskResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetDescriptor() const
int GetRedundancyPercent() const
GetFuotaTaskResult & WithFragmentIntervalMS(int value)
const Aws::String & GetArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue