7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/TargetSelection.h>
10#include <aws/iot/model/JobStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iot/model/PresignedUrlConfig.h>
13#include <aws/iot/model/JobExecutionsRolloutConfig.h>
14#include <aws/iot/model/AbortConfig.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/iot/model/JobProcessDetails.h>
17#include <aws/iot/model/TimeoutConfig.h>
18#include <aws/iot/model/JobExecutionsRetryConfig.h>
19#include <aws/core/utils/memory/stl/AWSMap.h>
20#include <aws/iot/model/SchedulingConfig.h>
21#include <aws/iot/model/ScheduledJobRollout.h>
63 inline void SetJobArn(
const char* value) { m_jobArnHasBeenSet =
true; m_jobArn.assign(value); }
77 inline void SetJobId(
const char* value) { m_jobIdHasBeenSet =
true; m_jobId.assign(value); }
124 inline void SetForceCanceled(
bool value) { m_forceCanceledHasBeenSet =
true; m_forceCanceled = value; }
136 inline void SetReasonCode(
const char* value) { m_reasonCodeHasBeenSet =
true; m_reasonCode.assign(value); }
150 inline void SetComment(
const char* value) { m_commentHasBeenSet =
true; m_comment.assign(value); }
168 inline Job&
AddTargets(
const char* value) { m_targetsHasBeenSet =
true; m_targets.push_back(value);
return *
this; }
179 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
301 inline void SetNamespaceId(
const char* value) { m_namespaceIdHasBeenSet =
true; m_namespaceId.assign(value); }
315 inline void SetJobTemplateArn(
const char* value) { m_jobTemplateArnHasBeenSet =
true; m_jobTemplateArn.assign(value); }
354 inline Job&
AddDocumentParameters(
const char* key,
const char* value) { m_documentParametersHasBeenSet =
true; m_documentParameters.emplace(key, value);
return *
this; }
365 inline void SetIsConcurrent(
bool value) { m_isConcurrentHasBeenSet =
true; m_isConcurrent = value; }
418 inline Job&
AddDestinationPackageVersions(
const char* value) { m_destinationPackageVersionsHasBeenSet =
true; m_destinationPackageVersions.push_back(value);
return *
this; }
423 bool m_jobArnHasBeenSet =
false;
426 bool m_jobIdHasBeenSet =
false;
429 bool m_targetSelectionHasBeenSet =
false;
432 bool m_statusHasBeenSet =
false;
434 bool m_forceCanceled;
435 bool m_forceCanceledHasBeenSet =
false;
438 bool m_reasonCodeHasBeenSet =
false;
441 bool m_commentHasBeenSet =
false;
444 bool m_targetsHasBeenSet =
false;
447 bool m_descriptionHasBeenSet =
false;
450 bool m_presignedUrlConfigHasBeenSet =
false;
453 bool m_jobExecutionsRolloutConfigHasBeenSet =
false;
456 bool m_abortConfigHasBeenSet =
false;
459 bool m_createdAtHasBeenSet =
false;
462 bool m_lastUpdatedAtHasBeenSet =
false;
465 bool m_completedAtHasBeenSet =
false;
468 bool m_jobProcessDetailsHasBeenSet =
false;
471 bool m_timeoutConfigHasBeenSet =
false;
474 bool m_namespaceIdHasBeenSet =
false;
477 bool m_jobTemplateArnHasBeenSet =
false;
480 bool m_jobExecutionsRetryConfigHasBeenSet =
false;
483 bool m_documentParametersHasBeenSet =
false;
486 bool m_isConcurrentHasBeenSet =
false;
489 bool m_schedulingConfigHasBeenSet =
false;
492 bool m_scheduledJobRolloutsHasBeenSet =
false;
495 bool m_destinationPackageVersionsHasBeenSet =
false;
void SetForceCanceled(bool value)
bool CommentHasBeenSet() const
const Aws::String & GetJobId() const
void SetSchedulingConfig(const SchedulingConfig &value)
bool AbortConfigHasBeenSet() const
Job & WithJobTemplateArn(Aws::String &&value)
const Aws::String & GetComment() const
Job & WithJobProcessDetails(JobProcessDetails &&value)
const AbortConfig & GetAbortConfig() const
void SetDocumentParameters(Aws::Map< Aws::String, Aws::String > &&value)
bool SchedulingConfigHasBeenSet() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(const char *value)
bool TargetSelectionHasBeenSet() const
void SetJobId(const char *value)
AWS_IOT_API Job(Aws::Utils::Json::JsonView jsonValue)
bool JobExecutionsRolloutConfigHasBeenSet() const
Job & WithJobExecutionsRetryConfig(const JobExecutionsRetryConfig &value)
const Aws::String & GetNamespaceId() const
Job & WithJobExecutionsRolloutConfig(const JobExecutionsRolloutConfig &value)
Job & WithStatus(const JobStatus &value)
Job & AddTargets(const Aws::String &value)
bool DocumentParametersHasBeenSet() const
Job & WithJobProcessDetails(const JobProcessDetails &value)
const JobProcessDetails & GetJobProcessDetails() const
Job & WithDocumentParameters(Aws::Map< Aws::String, Aws::String > &&value)
Job & WithIsConcurrent(bool value)
void SetJobArn(const char *value)
void SetJobTemplateArn(const Aws::String &value)
Job & AddDocumentParameters(Aws::String &&key, const char *value)
bool TimeoutConfigHasBeenSet() const
void SetDescription(const Aws::String &value)
Job & WithComment(const char *value)
bool ForceCanceledHasBeenSet() const
Job & WithDocumentParameters(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetReasonCode() const
Job & WithJobTemplateArn(const char *value)
Job & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Job & AddDocumentParameters(Aws::String &&key, Aws::String &&value)
Job & WithTimeoutConfig(TimeoutConfig &&value)
const JobExecutionsRolloutConfig & GetJobExecutionsRolloutConfig() const
Job & WithJobExecutionsRetryConfig(JobExecutionsRetryConfig &&value)
void SetJobId(const Aws::String &value)
Job & WithTargets(Aws::Vector< Aws::String > &&value)
Job & AddDocumentParameters(const char *key, Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Job & AddScheduledJobRollouts(ScheduledJobRollout &&value)
void SetSchedulingConfig(SchedulingConfig &&value)
void SetIsConcurrent(bool value)
const Aws::String & GetDescription() const
void SetComment(Aws::String &&value)
void SetDestinationPackageVersions(Aws::Vector< Aws::String > &&value)
bool GetIsConcurrent() const
Job & AddDocumentParameters(Aws::String &&key, const Aws::String &value)
Job & WithForceCanceled(bool value)
Job & WithDescription(const char *value)
void SetAbortConfig(const AbortConfig &value)
Job & WithTimeoutConfig(const TimeoutConfig &value)
void SetDestinationPackageVersions(const Aws::Vector< Aws::String > &value)
void SetJobTemplateArn(const char *value)
bool CompletedAtHasBeenSet() const
Job & WithScheduledJobRollouts(Aws::Vector< ScheduledJobRollout > &&value)
Job & WithJobTemplateArn(const Aws::String &value)
void SetTargetSelection(TargetSelection &&value)
const SchedulingConfig & GetSchedulingConfig() const
bool DestinationPackageVersionsHasBeenSet() const
const TimeoutConfig & GetTimeoutConfig() const
void SetDescription(Aws::String &&value)
void SetCompletedAt(const Aws::Utils::DateTime &value)
void SetJobExecutionsRolloutConfig(JobExecutionsRolloutConfig &&value)
void SetNamespaceId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetDocumentParameters() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
Job & WithNamespaceId(const char *value)
Job & WithReasonCode(const char *value)
Job & WithNamespaceId(Aws::String &&value)
void SetAbortConfig(AbortConfig &&value)
Job & AddDestinationPackageVersions(Aws::String &&value)
void SetCompletedAt(Aws::Utils::DateTime &&value)
const Aws::Vector< ScheduledJobRollout > & GetScheduledJobRollouts() const
void SetStatus(JobStatus &&value)
void SetJobExecutionsRetryConfig(JobExecutionsRetryConfig &&value)
bool NamespaceIdHasBeenSet() const
Job & WithStatus(JobStatus &&value)
const TargetSelection & GetTargetSelection() const
void SetJobExecutionsRetryConfig(const JobExecutionsRetryConfig &value)
void SetTargetSelection(const TargetSelection &value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCompletedAt() const
const Aws::String & GetJobArn() const
bool JobProcessDetailsHasBeenSet() const
void SetPresignedUrlConfig(PresignedUrlConfig &&value)
Job & WithDestinationPackageVersions(Aws::Vector< Aws::String > &&value)
Job & WithJobExecutionsRolloutConfig(JobExecutionsRolloutConfig &&value)
Job & WithPresignedUrlConfig(PresignedUrlConfig &&value)
Job & WithDestinationPackageVersions(const Aws::Vector< Aws::String > &value)
bool LastUpdatedAtHasBeenSet() const
Job & WithJobId(const Aws::String &value)
Job & AddDocumentParameters(const Aws::String &key, const Aws::String &value)
const Aws::Vector< Aws::String > & GetDestinationPackageVersions() const
void SetComment(const Aws::String &value)
Job & WithScheduledJobRollouts(const Aws::Vector< ScheduledJobRollout > &value)
void SetTargets(Aws::Vector< Aws::String > &&value)
Job & WithCompletedAt(const Aws::Utils::DateTime &value)
Job & AddTargets(Aws::String &&value)
bool ReasonCodeHasBeenSet() const
bool CreatedAtHasBeenSet() const
Job & WithJobArn(const Aws::String &value)
const PresignedUrlConfig & GetPresignedUrlConfig() const
const JobStatus & GetStatus() const
const Aws::String & GetJobTemplateArn() const
Job & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Job & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetJobProcessDetails(const JobProcessDetails &value)
Job & WithJobArn(const char *value)
Job & WithPresignedUrlConfig(const PresignedUrlConfig &value)
Job & WithAbortConfig(AbortConfig &&value)
void SetNamespaceId(const Aws::String &value)
void SetPresignedUrlConfig(const PresignedUrlConfig &value)
void SetStatus(const JobStatus &value)
void SetJobId(Aws::String &&value)
Job & AddDestinationPackageVersions(const char *value)
void SetJobTemplateArn(Aws::String &&value)
void SetTargets(const Aws::Vector< Aws::String > &value)
void SetReasonCode(const char *value)
Job & WithJobArn(Aws::String &&value)
void SetScheduledJobRollouts(const Aws::Vector< ScheduledJobRollout > &value)
bool StatusHasBeenSet() const
Job & AddTargets(const char *value)
void SetScheduledJobRollouts(Aws::Vector< ScheduledJobRollout > &&value)
Job & AddDocumentParameters(const char *key, const char *value)
Job & WithTargetSelection(TargetSelection &&value)
bool JobArnHasBeenSet() const
const Aws::Vector< Aws::String > & GetTargets() const
bool TargetsHasBeenSet() const
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetJobArn(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
Job & WithComment(Aws::String &&value)
Job & WithJobId(const char *value)
Job & AddScheduledJobRollouts(const ScheduledJobRollout &value)
Job & WithSchedulingConfig(SchedulingConfig &&value)
void SetReasonCode(Aws::String &&value)
bool PresignedUrlConfigHasBeenSet() const
Job & WithCompletedAt(Aws::Utils::DateTime &&value)
void SetJobProcessDetails(JobProcessDetails &&value)
bool DescriptionHasBeenSet() const
Job & WithReasonCode(Aws::String &&value)
Job & WithNamespaceId(const Aws::String &value)
Job & WithCreatedAt(Aws::Utils::DateTime &&value)
bool ScheduledJobRolloutsHasBeenSet() const
Job & AddDestinationPackageVersions(const Aws::String &value)
Job & WithSchedulingConfig(const SchedulingConfig &value)
void SetJobExecutionsRolloutConfig(const JobExecutionsRolloutConfig &value)
bool IsConcurrentHasBeenSet() const
const JobExecutionsRetryConfig & GetJobExecutionsRetryConfig() const
bool JobIdHasBeenSet() const
Job & AddDocumentParameters(const Aws::String &key, Aws::String &&value)
void SetTimeoutConfig(TimeoutConfig &&value)
Job & WithJobId(Aws::String &&value)
AWS_IOT_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetComment(const char *value)
Job & WithReasonCode(const Aws::String &value)
Job & WithAbortConfig(const AbortConfig &value)
void SetReasonCode(const Aws::String &value)
void SetNamespaceId(const char *value)
void SetJobArn(Aws::String &&value)
Job & WithTargetSelection(const TargetSelection &value)
Job & WithTargets(const Aws::Vector< Aws::String > &value)
bool GetForceCanceled() const
Job & WithDescription(const Aws::String &value)
void SetDocumentParameters(const Aws::Map< Aws::String, Aws::String > &value)
bool JobExecutionsRetryConfigHasBeenSet() const
Job & WithDescription(Aws::String &&value)
void SetTimeoutConfig(const TimeoutConfig &value)
Job & WithComment(const Aws::String &value)
bool JobTemplateArnHasBeenSet() 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