AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Job.h
1
6#pragma once
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>
22#include <utility>
23
24namespace Aws
25{
26namespace Utils
27{
28namespace Json
29{
30 class JsonValue;
31 class JsonView;
32} // namespace Json
33} // namespace Utils
34namespace IoT
35{
36namespace Model
37{
38
45 class Job
46 {
47 public:
48 AWS_IOT_API Job();
49 AWS_IOT_API Job(Aws::Utils::Json::JsonView jsonValue);
50 AWS_IOT_API Job& operator=(Aws::Utils::Json::JsonView jsonValue);
52
53
55
59 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
60 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
61 inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; }
62 inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); }
63 inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); }
64 inline Job& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
65 inline Job& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
66 inline Job& WithJobArn(const char* value) { SetJobArn(value); return *this;}
68
70
73 inline const Aws::String& GetJobId() const{ return m_jobId; }
74 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
75 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
76 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
77 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
78 inline Job& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
79 inline Job& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
80 inline Job& WithJobId(const char* value) { SetJobId(value); return *this;}
82
84
95 inline const TargetSelection& GetTargetSelection() const{ return m_targetSelection; }
96 inline bool TargetSelectionHasBeenSet() const { return m_targetSelectionHasBeenSet; }
97 inline void SetTargetSelection(const TargetSelection& value) { m_targetSelectionHasBeenSet = true; m_targetSelection = value; }
98 inline void SetTargetSelection(TargetSelection&& value) { m_targetSelectionHasBeenSet = true; m_targetSelection = std::move(value); }
99 inline Job& WithTargetSelection(const TargetSelection& value) { SetTargetSelection(value); return *this;}
100 inline Job& WithTargetSelection(TargetSelection&& value) { SetTargetSelection(std::move(value)); return *this;}
102
104
109 inline const JobStatus& GetStatus() const{ return m_status; }
110 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
111 inline void SetStatus(const JobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
112 inline void SetStatus(JobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
113 inline Job& WithStatus(const JobStatus& value) { SetStatus(value); return *this;}
114 inline Job& WithStatus(JobStatus&& value) { SetStatus(std::move(value)); return *this;}
116
118
122 inline bool GetForceCanceled() const{ return m_forceCanceled; }
123 inline bool ForceCanceledHasBeenSet() const { return m_forceCanceledHasBeenSet; }
124 inline void SetForceCanceled(bool value) { m_forceCanceledHasBeenSet = true; m_forceCanceled = value; }
125 inline Job& WithForceCanceled(bool value) { SetForceCanceled(value); return *this;}
127
129
132 inline const Aws::String& GetReasonCode() const{ return m_reasonCode; }
133 inline bool ReasonCodeHasBeenSet() const { return m_reasonCodeHasBeenSet; }
134 inline void SetReasonCode(const Aws::String& value) { m_reasonCodeHasBeenSet = true; m_reasonCode = value; }
135 inline void SetReasonCode(Aws::String&& value) { m_reasonCodeHasBeenSet = true; m_reasonCode = std::move(value); }
136 inline void SetReasonCode(const char* value) { m_reasonCodeHasBeenSet = true; m_reasonCode.assign(value); }
137 inline Job& WithReasonCode(const Aws::String& value) { SetReasonCode(value); return *this;}
138 inline Job& WithReasonCode(Aws::String&& value) { SetReasonCode(std::move(value)); return *this;}
139 inline Job& WithReasonCode(const char* value) { SetReasonCode(value); return *this;}
141
143
146 inline const Aws::String& GetComment() const{ return m_comment; }
147 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
148 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
149 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
150 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
151 inline Job& WithComment(const Aws::String& value) { SetComment(value); return *this;}
152 inline Job& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
153 inline Job& WithComment(const char* value) { SetComment(value); return *this;}
155
157
160 inline const Aws::Vector<Aws::String>& GetTargets() const{ return m_targets; }
161 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
162 inline void SetTargets(const Aws::Vector<Aws::String>& value) { m_targetsHasBeenSet = true; m_targets = value; }
163 inline void SetTargets(Aws::Vector<Aws::String>&& value) { m_targetsHasBeenSet = true; m_targets = std::move(value); }
164 inline Job& WithTargets(const Aws::Vector<Aws::String>& value) { SetTargets(value); return *this;}
165 inline Job& WithTargets(Aws::Vector<Aws::String>&& value) { SetTargets(std::move(value)); return *this;}
166 inline Job& AddTargets(const Aws::String& value) { m_targetsHasBeenSet = true; m_targets.push_back(value); return *this; }
167 inline Job& AddTargets(Aws::String&& value) { m_targetsHasBeenSet = true; m_targets.push_back(std::move(value)); return *this; }
168 inline Job& AddTargets(const char* value) { m_targetsHasBeenSet = true; m_targets.push_back(value); return *this; }
170
172
175 inline const Aws::String& GetDescription() const{ return m_description; }
176 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
177 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
178 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
179 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
180 inline Job& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
181 inline Job& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
182 inline Job& WithDescription(const char* value) { SetDescription(value); return *this;}
184
186
189 inline const PresignedUrlConfig& GetPresignedUrlConfig() const{ return m_presignedUrlConfig; }
190 inline bool PresignedUrlConfigHasBeenSet() const { return m_presignedUrlConfigHasBeenSet; }
191 inline void SetPresignedUrlConfig(const PresignedUrlConfig& value) { m_presignedUrlConfigHasBeenSet = true; m_presignedUrlConfig = value; }
192 inline void SetPresignedUrlConfig(PresignedUrlConfig&& value) { m_presignedUrlConfigHasBeenSet = true; m_presignedUrlConfig = std::move(value); }
193 inline Job& WithPresignedUrlConfig(const PresignedUrlConfig& value) { SetPresignedUrlConfig(value); return *this;}
194 inline Job& WithPresignedUrlConfig(PresignedUrlConfig&& value) { SetPresignedUrlConfig(std::move(value)); return *this;}
196
198
201 inline const JobExecutionsRolloutConfig& GetJobExecutionsRolloutConfig() const{ return m_jobExecutionsRolloutConfig; }
202 inline bool JobExecutionsRolloutConfigHasBeenSet() const { return m_jobExecutionsRolloutConfigHasBeenSet; }
203 inline void SetJobExecutionsRolloutConfig(const JobExecutionsRolloutConfig& value) { m_jobExecutionsRolloutConfigHasBeenSet = true; m_jobExecutionsRolloutConfig = value; }
204 inline void SetJobExecutionsRolloutConfig(JobExecutionsRolloutConfig&& value) { m_jobExecutionsRolloutConfigHasBeenSet = true; m_jobExecutionsRolloutConfig = std::move(value); }
208
210
213 inline const AbortConfig& GetAbortConfig() const{ return m_abortConfig; }
214 inline bool AbortConfigHasBeenSet() const { return m_abortConfigHasBeenSet; }
215 inline void SetAbortConfig(const AbortConfig& value) { m_abortConfigHasBeenSet = true; m_abortConfig = value; }
216 inline void SetAbortConfig(AbortConfig&& value) { m_abortConfigHasBeenSet = true; m_abortConfig = std::move(value); }
217 inline Job& WithAbortConfig(const AbortConfig& value) { SetAbortConfig(value); return *this;}
218 inline Job& WithAbortConfig(AbortConfig&& value) { SetAbortConfig(std::move(value)); return *this;}
220
222
225 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
226 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
227 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
228 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
229 inline Job& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
230 inline Job& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
232
234
237 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
238 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
239 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
240 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
241 inline Job& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
242 inline Job& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
244
246
249 inline const Aws::Utils::DateTime& GetCompletedAt() const{ return m_completedAt; }
250 inline bool CompletedAtHasBeenSet() const { return m_completedAtHasBeenSet; }
251 inline void SetCompletedAt(const Aws::Utils::DateTime& value) { m_completedAtHasBeenSet = true; m_completedAt = value; }
252 inline void SetCompletedAt(Aws::Utils::DateTime&& value) { m_completedAtHasBeenSet = true; m_completedAt = std::move(value); }
253 inline Job& WithCompletedAt(const Aws::Utils::DateTime& value) { SetCompletedAt(value); return *this;}
254 inline Job& WithCompletedAt(Aws::Utils::DateTime&& value) { SetCompletedAt(std::move(value)); return *this;}
256
258
261 inline const JobProcessDetails& GetJobProcessDetails() const{ return m_jobProcessDetails; }
262 inline bool JobProcessDetailsHasBeenSet() const { return m_jobProcessDetailsHasBeenSet; }
263 inline void SetJobProcessDetails(const JobProcessDetails& value) { m_jobProcessDetailsHasBeenSet = true; m_jobProcessDetails = value; }
264 inline void SetJobProcessDetails(JobProcessDetails&& value) { m_jobProcessDetailsHasBeenSet = true; m_jobProcessDetails = std::move(value); }
265 inline Job& WithJobProcessDetails(const JobProcessDetails& value) { SetJobProcessDetails(value); return *this;}
266 inline Job& WithJobProcessDetails(JobProcessDetails&& value) { SetJobProcessDetails(std::move(value)); return *this;}
268
270
277 inline const TimeoutConfig& GetTimeoutConfig() const{ return m_timeoutConfig; }
278 inline bool TimeoutConfigHasBeenSet() const { return m_timeoutConfigHasBeenSet; }
279 inline void SetTimeoutConfig(const TimeoutConfig& value) { m_timeoutConfigHasBeenSet = true; m_timeoutConfig = value; }
280 inline void SetTimeoutConfig(TimeoutConfig&& value) { m_timeoutConfigHasBeenSet = true; m_timeoutConfig = std::move(value); }
281 inline Job& WithTimeoutConfig(const TimeoutConfig& value) { SetTimeoutConfig(value); return *this;}
282 inline Job& WithTimeoutConfig(TimeoutConfig&& value) { SetTimeoutConfig(std::move(value)); return *this;}
284
286
297 inline const Aws::String& GetNamespaceId() const{ return m_namespaceId; }
298 inline bool NamespaceIdHasBeenSet() const { return m_namespaceIdHasBeenSet; }
299 inline void SetNamespaceId(const Aws::String& value) { m_namespaceIdHasBeenSet = true; m_namespaceId = value; }
300 inline void SetNamespaceId(Aws::String&& value) { m_namespaceIdHasBeenSet = true; m_namespaceId = std::move(value); }
301 inline void SetNamespaceId(const char* value) { m_namespaceIdHasBeenSet = true; m_namespaceId.assign(value); }
302 inline Job& WithNamespaceId(const Aws::String& value) { SetNamespaceId(value); return *this;}
303 inline Job& WithNamespaceId(Aws::String&& value) { SetNamespaceId(std::move(value)); return *this;}
304 inline Job& WithNamespaceId(const char* value) { SetNamespaceId(value); return *this;}
306
308
311 inline const Aws::String& GetJobTemplateArn() const{ return m_jobTemplateArn; }
312 inline bool JobTemplateArnHasBeenSet() const { return m_jobTemplateArnHasBeenSet; }
313 inline void SetJobTemplateArn(const Aws::String& value) { m_jobTemplateArnHasBeenSet = true; m_jobTemplateArn = value; }
314 inline void SetJobTemplateArn(Aws::String&& value) { m_jobTemplateArnHasBeenSet = true; m_jobTemplateArn = std::move(value); }
315 inline void SetJobTemplateArn(const char* value) { m_jobTemplateArnHasBeenSet = true; m_jobTemplateArn.assign(value); }
316 inline Job& WithJobTemplateArn(const Aws::String& value) { SetJobTemplateArn(value); return *this;}
317 inline Job& WithJobTemplateArn(Aws::String&& value) { SetJobTemplateArn(std::move(value)); return *this;}
318 inline Job& WithJobTemplateArn(const char* value) { SetJobTemplateArn(value); return *this;}
320
322
325 inline const JobExecutionsRetryConfig& GetJobExecutionsRetryConfig() const{ return m_jobExecutionsRetryConfig; }
326 inline bool JobExecutionsRetryConfigHasBeenSet() const { return m_jobExecutionsRetryConfigHasBeenSet; }
327 inline void SetJobExecutionsRetryConfig(const JobExecutionsRetryConfig& value) { m_jobExecutionsRetryConfigHasBeenSet = true; m_jobExecutionsRetryConfig = value; }
328 inline void SetJobExecutionsRetryConfig(JobExecutionsRetryConfig&& value) { m_jobExecutionsRetryConfigHasBeenSet = true; m_jobExecutionsRetryConfig = std::move(value); }
332
334
342 inline const Aws::Map<Aws::String, Aws::String>& GetDocumentParameters() const{ return m_documentParameters; }
343 inline bool DocumentParametersHasBeenSet() const { return m_documentParametersHasBeenSet; }
344 inline void SetDocumentParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_documentParametersHasBeenSet = true; m_documentParameters = value; }
345 inline void SetDocumentParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_documentParametersHasBeenSet = true; m_documentParameters = std::move(value); }
347 inline Job& WithDocumentParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetDocumentParameters(std::move(value)); return *this;}
348 inline Job& AddDocumentParameters(const Aws::String& key, const Aws::String& value) { m_documentParametersHasBeenSet = true; m_documentParameters.emplace(key, value); return *this; }
349 inline Job& AddDocumentParameters(Aws::String&& key, const Aws::String& value) { m_documentParametersHasBeenSet = true; m_documentParameters.emplace(std::move(key), value); return *this; }
350 inline Job& AddDocumentParameters(const Aws::String& key, Aws::String&& value) { m_documentParametersHasBeenSet = true; m_documentParameters.emplace(key, std::move(value)); return *this; }
351 inline Job& AddDocumentParameters(Aws::String&& key, Aws::String&& value) { m_documentParametersHasBeenSet = true; m_documentParameters.emplace(std::move(key), std::move(value)); return *this; }
352 inline Job& AddDocumentParameters(const char* key, Aws::String&& value) { m_documentParametersHasBeenSet = true; m_documentParameters.emplace(key, std::move(value)); return *this; }
353 inline Job& AddDocumentParameters(Aws::String&& key, const char* value) { m_documentParametersHasBeenSet = true; m_documentParameters.emplace(std::move(key), value); return *this; }
354 inline Job& AddDocumentParameters(const char* key, const char* value) { m_documentParametersHasBeenSet = true; m_documentParameters.emplace(key, value); return *this; }
356
358
363 inline bool GetIsConcurrent() const{ return m_isConcurrent; }
364 inline bool IsConcurrentHasBeenSet() const { return m_isConcurrentHasBeenSet; }
365 inline void SetIsConcurrent(bool value) { m_isConcurrentHasBeenSet = true; m_isConcurrent = value; }
366 inline Job& WithIsConcurrent(bool value) { SetIsConcurrent(value); return *this;}
368
370
374 inline const SchedulingConfig& GetSchedulingConfig() const{ return m_schedulingConfig; }
375 inline bool SchedulingConfigHasBeenSet() const { return m_schedulingConfigHasBeenSet; }
376 inline void SetSchedulingConfig(const SchedulingConfig& value) { m_schedulingConfigHasBeenSet = true; m_schedulingConfig = value; }
377 inline void SetSchedulingConfig(SchedulingConfig&& value) { m_schedulingConfigHasBeenSet = true; m_schedulingConfig = std::move(value); }
378 inline Job& WithSchedulingConfig(const SchedulingConfig& value) { SetSchedulingConfig(value); return *this;}
379 inline Job& WithSchedulingConfig(SchedulingConfig&& value) { SetSchedulingConfig(std::move(value)); return *this;}
381
383
387 inline const Aws::Vector<ScheduledJobRollout>& GetScheduledJobRollouts() const{ return m_scheduledJobRollouts; }
388 inline bool ScheduledJobRolloutsHasBeenSet() const { return m_scheduledJobRolloutsHasBeenSet; }
389 inline void SetScheduledJobRollouts(const Aws::Vector<ScheduledJobRollout>& value) { m_scheduledJobRolloutsHasBeenSet = true; m_scheduledJobRollouts = value; }
390 inline void SetScheduledJobRollouts(Aws::Vector<ScheduledJobRollout>&& value) { m_scheduledJobRolloutsHasBeenSet = true; m_scheduledJobRollouts = std::move(value); }
393 inline Job& AddScheduledJobRollouts(const ScheduledJobRollout& value) { m_scheduledJobRolloutsHasBeenSet = true; m_scheduledJobRollouts.push_back(value); return *this; }
394 inline Job& AddScheduledJobRollouts(ScheduledJobRollout&& value) { m_scheduledJobRolloutsHasBeenSet = true; m_scheduledJobRollouts.push_back(std::move(value)); return *this; }
396
398
410 inline const Aws::Vector<Aws::String>& GetDestinationPackageVersions() const{ return m_destinationPackageVersions; }
411 inline bool DestinationPackageVersionsHasBeenSet() const { return m_destinationPackageVersionsHasBeenSet; }
412 inline void SetDestinationPackageVersions(const Aws::Vector<Aws::String>& value) { m_destinationPackageVersionsHasBeenSet = true; m_destinationPackageVersions = value; }
413 inline void SetDestinationPackageVersions(Aws::Vector<Aws::String>&& value) { m_destinationPackageVersionsHasBeenSet = true; m_destinationPackageVersions = std::move(value); }
416 inline Job& AddDestinationPackageVersions(const Aws::String& value) { m_destinationPackageVersionsHasBeenSet = true; m_destinationPackageVersions.push_back(value); return *this; }
417 inline Job& AddDestinationPackageVersions(Aws::String&& value) { m_destinationPackageVersionsHasBeenSet = true; m_destinationPackageVersions.push_back(std::move(value)); return *this; }
418 inline Job& AddDestinationPackageVersions(const char* value) { m_destinationPackageVersionsHasBeenSet = true; m_destinationPackageVersions.push_back(value); return *this; }
420 private:
421
422 Aws::String m_jobArn;
423 bool m_jobArnHasBeenSet = false;
424
425 Aws::String m_jobId;
426 bool m_jobIdHasBeenSet = false;
427
428 TargetSelection m_targetSelection;
429 bool m_targetSelectionHasBeenSet = false;
430
431 JobStatus m_status;
432 bool m_statusHasBeenSet = false;
433
434 bool m_forceCanceled;
435 bool m_forceCanceledHasBeenSet = false;
436
437 Aws::String m_reasonCode;
438 bool m_reasonCodeHasBeenSet = false;
439
440 Aws::String m_comment;
441 bool m_commentHasBeenSet = false;
442
443 Aws::Vector<Aws::String> m_targets;
444 bool m_targetsHasBeenSet = false;
445
446 Aws::String m_description;
447 bool m_descriptionHasBeenSet = false;
448
449 PresignedUrlConfig m_presignedUrlConfig;
450 bool m_presignedUrlConfigHasBeenSet = false;
451
452 JobExecutionsRolloutConfig m_jobExecutionsRolloutConfig;
453 bool m_jobExecutionsRolloutConfigHasBeenSet = false;
454
455 AbortConfig m_abortConfig;
456 bool m_abortConfigHasBeenSet = false;
457
458 Aws::Utils::DateTime m_createdAt;
459 bool m_createdAtHasBeenSet = false;
460
461 Aws::Utils::DateTime m_lastUpdatedAt;
462 bool m_lastUpdatedAtHasBeenSet = false;
463
464 Aws::Utils::DateTime m_completedAt;
465 bool m_completedAtHasBeenSet = false;
466
467 JobProcessDetails m_jobProcessDetails;
468 bool m_jobProcessDetailsHasBeenSet = false;
469
470 TimeoutConfig m_timeoutConfig;
471 bool m_timeoutConfigHasBeenSet = false;
472
473 Aws::String m_namespaceId;
474 bool m_namespaceIdHasBeenSet = false;
475
476 Aws::String m_jobTemplateArn;
477 bool m_jobTemplateArnHasBeenSet = false;
478
479 JobExecutionsRetryConfig m_jobExecutionsRetryConfig;
480 bool m_jobExecutionsRetryConfigHasBeenSet = false;
481
482 Aws::Map<Aws::String, Aws::String> m_documentParameters;
483 bool m_documentParametersHasBeenSet = false;
484
485 bool m_isConcurrent;
486 bool m_isConcurrentHasBeenSet = false;
487
488 SchedulingConfig m_schedulingConfig;
489 bool m_schedulingConfigHasBeenSet = false;
490
491 Aws::Vector<ScheduledJobRollout> m_scheduledJobRollouts;
492 bool m_scheduledJobRolloutsHasBeenSet = false;
493
494 Aws::Vector<Aws::String> m_destinationPackageVersions;
495 bool m_destinationPackageVersionsHasBeenSet = false;
496 };
497
498} // namespace Model
499} // namespace IoT
500} // namespace Aws
void SetForceCanceled(bool value)
Definition Job.h:124
bool CommentHasBeenSet() const
Definition Job.h:147
const Aws::String & GetJobId() const
Definition Job.h:73
AWS_IOT_API Job()
void SetSchedulingConfig(const SchedulingConfig &value)
Definition Job.h:376
bool AbortConfigHasBeenSet() const
Definition Job.h:214
Job & WithJobTemplateArn(Aws::String &&value)
Definition Job.h:317
const Aws::String & GetComment() const
Definition Job.h:146
Job & WithJobProcessDetails(JobProcessDetails &&value)
Definition Job.h:266
const AbortConfig & GetAbortConfig() const
Definition Job.h:213
void SetDocumentParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition Job.h:345
bool SchedulingConfigHasBeenSet() const
Definition Job.h:375
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(const char *value)
Definition Job.h:179
bool TargetSelectionHasBeenSet() const
Definition Job.h:96
void SetJobId(const char *value)
Definition Job.h:77
AWS_IOT_API Job(Aws::Utils::Json::JsonView jsonValue)
bool JobExecutionsRolloutConfigHasBeenSet() const
Definition Job.h:202
Job & WithJobExecutionsRetryConfig(const JobExecutionsRetryConfig &value)
Definition Job.h:329
const Aws::String & GetNamespaceId() const
Definition Job.h:297
Job & WithJobExecutionsRolloutConfig(const JobExecutionsRolloutConfig &value)
Definition Job.h:205
Job & WithStatus(const JobStatus &value)
Definition Job.h:113
Job & AddTargets(const Aws::String &value)
Definition Job.h:166
bool DocumentParametersHasBeenSet() const
Definition Job.h:343
Job & WithJobProcessDetails(const JobProcessDetails &value)
Definition Job.h:265
const JobProcessDetails & GetJobProcessDetails() const
Definition Job.h:261
Job & WithDocumentParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition Job.h:347
Job & WithIsConcurrent(bool value)
Definition Job.h:366
void SetJobArn(const char *value)
Definition Job.h:63
void SetJobTemplateArn(const Aws::String &value)
Definition Job.h:313
Job & AddDocumentParameters(Aws::String &&key, const char *value)
Definition Job.h:353
bool TimeoutConfigHasBeenSet() const
Definition Job.h:278
void SetDescription(const Aws::String &value)
Definition Job.h:177
Job & WithComment(const char *value)
Definition Job.h:153
bool ForceCanceledHasBeenSet() const
Definition Job.h:123
Job & WithDocumentParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition Job.h:346
const Aws::String & GetReasonCode() const
Definition Job.h:132
Job & WithJobTemplateArn(const char *value)
Definition Job.h:318
Job & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition Job.h:241
Job & AddDocumentParameters(Aws::String &&key, Aws::String &&value)
Definition Job.h:351
Job & WithTimeoutConfig(TimeoutConfig &&value)
Definition Job.h:282
const JobExecutionsRolloutConfig & GetJobExecutionsRolloutConfig() const
Definition Job.h:201
Job & WithJobExecutionsRetryConfig(JobExecutionsRetryConfig &&value)
Definition Job.h:330
void SetJobId(const Aws::String &value)
Definition Job.h:75
Job & WithTargets(Aws::Vector< Aws::String > &&value)
Definition Job.h:165
Job & AddDocumentParameters(const char *key, Aws::String &&value)
Definition Job.h:352
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition Job.h:237
Job & AddScheduledJobRollouts(ScheduledJobRollout &&value)
Definition Job.h:394
void SetSchedulingConfig(SchedulingConfig &&value)
Definition Job.h:377
void SetIsConcurrent(bool value)
Definition Job.h:365
const Aws::String & GetDescription() const
Definition Job.h:175
void SetComment(Aws::String &&value)
Definition Job.h:149
void SetDestinationPackageVersions(Aws::Vector< Aws::String > &&value)
Definition Job.h:413
bool GetIsConcurrent() const
Definition Job.h:363
Job & AddDocumentParameters(Aws::String &&key, const Aws::String &value)
Definition Job.h:349
Job & WithForceCanceled(bool value)
Definition Job.h:125
Job & WithDescription(const char *value)
Definition Job.h:182
void SetAbortConfig(const AbortConfig &value)
Definition Job.h:215
Job & WithTimeoutConfig(const TimeoutConfig &value)
Definition Job.h:281
void SetDestinationPackageVersions(const Aws::Vector< Aws::String > &value)
Definition Job.h:412
void SetJobTemplateArn(const char *value)
Definition Job.h:315
bool CompletedAtHasBeenSet() const
Definition Job.h:250
Job & WithScheduledJobRollouts(Aws::Vector< ScheduledJobRollout > &&value)
Definition Job.h:392
Job & WithJobTemplateArn(const Aws::String &value)
Definition Job.h:316
void SetTargetSelection(TargetSelection &&value)
Definition Job.h:98
const SchedulingConfig & GetSchedulingConfig() const
Definition Job.h:374
bool DestinationPackageVersionsHasBeenSet() const
Definition Job.h:411
const TimeoutConfig & GetTimeoutConfig() const
Definition Job.h:277
void SetDescription(Aws::String &&value)
Definition Job.h:178
void SetCompletedAt(const Aws::Utils::DateTime &value)
Definition Job.h:251
void SetJobExecutionsRolloutConfig(JobExecutionsRolloutConfig &&value)
Definition Job.h:204
void SetNamespaceId(Aws::String &&value)
Definition Job.h:300
const Aws::Map< Aws::String, Aws::String > & GetDocumentParameters() const
Definition Job.h:342
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Job.h:228
Job & WithNamespaceId(const char *value)
Definition Job.h:304
Job & WithReasonCode(const char *value)
Definition Job.h:139
Job & WithNamespaceId(Aws::String &&value)
Definition Job.h:303
void SetAbortConfig(AbortConfig &&value)
Definition Job.h:216
Job & AddDestinationPackageVersions(Aws::String &&value)
Definition Job.h:417
void SetCompletedAt(Aws::Utils::DateTime &&value)
Definition Job.h:252
const Aws::Vector< ScheduledJobRollout > & GetScheduledJobRollouts() const
Definition Job.h:387
void SetStatus(JobStatus &&value)
Definition Job.h:112
void SetJobExecutionsRetryConfig(JobExecutionsRetryConfig &&value)
Definition Job.h:328
bool NamespaceIdHasBeenSet() const
Definition Job.h:298
Job & WithStatus(JobStatus &&value)
Definition Job.h:114
const TargetSelection & GetTargetSelection() const
Definition Job.h:95
void SetJobExecutionsRetryConfig(const JobExecutionsRetryConfig &value)
Definition Job.h:327
void SetTargetSelection(const TargetSelection &value)
Definition Job.h:97
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition Job.h:240
const Aws::Utils::DateTime & GetCompletedAt() const
Definition Job.h:249
const Aws::String & GetJobArn() const
Definition Job.h:59
bool JobProcessDetailsHasBeenSet() const
Definition Job.h:262
void SetPresignedUrlConfig(PresignedUrlConfig &&value)
Definition Job.h:192
Job & WithDestinationPackageVersions(Aws::Vector< Aws::String > &&value)
Definition Job.h:415
Job & WithJobExecutionsRolloutConfig(JobExecutionsRolloutConfig &&value)
Definition Job.h:206
Job & WithPresignedUrlConfig(PresignedUrlConfig &&value)
Definition Job.h:194
Job & WithDestinationPackageVersions(const Aws::Vector< Aws::String > &value)
Definition Job.h:414
bool LastUpdatedAtHasBeenSet() const
Definition Job.h:238
Job & WithJobId(const Aws::String &value)
Definition Job.h:78
Job & AddDocumentParameters(const Aws::String &key, const Aws::String &value)
Definition Job.h:348
const Aws::Vector< Aws::String > & GetDestinationPackageVersions() const
Definition Job.h:410
void SetComment(const Aws::String &value)
Definition Job.h:148
Job & WithScheduledJobRollouts(const Aws::Vector< ScheduledJobRollout > &value)
Definition Job.h:391
void SetTargets(Aws::Vector< Aws::String > &&value)
Definition Job.h:163
Job & WithCompletedAt(const Aws::Utils::DateTime &value)
Definition Job.h:253
Job & AddTargets(Aws::String &&value)
Definition Job.h:167
bool ReasonCodeHasBeenSet() const
Definition Job.h:133
bool CreatedAtHasBeenSet() const
Definition Job.h:226
Job & WithJobArn(const Aws::String &value)
Definition Job.h:64
const PresignedUrlConfig & GetPresignedUrlConfig() const
Definition Job.h:189
const JobStatus & GetStatus() const
Definition Job.h:109
const Aws::String & GetJobTemplateArn() const
Definition Job.h:311
Job & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Definition Job.h:242
Job & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Job.h:229
void SetJobProcessDetails(const JobProcessDetails &value)
Definition Job.h:263
Job & WithJobArn(const char *value)
Definition Job.h:66
Job & WithPresignedUrlConfig(const PresignedUrlConfig &value)
Definition Job.h:193
Job & WithAbortConfig(AbortConfig &&value)
Definition Job.h:218
void SetNamespaceId(const Aws::String &value)
Definition Job.h:299
void SetPresignedUrlConfig(const PresignedUrlConfig &value)
Definition Job.h:191
void SetStatus(const JobStatus &value)
Definition Job.h:111
void SetJobId(Aws::String &&value)
Definition Job.h:76
Job & AddDestinationPackageVersions(const char *value)
Definition Job.h:418
void SetJobTemplateArn(Aws::String &&value)
Definition Job.h:314
void SetTargets(const Aws::Vector< Aws::String > &value)
Definition Job.h:162
void SetReasonCode(const char *value)
Definition Job.h:136
Job & WithJobArn(Aws::String &&value)
Definition Job.h:65
void SetScheduledJobRollouts(const Aws::Vector< ScheduledJobRollout > &value)
Definition Job.h:389
bool StatusHasBeenSet() const
Definition Job.h:110
Job & AddTargets(const char *value)
Definition Job.h:168
void SetScheduledJobRollouts(Aws::Vector< ScheduledJobRollout > &&value)
Definition Job.h:390
Job & AddDocumentParameters(const char *key, const char *value)
Definition Job.h:354
Job & WithTargetSelection(TargetSelection &&value)
Definition Job.h:100
bool JobArnHasBeenSet() const
Definition Job.h:60
const Aws::Vector< Aws::String > & GetTargets() const
Definition Job.h:160
bool TargetsHasBeenSet() const
Definition Job.h:161
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Definition Job.h:239
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Job.h:225
void SetJobArn(const Aws::String &value)
Definition Job.h:61
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Job.h:227
Job & WithComment(Aws::String &&value)
Definition Job.h:152
Job & WithJobId(const char *value)
Definition Job.h:80
Job & AddScheduledJobRollouts(const ScheduledJobRollout &value)
Definition Job.h:393
Job & WithSchedulingConfig(SchedulingConfig &&value)
Definition Job.h:379
void SetReasonCode(Aws::String &&value)
Definition Job.h:135
bool PresignedUrlConfigHasBeenSet() const
Definition Job.h:190
Job & WithCompletedAt(Aws::Utils::DateTime &&value)
Definition Job.h:254
void SetJobProcessDetails(JobProcessDetails &&value)
Definition Job.h:264
bool DescriptionHasBeenSet() const
Definition Job.h:176
Job & WithReasonCode(Aws::String &&value)
Definition Job.h:138
Job & WithNamespaceId(const Aws::String &value)
Definition Job.h:302
Job & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Job.h:230
bool ScheduledJobRolloutsHasBeenSet() const
Definition Job.h:388
Job & AddDestinationPackageVersions(const Aws::String &value)
Definition Job.h:416
Job & WithSchedulingConfig(const SchedulingConfig &value)
Definition Job.h:378
void SetJobExecutionsRolloutConfig(const JobExecutionsRolloutConfig &value)
Definition Job.h:203
bool IsConcurrentHasBeenSet() const
Definition Job.h:364
const JobExecutionsRetryConfig & GetJobExecutionsRetryConfig() const
Definition Job.h:325
bool JobIdHasBeenSet() const
Definition Job.h:74
Job & AddDocumentParameters(const Aws::String &key, Aws::String &&value)
Definition Job.h:350
void SetTimeoutConfig(TimeoutConfig &&value)
Definition Job.h:280
Job & WithJobId(Aws::String &&value)
Definition Job.h:79
AWS_IOT_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetComment(const char *value)
Definition Job.h:150
Job & WithReasonCode(const Aws::String &value)
Definition Job.h:137
Job & WithAbortConfig(const AbortConfig &value)
Definition Job.h:217
void SetReasonCode(const Aws::String &value)
Definition Job.h:134
void SetNamespaceId(const char *value)
Definition Job.h:301
void SetJobArn(Aws::String &&value)
Definition Job.h:62
Job & WithTargetSelection(const TargetSelection &value)
Definition Job.h:99
Job & WithTargets(const Aws::Vector< Aws::String > &value)
Definition Job.h:164
bool GetForceCanceled() const
Definition Job.h:122
Job & WithDescription(const Aws::String &value)
Definition Job.h:180
void SetDocumentParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition Job.h:344
bool JobExecutionsRetryConfigHasBeenSet() const
Definition Job.h:326
Job & WithDescription(Aws::String &&value)
Definition Job.h:181
void SetTimeoutConfig(const TimeoutConfig &value)
Definition Job.h:279
Job & WithComment(const Aws::String &value)
Definition Job.h:151
bool JobTemplateArnHasBeenSet() const
Definition Job.h:312
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