7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iot/model/TargetSelection.h>
12#include <aws/iot/model/AwsJobExecutionsRolloutConfig.h>
13#include <aws/iot/model/AwsJobPresignedUrlConfig.h>
14#include <aws/iot/model/AwsJobAbortConfig.h>
15#include <aws/iot/model/AwsJobTimeoutConfig.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/iot/model/Protocol.h>
18#include <aws/iot/model/OTAUpdateFile.h>
19#include <aws/iot/model/Tag.h>
53 inline void SetOtaUpdateId(
const char* value) { m_otaUpdateIdHasBeenSet =
true; m_otaUpdateId.assign(value); }
67 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
197 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
239 bool m_otaUpdateIdHasBeenSet =
false;
242 bool m_descriptionHasBeenSet =
false;
245 bool m_targetsHasBeenSet =
false;
248 bool m_protocolsHasBeenSet =
false;
251 bool m_targetSelectionHasBeenSet =
false;
254 bool m_awsJobExecutionsRolloutConfigHasBeenSet =
false;
257 bool m_awsJobPresignedUrlConfigHasBeenSet =
false;
260 bool m_awsJobAbortConfigHasBeenSet =
false;
263 bool m_awsJobTimeoutConfigHasBeenSet =
false;
266 bool m_filesHasBeenSet =
false;
269 bool m_roleArnHasBeenSet =
false;
272 bool m_additionalParametersHasBeenSet =
false;
275 bool m_tagsHasBeenSet =
false;
bool AwsJobPresignedUrlConfigHasBeenSet() const
CreateOTAUpdateRequest & WithAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfig &&value)
void SetAwsJobTimeoutConfig(const AwsJobTimeoutConfig &value)
CreateOTAUpdateRequest & WithRoleArn(Aws::String &&value)
bool TargetsHasBeenSet() const
CreateOTAUpdateRequest & AddAdditionalParameters(Aws::String &&key, const char *value)
CreateOTAUpdateRequest & AddAdditionalParameters(const char *key, const char *value)
bool RoleArnHasBeenSet() const
bool AwsJobTimeoutConfigHasBeenSet() const
void SetRoleArn(Aws::String &&value)
void SetFiles(const Aws::Vector< OTAUpdateFile > &value)
const AwsJobExecutionsRolloutConfig & GetAwsJobExecutionsRolloutConfig() const
void SetProtocols(const Aws::Vector< Protocol > &value)
CreateOTAUpdateRequest & AddFiles(const OTAUpdateFile &value)
AWS_IOT_API Aws::String SerializePayload() const override
CreateOTAUpdateRequest & AddAdditionalParameters(const char *key, Aws::String &&value)
CreateOTAUpdateRequest & AddTargets(const Aws::String &value)
void SetRoleArn(const Aws::String &value)
CreateOTAUpdateRequest & AddTargets(Aws::String &&value)
void SetAwsJobAbortConfig(AwsJobAbortConfig &&value)
const Aws::Vector< Protocol > & GetProtocols() const
CreateOTAUpdateRequest & AddAdditionalParameters(const Aws::String &key, Aws::String &&value)
const Aws::String & GetDescription() const
CreateOTAUpdateRequest & WithFiles(Aws::Vector< OTAUpdateFile > &&value)
CreateOTAUpdateRequest & WithAwsJobTimeoutConfig(const AwsJobTimeoutConfig &value)
CreateOTAUpdateRequest & WithAwsJobExecutionsRolloutConfig(const AwsJobExecutionsRolloutConfig &value)
CreateOTAUpdateRequest & WithRoleArn(const char *value)
void SetAdditionalParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetDescription(const char *value)
CreateOTAUpdateRequest & WithAdditionalParameters(const Aws::Map< Aws::String, Aws::String > &value)
CreateOTAUpdateRequest & WithTargets(const Aws::Vector< Aws::String > &value)
CreateOTAUpdateRequest & WithAwsJobAbortConfig(const AwsJobAbortConfig &value)
bool TargetSelectionHasBeenSet() const
CreateOTAUpdateRequest & WithOtaUpdateId(Aws::String &&value)
CreateOTAUpdateRequest & AddTags(Tag &&value)
void SetDescription(const Aws::String &value)
CreateOTAUpdateRequest & AddTargets(const char *value)
bool ProtocolsHasBeenSet() const
const TargetSelection & GetTargetSelection() const
bool DescriptionHasBeenSet() const
const AwsJobTimeoutConfig & GetAwsJobTimeoutConfig() const
bool TagsHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
CreateOTAUpdateRequest & WithRoleArn(const Aws::String &value)
CreateOTAUpdateRequest & AddProtocols(Protocol &&value)
void SetAwsJobPresignedUrlConfig(AwsJobPresignedUrlConfig &&value)
CreateOTAUpdateRequest & WithTargetSelection(const TargetSelection &value)
CreateOTAUpdateRequest & WithAwsJobAbortConfig(AwsJobAbortConfig &&value)
bool AwsJobExecutionsRolloutConfigHasBeenSet() const
void SetOtaUpdateId(const Aws::String &value)
AWS_IOT_API CreateOTAUpdateRequest()
CreateOTAUpdateRequest & WithTargets(Aws::Vector< Aws::String > &&value)
void SetFiles(Aws::Vector< OTAUpdateFile > &&value)
const Aws::String & GetOtaUpdateId() const
void SetAwsJobAbortConfig(const AwsJobAbortConfig &value)
bool AwsJobAbortConfigHasBeenSet() const
CreateOTAUpdateRequest & AddProtocols(const Protocol &value)
CreateOTAUpdateRequest & WithProtocols(const Aws::Vector< Protocol > &value)
virtual const char * GetServiceRequestName() const override
CreateOTAUpdateRequest & AddFiles(OTAUpdateFile &&value)
CreateOTAUpdateRequest & WithAdditionalParameters(Aws::Map< Aws::String, Aws::String > &&value)
CreateOTAUpdateRequest & AddAdditionalParameters(Aws::String &&key, const Aws::String &value)
void SetTargets(Aws::Vector< Aws::String > &&value)
void SetTargetSelection(TargetSelection &&value)
bool FilesHasBeenSet() const
CreateOTAUpdateRequest & WithDescription(const Aws::String &value)
void SetRoleArn(const char *value)
CreateOTAUpdateRequest & WithOtaUpdateId(const char *value)
bool OtaUpdateIdHasBeenSet() const
void SetProtocols(Aws::Vector< Protocol > &&value)
CreateOTAUpdateRequest & WithDescription(Aws::String &&value)
void SetAwsJobExecutionsRolloutConfig(const AwsJobExecutionsRolloutConfig &value)
CreateOTAUpdateRequest & WithAwsJobPresignedUrlConfig(const AwsJobPresignedUrlConfig &value)
CreateOTAUpdateRequest & WithDescription(const char *value)
CreateOTAUpdateRequest & WithAwsJobTimeoutConfig(AwsJobTimeoutConfig &&value)
void SetAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfig &&value)
CreateOTAUpdateRequest & WithTags(const Aws::Vector< Tag > &value)
CreateOTAUpdateRequest & AddAdditionalParameters(Aws::String &&key, Aws::String &&value)
void SetDescription(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalParameters() const
CreateOTAUpdateRequest & WithFiles(const Aws::Vector< OTAUpdateFile > &value)
void SetTargets(const Aws::Vector< Aws::String > &value)
void SetAwsJobPresignedUrlConfig(const AwsJobPresignedUrlConfig &value)
void SetTargetSelection(const TargetSelection &value)
CreateOTAUpdateRequest & AddAdditionalParameters(const Aws::String &key, const Aws::String &value)
void SetAdditionalParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetOtaUpdateId(const char *value)
const Aws::String & GetRoleArn() const
const Aws::Vector< Tag > & GetTags() const
const Aws::Vector< OTAUpdateFile > & GetFiles() const
void SetAwsJobTimeoutConfig(AwsJobTimeoutConfig &&value)
void SetTags(Aws::Vector< Tag > &&value)
CreateOTAUpdateRequest & WithTargetSelection(TargetSelection &&value)
void SetOtaUpdateId(Aws::String &&value)
const AwsJobPresignedUrlConfig & GetAwsJobPresignedUrlConfig() const
CreateOTAUpdateRequest & WithOtaUpdateId(const Aws::String &value)
CreateOTAUpdateRequest & WithTags(Aws::Vector< Tag > &&value)
CreateOTAUpdateRequest & WithProtocols(Aws::Vector< Protocol > &&value)
const AwsJobAbortConfig & GetAwsJobAbortConfig() const
bool AdditionalParametersHasBeenSet() const
CreateOTAUpdateRequest & AddTags(const Tag &value)
const Aws::Vector< Aws::String > & GetTargets() const
CreateOTAUpdateRequest & WithAwsJobPresignedUrlConfig(AwsJobPresignedUrlConfig &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector