7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/model/FuotaTaskStatus.h>
10#include <aws/iotwireless/model/LoRaWANFuotaTaskGetInfo.h>
11#include <aws/core/utils/DateTime.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
41 template<
typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
43 template<
typename ArnT = Aws::String>
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>
66 template<
typename NameT = Aws::String>
67 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
68 template<
typename NameT = Aws::String>
75 template<
typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
77 template<
typename DescriptionT = Aws::String>
84 template<
typename LoRaWANT = LoRaWANFuotaTaskGetInfo>
85 void SetLoRaWAN(LoRaWANT&& value) { m_loRaWANHasBeenSet =
true; m_loRaWAN = std::forward<LoRaWANT>(value); }
86 template<
typename LoRaWANT = LoRaWANFuotaTaskGetInfo>
93 template<
typename FirmwareUpdateImageT = Aws::String>
94 void SetFirmwareUpdateImage(FirmwareUpdateImageT&& value) { m_firmwareUpdateImageHasBeenSet =
true; m_firmwareUpdateImage = std::forward<FirmwareUpdateImageT>(value); }
95 template<
typename FirmwareUpdateImageT = Aws::String>
102 template<
typename FirmwareUpdateRoleT = Aws::String>
103 void SetFirmwareUpdateRole(FirmwareUpdateRoleT&& value) { m_firmwareUpdateRoleHasBeenSet =
true; m_firmwareUpdateRole = std::forward<FirmwareUpdateRoleT>(value); }
104 template<
typename FirmwareUpdateRoleT = Aws::String>
111 template<
typename CreatedAtT = Aws::Utils::DateTime>
112 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
113 template<
typename CreatedAtT = Aws::Utils::DateTime>
120 inline void SetRedundancyPercent(
int value) { m_redundancyPercentHasBeenSet =
true; m_redundancyPercent = value; }
127 inline void SetFragmentSizeBytes(
int value) { m_fragmentSizeBytesHasBeenSet =
true; m_fragmentSizeBytes = value; }
134 inline void SetFragmentIntervalMS(
int value) { m_fragmentIntervalMSHasBeenSet =
true; m_fragmentIntervalMS = value; }
141 template<
typename DescriptorT = Aws::String>
142 void SetDescriptor(DescriptorT&& value) { m_descriptorHasBeenSet =
true; m_descriptor = std::forward<DescriptorT>(value); }
143 template<
typename DescriptorT = Aws::String>
150 template<
typename RequestIdT = Aws::String>
151 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
152 template<
typename RequestIdT = Aws::String>
158 bool m_arnHasBeenSet =
false;
161 bool m_idHasBeenSet =
false;
164 bool m_statusHasBeenSet =
false;
167 bool m_nameHasBeenSet =
false;
170 bool m_descriptionHasBeenSet =
false;
172 LoRaWANFuotaTaskGetInfo m_loRaWAN;
173 bool m_loRaWANHasBeenSet =
false;
176 bool m_firmwareUpdateImageHasBeenSet =
false;
179 bool m_firmwareUpdateRoleHasBeenSet =
false;
182 bool m_createdAtHasBeenSet =
false;
184 int m_redundancyPercent{0};
185 bool m_redundancyPercentHasBeenSet =
false;
187 int m_fragmentSizeBytes{0};
188 bool m_fragmentSizeBytesHasBeenSet =
false;
190 int m_fragmentIntervalMS{0};
191 bool m_fragmentIntervalMSHasBeenSet =
false;
194 bool m_descriptorHasBeenSet =
false;
197 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)
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