7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iot/model/AwsJobExecutionsRolloutConfig.h>
12#include <aws/iot/model/AwsJobPresignedUrlConfig.h>
13#include <aws/iot/model/TargetSelection.h>
14#include <aws/iot/model/OTAUpdateStatus.h>
15#include <aws/iot/model/ErrorInfo.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/iot/model/Protocol.h>
18#include <aws/iot/model/OTAUpdateFile.h>
58 inline void SetOtaUpdateId(
const char* value) { m_otaUpdateIdHasBeenSet =
true; m_otaUpdateId.assign(value); }
72 inline void SetOtaUpdateArn(
const char* value) { m_otaUpdateArnHasBeenSet =
true; m_otaUpdateArn.assign(value); }
110 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
223 inline void SetAwsIotJobId(
const char* value) { m_awsIotJobIdHasBeenSet =
true; m_awsIotJobId.assign(value); }
237 inline void SetAwsIotJobArn(
const char* value) { m_awsIotJobArnHasBeenSet =
true; m_awsIotJobArn.assign(value); }
276 bool m_otaUpdateIdHasBeenSet =
false;
279 bool m_otaUpdateArnHasBeenSet =
false;
282 bool m_creationDateHasBeenSet =
false;
285 bool m_lastModifiedDateHasBeenSet =
false;
288 bool m_descriptionHasBeenSet =
false;
291 bool m_targetsHasBeenSet =
false;
294 bool m_protocolsHasBeenSet =
false;
297 bool m_awsJobExecutionsRolloutConfigHasBeenSet =
false;
300 bool m_awsJobPresignedUrlConfigHasBeenSet =
false;
303 bool m_targetSelectionHasBeenSet =
false;
306 bool m_otaUpdateFilesHasBeenSet =
false;
309 bool m_otaUpdateStatusHasBeenSet =
false;
312 bool m_awsIotJobIdHasBeenSet =
false;
315 bool m_awsIotJobArnHasBeenSet =
false;
318 bool m_errorInfoHasBeenSet =
false;
321 bool m_additionalParametersHasBeenSet =
false;
OTAUpdateInfo & WithTargetSelection(TargetSelection &&value)
void SetCreationDate(Aws::Utils::DateTime &&value)
bool AwsJobExecutionsRolloutConfigHasBeenSet() const
bool AdditionalParametersHasBeenSet() const
const Aws::Vector< Protocol > & GetProtocols() const
AWS_IOT_API OTAUpdateInfo(Aws::Utils::Json::JsonView jsonValue)
OTAUpdateInfo & WithOtaUpdateStatus(OTAUpdateStatus &&value)
OTAUpdateInfo & WithOtaUpdateFiles(const Aws::Vector< OTAUpdateFile > &value)
AWS_IOT_API OTAUpdateInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
OTAUpdateInfo & WithErrorInfo(ErrorInfo &&value)
OTAUpdateInfo & WithAwsJobPresignedUrlConfig(const AwsJobPresignedUrlConfig &value)
OTAUpdateInfo & WithTargets(const Aws::Vector< Aws::String > &value)
OTAUpdateInfo & AddTargets(const char *value)
OTAUpdateInfo & AddProtocols(const Protocol &value)
void SetOtaUpdateArn(const Aws::String &value)
void SetOtaUpdateId(const Aws::String &value)
const OTAUpdateStatus & GetOtaUpdateStatus() const
void SetTargetSelection(TargetSelection &&value)
OTAUpdateInfo & AddTargets(const Aws::String &value)
OTAUpdateInfo & WithProtocols(const Aws::Vector< Protocol > &value)
void SetAwsIotJobArn(Aws::String &&value)
void SetAwsIotJobId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetTargets() const
void SetOtaUpdateArn(Aws::String &&value)
void SetDescription(const Aws::String &value)
OTAUpdateInfo & WithErrorInfo(const ErrorInfo &value)
OTAUpdateInfo & AddAdditionalParameters(const Aws::String &key, const Aws::String &value)
void SetErrorInfo(ErrorInfo &&value)
bool CreationDateHasBeenSet() const
OTAUpdateInfo & AddTargets(Aws::String &&value)
void SetAwsIotJobArn(const Aws::String &value)
const TargetSelection & GetTargetSelection() const
OTAUpdateInfo & WithAwsIotJobArn(const Aws::String &value)
OTAUpdateInfo & WithCreationDate(const Aws::Utils::DateTime &value)
OTAUpdateInfo & WithDescription(Aws::String &&value)
const Aws::String & GetOtaUpdateId() const
OTAUpdateInfo & WithAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfig &&value)
OTAUpdateInfo & WithLastModifiedDate(const Aws::Utils::DateTime &value)
OTAUpdateInfo & WithProtocols(Aws::Vector< Protocol > &&value)
OTAUpdateInfo & WithOtaUpdateArn(Aws::String &&value)
bool TargetSelectionHasBeenSet() const
const Aws::String & GetAwsIotJobId() const
OTAUpdateInfo & WithAwsIotJobArn(Aws::String &&value)
const Aws::String & GetAwsIotJobArn() const
OTAUpdateInfo & WithOtaUpdateId(const char *value)
void SetOtaUpdateFiles(const Aws::Vector< OTAUpdateFile > &value)
OTAUpdateInfo & AddAdditionalParameters(const char *key, Aws::String &&value)
void SetOtaUpdateFiles(Aws::Vector< OTAUpdateFile > &&value)
OTAUpdateInfo & AddAdditionalParameters(const char *key, const char *value)
const ErrorInfo & GetErrorInfo() const
OTAUpdateInfo & WithDescription(const Aws::String &value)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
OTAUpdateInfo & WithOtaUpdateArn(const Aws::String &value)
const Aws::String & GetOtaUpdateArn() const
OTAUpdateInfo & WithOtaUpdateId(Aws::String &&value)
OTAUpdateInfo & WithTargetSelection(const TargetSelection &value)
bool TargetsHasBeenSet() const
bool LastModifiedDateHasBeenSet() const
OTAUpdateInfo & WithAdditionalParameters(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Utils::DateTime & GetCreationDate() const
bool OtaUpdateFilesHasBeenSet() const
void SetAwsIotJobId(const char *value)
OTAUpdateInfo & WithAwsIotJobArn(const char *value)
const Aws::String & GetDescription() const
bool AwsIotJobIdHasBeenSet() const
void SetProtocols(Aws::Vector< Protocol > &&value)
void SetTargets(const Aws::Vector< Aws::String > &value)
void SetTargets(Aws::Vector< Aws::String > &&value)
OTAUpdateInfo & WithOtaUpdateArn(const char *value)
void SetOtaUpdateStatus(OTAUpdateStatus &&value)
AWS_IOT_API OTAUpdateInfo()
const Aws::Utils::DateTime & GetLastModifiedDate() const
OTAUpdateInfo & AddAdditionalParameters(Aws::String &&key, Aws::String &&value)
OTAUpdateInfo & WithLastModifiedDate(Aws::Utils::DateTime &&value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
OTAUpdateInfo & AddOtaUpdateFiles(const OTAUpdateFile &value)
bool AwsJobPresignedUrlConfigHasBeenSet() const
void SetOtaUpdateStatus(const OTAUpdateStatus &value)
void SetOtaUpdateId(Aws::String &&value)
const Aws::Vector< OTAUpdateFile > & GetOtaUpdateFiles() const
bool ProtocolsHasBeenSet() const
bool DescriptionHasBeenSet() const
bool OtaUpdateIdHasBeenSet() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
OTAUpdateInfo & WithAwsJobPresignedUrlConfig(AwsJobPresignedUrlConfig &&value)
OTAUpdateInfo & WithOtaUpdateFiles(Aws::Vector< OTAUpdateFile > &&value)
OTAUpdateInfo & WithOtaUpdateId(const Aws::String &value)
void SetAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfig &&value)
OTAUpdateInfo & AddAdditionalParameters(Aws::String &&key, const Aws::String &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
OTAUpdateInfo & AddOtaUpdateFiles(OTAUpdateFile &&value)
void SetAwsJobPresignedUrlConfig(const AwsJobPresignedUrlConfig &value)
OTAUpdateInfo & WithAwsJobExecutionsRolloutConfig(const AwsJobExecutionsRolloutConfig &value)
void SetOtaUpdateArn(const char *value)
OTAUpdateInfo & WithTargets(Aws::Vector< Aws::String > &&value)
void SetErrorInfo(const ErrorInfo &value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalParameters() const
void SetAdditionalParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetTargetSelection(const TargetSelection &value)
OTAUpdateInfo & WithAdditionalParameters(Aws::Map< Aws::String, Aws::String > &&value)
bool OtaUpdateArnHasBeenSet() const
void SetDescription(const char *value)
OTAUpdateInfo & AddAdditionalParameters(Aws::String &&key, const char *value)
void SetAdditionalParameters(const Aws::Map< Aws::String, Aws::String > &value)
OTAUpdateInfo & WithAwsIotJobId(Aws::String &&value)
const AwsJobPresignedUrlConfig & GetAwsJobPresignedUrlConfig() const
void SetDescription(Aws::String &&value)
void SetOtaUpdateId(const char *value)
bool ErrorInfoHasBeenSet() const
OTAUpdateInfo & WithOtaUpdateStatus(const OTAUpdateStatus &value)
void SetAwsIotJobArn(const char *value)
OTAUpdateInfo & WithAwsIotJobId(const Aws::String &value)
void SetAwsJobExecutionsRolloutConfig(const AwsJobExecutionsRolloutConfig &value)
bool OtaUpdateStatusHasBeenSet() const
OTAUpdateInfo & WithAwsIotJobId(const char *value)
const AwsJobExecutionsRolloutConfig & GetAwsJobExecutionsRolloutConfig() const
OTAUpdateInfo & AddAdditionalParameters(const Aws::String &key, Aws::String &&value)
OTAUpdateInfo & WithCreationDate(Aws::Utils::DateTime &&value)
bool AwsIotJobArnHasBeenSet() const
void SetAwsIotJobId(Aws::String &&value)
OTAUpdateInfo & AddProtocols(Protocol &&value)
OTAUpdateInfo & WithDescription(const char *value)
void SetAwsJobPresignedUrlConfig(AwsJobPresignedUrlConfig &&value)
void SetProtocols(const Aws::Vector< Protocol > &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
Aws::Utils::Json::JsonValue JsonValue