7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotwireless/model/LoRaWANFuotaTask.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iotwireless/model/Tag.h>
14#include <aws/core/utils/UUID.h>
45 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
57 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
69 inline void SetClientRequestToken(
const char* value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken.assign(value); }
91 inline void SetFirmwareUpdateImage(
const char* value) { m_firmwareUpdateImageHasBeenSet =
true; m_firmwareUpdateImage.assign(value); }
103 inline void SetFirmwareUpdateRole(
const char* value) { m_firmwareUpdateRoleHasBeenSet =
true; m_firmwareUpdateRole.assign(value); }
125 inline void SetRedundancyPercent(
int value) { m_redundancyPercentHasBeenSet =
true; m_redundancyPercent = value; }
133 inline void SetFragmentSizeBytes(
int value) { m_fragmentSizeBytesHasBeenSet =
true; m_fragmentSizeBytes = value; }
141 inline void SetFragmentIntervalMS(
int value) { m_fragmentIntervalMSHasBeenSet =
true; m_fragmentIntervalMS = value; }
147 bool m_nameHasBeenSet =
false;
150 bool m_descriptionHasBeenSet =
false;
153 bool m_clientRequestTokenHasBeenSet =
false;
156 bool m_loRaWANHasBeenSet =
false;
159 bool m_firmwareUpdateImageHasBeenSet =
false;
162 bool m_firmwareUpdateRoleHasBeenSet =
false;
165 bool m_tagsHasBeenSet =
false;
167 int m_redundancyPercent;
168 bool m_redundancyPercentHasBeenSet =
false;
170 int m_fragmentSizeBytes;
171 bool m_fragmentSizeBytesHasBeenSet =
false;
173 int m_fragmentIntervalMS;
174 bool m_fragmentIntervalMSHasBeenSet =
false;
bool FirmwareUpdateImageHasBeenSet() const
void SetFragmentSizeBytes(int value)
void SetFirmwareUpdateImage(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetFragmentIntervalMS(int value)
CreateFuotaTaskRequest & WithFirmwareUpdateRole(const Aws::String &value)
void SetFirmwareUpdateRole(const char *value)
CreateFuotaTaskRequest & WithDescription(const char *value)
CreateFuotaTaskRequest & WithFirmwareUpdateImage(Aws::String &&value)
CreateFuotaTaskRequest & WithTags(const Aws::Vector< Tag > &value)
CreateFuotaTaskRequest & WithFirmwareUpdateImage(const char *value)
const Aws::String & GetName() const
bool DescriptionHasBeenSet() const
CreateFuotaTaskRequest & WithName(const Aws::String &value)
bool TagsHasBeenSet() const
CreateFuotaTaskRequest & WithFragmentIntervalMS(int value)
void SetLoRaWAN(const LoRaWANFuotaTask &value)
CreateFuotaTaskRequest & WithLoRaWAN(LoRaWANFuotaTask &&value)
void SetDescription(const char *value)
int GetRedundancyPercent() const
CreateFuotaTaskRequest & WithDescription(const Aws::String &value)
int GetFragmentSizeBytes() const
CreateFuotaTaskRequest & WithTags(Aws::Vector< Tag > &&value)
CreateFuotaTaskRequest & WithClientRequestToken(Aws::String &&value)
CreateFuotaTaskRequest & WithName(const char *value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
void SetTags(Aws::Vector< Tag > &&value)
void SetFirmwareUpdateImage(const Aws::String &value)
bool ClientRequestTokenHasBeenSet() const
CreateFuotaTaskRequest & WithLoRaWAN(const LoRaWANFuotaTask &value)
CreateFuotaTaskRequest & AddTags(Tag &&value)
const Aws::String & GetDescription() const
CreateFuotaTaskRequest & WithName(Aws::String &&value)
void SetDescription(const Aws::String &value)
bool RedundancyPercentHasBeenSet() const
CreateFuotaTaskRequest & WithClientRequestToken(const Aws::String &value)
const LoRaWANFuotaTask & GetLoRaWAN() const
CreateFuotaTaskRequest & WithClientRequestToken(const char *value)
CreateFuotaTaskRequest & WithFirmwareUpdateRole(const char *value)
CreateFuotaTaskRequest & WithRedundancyPercent(int value)
bool FragmentIntervalMSHasBeenSet() const
void SetName(Aws::String &&value)
CreateFuotaTaskRequest & WithFragmentSizeBytes(int value)
int GetFragmentIntervalMS() const
const Aws::String & GetFirmwareUpdateRole() const
void SetClientRequestToken(const char *value)
void SetFirmwareUpdateImage(const char *value)
void SetFirmwareUpdateRole(const Aws::String &value)
const Aws::String & GetFirmwareUpdateImage() const
bool FragmentSizeBytesHasBeenSet() const
AWS_IOTWIRELESS_API CreateFuotaTaskRequest()
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Tag > & GetTags() const
void SetName(const char *value)
bool LoRaWANHasBeenSet() const
bool FirmwareUpdateRoleHasBeenSet() const
CreateFuotaTaskRequest & AddTags(const Tag &value)
void SetClientRequestToken(const Aws::String &value)
CreateFuotaTaskRequest & WithFirmwareUpdateImage(const Aws::String &value)
void SetLoRaWAN(LoRaWANFuotaTask &&value)
void SetTags(const Aws::Vector< Tag > &value)
CreateFuotaTaskRequest & WithDescription(Aws::String &&value)
void SetFirmwareUpdateRole(Aws::String &&value)
void SetName(const Aws::String &value)
void SetClientRequestToken(Aws::String &&value)
const Aws::String & GetClientRequestToken() const
CreateFuotaTaskRequest & WithFirmwareUpdateRole(Aws::String &&value)
bool NameHasBeenSet() const
void SetRedundancyPercent(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector