7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iot/IoT_EXPORTS.h>
12#include <aws/iot/model/AwsJobExecutionsRolloutConfig.h>
13#include <aws/iot/model/AwsJobPresignedUrlConfig.h>
14#include <aws/iot/model/ErrorInfo.h>
15#include <aws/iot/model/OTAUpdateFile.h>
16#include <aws/iot/model/OTAUpdateStatus.h>
17#include <aws/iot/model/Protocol.h>
18#include <aws/iot/model/TargetSelection.h>
50 template <
typename OtaUpdateIdT = Aws::String>
52 m_otaUpdateIdHasBeenSet =
true;
53 m_otaUpdateId = std::forward<OtaUpdateIdT>(value);
55 template <
typename OtaUpdateIdT = Aws::String>
68 template <
typename OtaUpdateArnT = Aws::String>
70 m_otaUpdateArnHasBeenSet =
true;
71 m_otaUpdateArn = std::forward<OtaUpdateArnT>(value);
73 template <
typename OtaUpdateArnT = Aws::String>
86 template <
typename CreationDateT = Aws::Utils::DateTime>
88 m_creationDateHasBeenSet =
true;
89 m_creationDate = std::forward<CreationDateT>(value);
91 template <
typename CreationDateT = Aws::Utils::DateTime>
104 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
106 m_lastModifiedDateHasBeenSet =
true;
107 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
109 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
122 template <
typename DescriptionT = Aws::String>
124 m_descriptionHasBeenSet =
true;
125 m_description = std::forward<DescriptionT>(value);
127 template <
typename DescriptionT = Aws::String>
140 template <
typename TargetsT = Aws::Vector<Aws::String>>
142 m_targetsHasBeenSet =
true;
143 m_targets = std::forward<TargetsT>(value);
145 template <
typename TargetsT = Aws::Vector<Aws::String>>
150 template <
typename TargetsT = Aws::String>
152 m_targetsHasBeenSet =
true;
153 m_targets.emplace_back(std::forward<TargetsT>(value));
166 template <
typename ProtocolsT = Aws::Vector<Protocol>>
168 m_protocolsHasBeenSet =
true;
169 m_protocols = std::forward<ProtocolsT>(value);
171 template <
typename ProtocolsT = Aws::Vector<Protocol>>
177 m_protocolsHasBeenSet =
true;
178 m_protocols.push_back(value);
189 template <
typename AwsJobExecutionsRolloutConfigT = AwsJobExecutionsRolloutConfig>
191 m_awsJobExecutionsRolloutConfigHasBeenSet =
true;
192 m_awsJobExecutionsRolloutConfig = std::forward<AwsJobExecutionsRolloutConfigT>(value);
194 template <
typename AwsJobExecutionsRolloutConfigT = AwsJobExecutionsRolloutConfig>
208 template <
typename AwsJobPre
signedUrlConfigT = AwsJobPre
signedUrlConfig>
210 m_awsJobPresignedUrlConfigHasBeenSet =
true;
211 m_awsJobPresignedUrlConfig = std::forward<AwsJobPresignedUrlConfigT>(value);
213 template <
typename AwsJobPre
signedUrlConfigT = AwsJobPre
signedUrlConfig>
232 m_targetSelectionHasBeenSet =
true;
233 m_targetSelection = value;
247 template <
typename OtaUpdateFilesT = Aws::Vector<OTAUpdateFile>>
249 m_otaUpdateFilesHasBeenSet =
true;
250 m_otaUpdateFiles = std::forward<OtaUpdateFilesT>(value);
252 template <
typename OtaUpdateFilesT = Aws::Vector<OTAUpdateFile>>
257 template <
typename OtaUpdateFilesT = OTAUpdateFile>
259 m_otaUpdateFilesHasBeenSet =
true;
260 m_otaUpdateFiles.emplace_back(std::forward<OtaUpdateFilesT>(value));
272 m_otaUpdateStatusHasBeenSet =
true;
273 m_otaUpdateStatus = value;
287 template <
typename AwsIotJobIdT = Aws::String>
289 m_awsIotJobIdHasBeenSet =
true;
290 m_awsIotJobId = std::forward<AwsIotJobIdT>(value);
292 template <
typename AwsIotJobIdT = Aws::String>
305 template <
typename AwsIotJobArnT = Aws::String>
307 m_awsIotJobArnHasBeenSet =
true;
308 m_awsIotJobArn = std::forward<AwsIotJobArnT>(value);
310 template <
typename AwsIotJobArnT = Aws::String>
323 template <
typename ErrorInfoT = ErrorInfo>
325 m_errorInfoHasBeenSet =
true;
326 m_errorInfo = std::forward<ErrorInfoT>(value);
328 template <
typename ErrorInfoT = ErrorInfo>
341 template <
typename AdditionalParametersT = Aws::Map<Aws::String, Aws::String>>
343 m_additionalParametersHasBeenSet =
true;
344 m_additionalParameters = std::forward<AdditionalParametersT>(value);
346 template <
typename AdditionalParametersT = Aws::Map<Aws::String, Aws::String>>
351 template <
typename AdditionalParametersKeyT = Aws::String,
typename AdditionalParametersValueT = Aws::String>
353 m_additionalParametersHasBeenSet =
true;
354 m_additionalParameters.emplace(std::forward<AdditionalParametersKeyT>(key), std::forward<AdditionalParametersValueT>(value));
373 AwsJobExecutionsRolloutConfig m_awsJobExecutionsRolloutConfig;
375 AwsJobPresignedUrlConfig m_awsJobPresignedUrlConfig;
387 ErrorInfo m_errorInfo;
390 bool m_otaUpdateIdHasBeenSet =
false;
391 bool m_otaUpdateArnHasBeenSet =
false;
392 bool m_creationDateHasBeenSet =
false;
393 bool m_lastModifiedDateHasBeenSet =
false;
394 bool m_descriptionHasBeenSet =
false;
395 bool m_targetsHasBeenSet =
false;
396 bool m_protocolsHasBeenSet =
false;
397 bool m_awsJobExecutionsRolloutConfigHasBeenSet =
false;
398 bool m_awsJobPresignedUrlConfigHasBeenSet =
false;
399 bool m_targetSelectionHasBeenSet =
false;
400 bool m_otaUpdateFilesHasBeenSet =
false;
401 bool m_otaUpdateStatusHasBeenSet =
false;
402 bool m_awsIotJobIdHasBeenSet =
false;
403 bool m_awsIotJobArnHasBeenSet =
false;
404 bool m_errorInfoHasBeenSet =
false;
405 bool m_additionalParametersHasBeenSet =
false;
bool AwsJobExecutionsRolloutConfigHasBeenSet() const
bool AdditionalParametersHasBeenSet() const
OTAUpdateInfo & AddOtaUpdateFiles(OtaUpdateFilesT &&value)
void SetOtaUpdateId(OtaUpdateIdT &&value)
OTAUpdateInfo & WithOtaUpdateFiles(OtaUpdateFilesT &&value)
const Aws::Vector< Protocol > & GetProtocols() const
AWS_IOT_API OTAUpdateInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API OTAUpdateInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
OTAUpdateInfo & WithDescription(DescriptionT &&value)
OTAUpdateInfo & WithAwsIotJobArn(AwsIotJobArnT &&value)
void SetOtaUpdateStatus(OTAUpdateStatus value)
const Aws::Vector< Aws::String > & GetTargets() const
void SetTargetSelection(TargetSelection value)
bool CreationDateHasBeenSet() const
void SetAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfigT &&value)
OTAUpdateStatus GetOtaUpdateStatus() const
const Aws::String & GetOtaUpdateId() const
OTAUpdateInfo & AddTargets(TargetsT &&value)
bool TargetSelectionHasBeenSet() const
const Aws::String & GetAwsIotJobId() const
const Aws::String & GetAwsIotJobArn() const
OTAUpdateInfo & WithProtocols(ProtocolsT &&value)
const ErrorInfo & GetErrorInfo() const
const Aws::String & GetOtaUpdateArn() const
bool TargetsHasBeenSet() const
OTAUpdateInfo & WithAwsJobPresignedUrlConfig(AwsJobPresignedUrlConfigT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
bool LastModifiedDateHasBeenSet() const
const Aws::Utils::DateTime & GetCreationDate() const
bool OtaUpdateFilesHasBeenSet() const
void SetCreationDate(CreationDateT &&value)
OTAUpdateInfo & WithOtaUpdateStatus(OTAUpdateStatus value)
void SetAwsIotJobArn(AwsIotJobArnT &&value)
void SetOtaUpdateFiles(OtaUpdateFilesT &&value)
const Aws::String & GetDescription() const
void SetProtocols(ProtocolsT &&value)
bool AwsIotJobIdHasBeenSet() const
void SetAwsIotJobId(AwsIotJobIdT &&value)
OTAUpdateInfo & WithAwsIotJobId(AwsIotJobIdT &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
void SetDescription(DescriptionT &&value)
void SetTargets(TargetsT &&value)
bool AwsJobPresignedUrlConfigHasBeenSet() const
OTAUpdateInfo & WithAwsJobExecutionsRolloutConfig(AwsJobExecutionsRolloutConfigT &&value)
OTAUpdateInfo & WithLastModifiedDate(LastModifiedDateT &&value)
void SetAwsJobPresignedUrlConfig(AwsJobPresignedUrlConfigT &&value)
const Aws::Vector< OTAUpdateFile > & GetOtaUpdateFiles() const
OTAUpdateInfo & WithOtaUpdateArn(OtaUpdateArnT &&value)
bool ProtocolsHasBeenSet() const
bool DescriptionHasBeenSet() const
bool OtaUpdateIdHasBeenSet() const
OTAUpdateInfo & WithAdditionalParameters(AdditionalParametersT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOtaUpdateArn(OtaUpdateArnT &&value)
void SetAdditionalParameters(AdditionalParametersT &&value)
OTAUpdateInfo & WithTargets(TargetsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalParameters() const
OTAUpdateInfo & AddProtocols(Protocol value)
AWS_IOT_API OTAUpdateInfo()=default
TargetSelection GetTargetSelection() const
bool OtaUpdateArnHasBeenSet() const
OTAUpdateInfo & WithOtaUpdateId(OtaUpdateIdT &&value)
const AwsJobPresignedUrlConfig & GetAwsJobPresignedUrlConfig() const
bool ErrorInfoHasBeenSet() const
OTAUpdateInfo & AddAdditionalParameters(AdditionalParametersKeyT &&key, AdditionalParametersValueT &&value)
void SetErrorInfo(ErrorInfoT &&value)
OTAUpdateInfo & WithTargetSelection(TargetSelection value)
OTAUpdateInfo & WithCreationDate(CreationDateT &&value)
bool OtaUpdateStatusHasBeenSet() const
OTAUpdateInfo & WithErrorInfo(ErrorInfoT &&value)
const AwsJobExecutionsRolloutConfig & GetAwsJobExecutionsRolloutConfig() const
bool AwsIotJobArnHasBeenSet() const
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