7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotwireless/IoTWirelessRequest.h>
11#include <aws/iotwireless/IoTWireless_EXPORTS.h>
12#include <aws/iotwireless/model/LoRaWANFuotaTask.h>
13#include <aws/iotwireless/model/Tag.h>
18namespace IoTWireless {
39 template <
typename NameT = Aws::String>
41 m_nameHasBeenSet =
true;
42 m_name = std::forward<NameT>(value);
44 template <
typename NameT = Aws::String>
46 SetName(std::forward<NameT>(value));
55 template <
typename DescriptionT = Aws::String>
57 m_descriptionHasBeenSet =
true;
58 m_description = std::forward<DescriptionT>(value);
60 template <
typename DescriptionT = Aws::String>
71 template <
typename ClientRequestTokenT = Aws::String>
73 m_clientRequestTokenHasBeenSet =
true;
74 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
76 template <
typename ClientRequestTokenT = Aws::String>
87 template <
typename LoRaWANT = LoRaWANFuotaTask>
89 m_loRaWANHasBeenSet =
true;
90 m_loRaWAN = std::forward<LoRaWANT>(value);
92 template <
typename LoRaWANT = LoRaWANFuotaTask>
103 template <
typename FirmwareUpdateImageT = Aws::String>
105 m_firmwareUpdateImageHasBeenSet =
true;
106 m_firmwareUpdateImage = std::forward<FirmwareUpdateImageT>(value);
108 template <
typename FirmwareUpdateImageT = Aws::String>
119 template <
typename FirmwareUpdateRoleT = Aws::String>
121 m_firmwareUpdateRoleHasBeenSet =
true;
122 m_firmwareUpdateRole = std::forward<FirmwareUpdateRoleT>(value);
124 template <
typename FirmwareUpdateRoleT = Aws::String>
135 template <
typename TagsT = Aws::Vector<Tag>>
137 m_tagsHasBeenSet =
true;
138 m_tags = std::forward<TagsT>(value);
140 template <
typename TagsT = Aws::Vector<Tag>>
142 SetTags(std::forward<TagsT>(value));
145 template <
typename TagsT = Tag>
147 m_tagsHasBeenSet =
true;
148 m_tags.emplace_back(std::forward<TagsT>(value));
158 m_redundancyPercentHasBeenSet =
true;
159 m_redundancyPercent = value;
172 m_fragmentSizeBytesHasBeenSet =
true;
173 m_fragmentSizeBytes = value;
186 m_fragmentIntervalMSHasBeenSet =
true;
187 m_fragmentIntervalMS = value;
199 template <
typename DescriptorT = Aws::String>
201 m_descriptorHasBeenSet =
true;
202 m_descriptor = std::forward<DescriptorT>(value);
204 template <
typename DescriptorT = Aws::String>
217 LoRaWANFuotaTask m_loRaWAN;
225 int m_redundancyPercent{0};
227 int m_fragmentSizeBytes{0};
229 int m_fragmentIntervalMS{0};
232 bool m_nameHasBeenSet =
false;
233 bool m_descriptionHasBeenSet =
false;
234 bool m_clientRequestTokenHasBeenSet =
true;
235 bool m_loRaWANHasBeenSet =
false;
236 bool m_firmwareUpdateImageHasBeenSet =
false;
237 bool m_firmwareUpdateRoleHasBeenSet =
false;
238 bool m_tagsHasBeenSet =
false;
239 bool m_redundancyPercentHasBeenSet =
false;
240 bool m_fragmentSizeBytesHasBeenSet =
false;
241 bool m_fragmentIntervalMSHasBeenSet =
false;
242 bool m_descriptorHasBeenSet =
false;
CreateFuotaTaskRequest & WithDescription(DescriptionT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
bool FirmwareUpdateImageHasBeenSet() const
void SetFragmentSizeBytes(int value)
void SetFragmentIntervalMS(int value)
const Aws::String & GetDescriptor() const
void SetTags(TagsT &&value)
void SetName(NameT &&value)
const Aws::String & GetName() const
bool DescriptionHasBeenSet() const
bool TagsHasBeenSet() const
void SetFirmwareUpdateRole(FirmwareUpdateRoleT &&value)
CreateFuotaTaskRequest & WithFragmentIntervalMS(int value)
AWS_IOTWIRELESS_API CreateFuotaTaskRequest()=default
CreateFuotaTaskRequest & WithName(NameT &&value)
int GetRedundancyPercent() const
int GetFragmentSizeBytes() const
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
void SetDescriptor(DescriptorT &&value)
CreateFuotaTaskRequest & WithFirmwareUpdateRole(FirmwareUpdateRoleT &&value)
bool ClientRequestTokenHasBeenSet() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
void SetFirmwareUpdateImage(FirmwareUpdateImageT &&value)
bool RedundancyPercentHasBeenSet() const
const LoRaWANFuotaTask & GetLoRaWAN() const
CreateFuotaTaskRequest & WithLoRaWAN(LoRaWANT &&value)
CreateFuotaTaskRequest & WithClientRequestToken(ClientRequestTokenT &&value)
CreateFuotaTaskRequest & WithRedundancyPercent(int value)
bool FragmentIntervalMSHasBeenSet() const
CreateFuotaTaskRequest & WithFragmentSizeBytes(int value)
CreateFuotaTaskRequest & WithFirmwareUpdateImage(FirmwareUpdateImageT &&value)
int GetFragmentIntervalMS() const
const Aws::String & GetFirmwareUpdateRole() const
CreateFuotaTaskRequest & WithDescriptor(DescriptorT &&value)
CreateFuotaTaskRequest & WithTags(TagsT &&value)
CreateFuotaTaskRequest & AddTags(TagsT &&value)
void SetLoRaWAN(LoRaWANT &&value)
const Aws::String & GetFirmwareUpdateImage() const
bool FragmentSizeBytesHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Tag > & GetTags() const
bool LoRaWANHasBeenSet() const
bool FirmwareUpdateRoleHasBeenSet() const
bool DescriptorHasBeenSet() const
const Aws::String & GetClientRequestToken() const
bool NameHasBeenSet() const
void SetRedundancyPercent(int value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector