AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
Job.h
1
6#pragma once
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/AbortConfig.h>
13#include <aws/iot/model/JobExecutionsRetryConfig.h>
14#include <aws/iot/model/JobExecutionsRolloutConfig.h>
15#include <aws/iot/model/JobProcessDetails.h>
16#include <aws/iot/model/JobStatus.h>
17#include <aws/iot/model/PresignedUrlConfig.h>
18#include <aws/iot/model/ScheduledJobRollout.h>
19#include <aws/iot/model/SchedulingConfig.h>
20#include <aws/iot/model/TargetSelection.h>
21#include <aws/iot/model/TimeoutConfig.h>
22
23#include <utility>
24
25namespace Aws {
26namespace Utils {
27namespace Json {
28class JsonValue;
29class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace IoT {
33namespace Model {
34
41class Job {
42 public:
43 AWS_IOT_API Job() = default;
44 AWS_IOT_API Job(Aws::Utils::Json::JsonView jsonValue);
45 AWS_IOT_API Job& operator=(Aws::Utils::Json::JsonView jsonValue);
47
49
53 inline const Aws::String& GetJobArn() const { return m_jobArn; }
54 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
55 template <typename JobArnT = Aws::String>
56 void SetJobArn(JobArnT&& value) {
57 m_jobArnHasBeenSet = true;
58 m_jobArn = std::forward<JobArnT>(value);
59 }
60 template <typename JobArnT = Aws::String>
61 Job& WithJobArn(JobArnT&& value) {
62 SetJobArn(std::forward<JobArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetJobId() const { return m_jobId; }
72 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
73 template <typename JobIdT = Aws::String>
74 void SetJobId(JobIdT&& value) {
75 m_jobIdHasBeenSet = true;
76 m_jobId = std::forward<JobIdT>(value);
77 }
78 template <typename JobIdT = Aws::String>
79 Job& WithJobId(JobIdT&& value) {
80 SetJobId(std::forward<JobIdT>(value));
81 return *this;
82 }
84
86
97 inline TargetSelection GetTargetSelection() const { return m_targetSelection; }
98 inline bool TargetSelectionHasBeenSet() const { return m_targetSelectionHasBeenSet; }
100 m_targetSelectionHasBeenSet = true;
101 m_targetSelection = value;
102 }
104 SetTargetSelection(value);
105 return *this;
106 }
108
110
115 inline JobStatus GetStatus() const { return m_status; }
116 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
117 inline void SetStatus(JobStatus value) {
118 m_statusHasBeenSet = true;
119 m_status = value;
120 }
121 inline Job& WithStatus(JobStatus value) {
122 SetStatus(value);
123 return *this;
124 }
126
128
132 inline bool GetForceCanceled() const { return m_forceCanceled; }
133 inline bool ForceCanceledHasBeenSet() const { return m_forceCanceledHasBeenSet; }
134 inline void SetForceCanceled(bool value) {
135 m_forceCanceledHasBeenSet = true;
136 m_forceCanceled = value;
137 }
138 inline Job& WithForceCanceled(bool value) {
139 SetForceCanceled(value);
140 return *this;
141 }
143
145
148 inline const Aws::String& GetReasonCode() const { return m_reasonCode; }
149 inline bool ReasonCodeHasBeenSet() const { return m_reasonCodeHasBeenSet; }
150 template <typename ReasonCodeT = Aws::String>
151 void SetReasonCode(ReasonCodeT&& value) {
152 m_reasonCodeHasBeenSet = true;
153 m_reasonCode = std::forward<ReasonCodeT>(value);
154 }
155 template <typename ReasonCodeT = Aws::String>
156 Job& WithReasonCode(ReasonCodeT&& value) {
157 SetReasonCode(std::forward<ReasonCodeT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::String& GetComment() const { return m_comment; }
167 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
168 template <typename CommentT = Aws::String>
169 void SetComment(CommentT&& value) {
170 m_commentHasBeenSet = true;
171 m_comment = std::forward<CommentT>(value);
172 }
173 template <typename CommentT = Aws::String>
174 Job& WithComment(CommentT&& value) {
175 SetComment(std::forward<CommentT>(value));
176 return *this;
177 }
179
181
184 inline const Aws::Vector<Aws::String>& GetTargets() const { return m_targets; }
185 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
186 template <typename TargetsT = Aws::Vector<Aws::String>>
187 void SetTargets(TargetsT&& value) {
188 m_targetsHasBeenSet = true;
189 m_targets = std::forward<TargetsT>(value);
190 }
191 template <typename TargetsT = Aws::Vector<Aws::String>>
192 Job& WithTargets(TargetsT&& value) {
193 SetTargets(std::forward<TargetsT>(value));
194 return *this;
195 }
196 template <typename TargetsT = Aws::String>
197 Job& AddTargets(TargetsT&& value) {
198 m_targetsHasBeenSet = true;
199 m_targets.emplace_back(std::forward<TargetsT>(value));
200 return *this;
201 }
203
205
208 inline const Aws::String& GetDescription() const { return m_description; }
209 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
210 template <typename DescriptionT = Aws::String>
211 void SetDescription(DescriptionT&& value) {
212 m_descriptionHasBeenSet = true;
213 m_description = std::forward<DescriptionT>(value);
214 }
215 template <typename DescriptionT = Aws::String>
216 Job& WithDescription(DescriptionT&& value) {
217 SetDescription(std::forward<DescriptionT>(value));
218 return *this;
219 }
221
223
226 inline const PresignedUrlConfig& GetPresignedUrlConfig() const { return m_presignedUrlConfig; }
227 inline bool PresignedUrlConfigHasBeenSet() const { return m_presignedUrlConfigHasBeenSet; }
228 template <typename PresignedUrlConfigT = PresignedUrlConfig>
229 void SetPresignedUrlConfig(PresignedUrlConfigT&& value) {
230 m_presignedUrlConfigHasBeenSet = true;
231 m_presignedUrlConfig = std::forward<PresignedUrlConfigT>(value);
232 }
233 template <typename PresignedUrlConfigT = PresignedUrlConfig>
234 Job& WithPresignedUrlConfig(PresignedUrlConfigT&& value) {
235 SetPresignedUrlConfig(std::forward<PresignedUrlConfigT>(value));
236 return *this;
237 }
239
241
244 inline const JobExecutionsRolloutConfig& GetJobExecutionsRolloutConfig() const { return m_jobExecutionsRolloutConfig; }
245 inline bool JobExecutionsRolloutConfigHasBeenSet() const { return m_jobExecutionsRolloutConfigHasBeenSet; }
246 template <typename JobExecutionsRolloutConfigT = JobExecutionsRolloutConfig>
247 void SetJobExecutionsRolloutConfig(JobExecutionsRolloutConfigT&& value) {
248 m_jobExecutionsRolloutConfigHasBeenSet = true;
249 m_jobExecutionsRolloutConfig = std::forward<JobExecutionsRolloutConfigT>(value);
250 }
251 template <typename JobExecutionsRolloutConfigT = JobExecutionsRolloutConfig>
252 Job& WithJobExecutionsRolloutConfig(JobExecutionsRolloutConfigT&& value) {
253 SetJobExecutionsRolloutConfig(std::forward<JobExecutionsRolloutConfigT>(value));
254 return *this;
255 }
257
259
262 inline const AbortConfig& GetAbortConfig() const { return m_abortConfig; }
263 inline bool AbortConfigHasBeenSet() const { return m_abortConfigHasBeenSet; }
264 template <typename AbortConfigT = AbortConfig>
265 void SetAbortConfig(AbortConfigT&& value) {
266 m_abortConfigHasBeenSet = true;
267 m_abortConfig = std::forward<AbortConfigT>(value);
268 }
269 template <typename AbortConfigT = AbortConfig>
270 Job& WithAbortConfig(AbortConfigT&& value) {
271 SetAbortConfig(std::forward<AbortConfigT>(value));
272 return *this;
273 }
275
277
280 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
281 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
282 template <typename CreatedAtT = Aws::Utils::DateTime>
283 void SetCreatedAt(CreatedAtT&& value) {
284 m_createdAtHasBeenSet = true;
285 m_createdAt = std::forward<CreatedAtT>(value);
286 }
287 template <typename CreatedAtT = Aws::Utils::DateTime>
288 Job& WithCreatedAt(CreatedAtT&& value) {
289 SetCreatedAt(std::forward<CreatedAtT>(value));
290 return *this;
291 }
293
295
298 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
299 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
300 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
301 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
302 m_lastUpdatedAtHasBeenSet = true;
303 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
304 }
305 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
306 Job& WithLastUpdatedAt(LastUpdatedAtT&& value) {
307 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
308 return *this;
309 }
311
313
316 inline const Aws::Utils::DateTime& GetCompletedAt() const { return m_completedAt; }
317 inline bool CompletedAtHasBeenSet() const { return m_completedAtHasBeenSet; }
318 template <typename CompletedAtT = Aws::Utils::DateTime>
319 void SetCompletedAt(CompletedAtT&& value) {
320 m_completedAtHasBeenSet = true;
321 m_completedAt = std::forward<CompletedAtT>(value);
322 }
323 template <typename CompletedAtT = Aws::Utils::DateTime>
324 Job& WithCompletedAt(CompletedAtT&& value) {
325 SetCompletedAt(std::forward<CompletedAtT>(value));
326 return *this;
327 }
329
331
334 inline const JobProcessDetails& GetJobProcessDetails() const { return m_jobProcessDetails; }
335 inline bool JobProcessDetailsHasBeenSet() const { return m_jobProcessDetailsHasBeenSet; }
336 template <typename JobProcessDetailsT = JobProcessDetails>
337 void SetJobProcessDetails(JobProcessDetailsT&& value) {
338 m_jobProcessDetailsHasBeenSet = true;
339 m_jobProcessDetails = std::forward<JobProcessDetailsT>(value);
340 }
341 template <typename JobProcessDetailsT = JobProcessDetails>
342 Job& WithJobProcessDetails(JobProcessDetailsT&& value) {
343 SetJobProcessDetails(std::forward<JobProcessDetailsT>(value));
344 return *this;
345 }
347
349
356 inline const TimeoutConfig& GetTimeoutConfig() const { return m_timeoutConfig; }
357 inline bool TimeoutConfigHasBeenSet() const { return m_timeoutConfigHasBeenSet; }
358 template <typename TimeoutConfigT = TimeoutConfig>
359 void SetTimeoutConfig(TimeoutConfigT&& value) {
360 m_timeoutConfigHasBeenSet = true;
361 m_timeoutConfig = std::forward<TimeoutConfigT>(value);
362 }
363 template <typename TimeoutConfigT = TimeoutConfig>
364 Job& WithTimeoutConfig(TimeoutConfigT&& value) {
365 SetTimeoutConfig(std::forward<TimeoutConfigT>(value));
366 return *this;
367 }
369
371
382 inline const Aws::String& GetNamespaceId() const { return m_namespaceId; }
383 inline bool NamespaceIdHasBeenSet() const { return m_namespaceIdHasBeenSet; }
384 template <typename NamespaceIdT = Aws::String>
385 void SetNamespaceId(NamespaceIdT&& value) {
386 m_namespaceIdHasBeenSet = true;
387 m_namespaceId = std::forward<NamespaceIdT>(value);
388 }
389 template <typename NamespaceIdT = Aws::String>
390 Job& WithNamespaceId(NamespaceIdT&& value) {
391 SetNamespaceId(std::forward<NamespaceIdT>(value));
392 return *this;
393 }
395
397
400 inline const Aws::String& GetJobTemplateArn() const { return m_jobTemplateArn; }
401 inline bool JobTemplateArnHasBeenSet() const { return m_jobTemplateArnHasBeenSet; }
402 template <typename JobTemplateArnT = Aws::String>
403 void SetJobTemplateArn(JobTemplateArnT&& value) {
404 m_jobTemplateArnHasBeenSet = true;
405 m_jobTemplateArn = std::forward<JobTemplateArnT>(value);
406 }
407 template <typename JobTemplateArnT = Aws::String>
408 Job& WithJobTemplateArn(JobTemplateArnT&& value) {
409 SetJobTemplateArn(std::forward<JobTemplateArnT>(value));
410 return *this;
411 }
413
415
418 inline const JobExecutionsRetryConfig& GetJobExecutionsRetryConfig() const { return m_jobExecutionsRetryConfig; }
419 inline bool JobExecutionsRetryConfigHasBeenSet() const { return m_jobExecutionsRetryConfigHasBeenSet; }
420 template <typename JobExecutionsRetryConfigT = JobExecutionsRetryConfig>
421 void SetJobExecutionsRetryConfig(JobExecutionsRetryConfigT&& value) {
422 m_jobExecutionsRetryConfigHasBeenSet = true;
423 m_jobExecutionsRetryConfig = std::forward<JobExecutionsRetryConfigT>(value);
424 }
425 template <typename JobExecutionsRetryConfigT = JobExecutionsRetryConfig>
426 Job& WithJobExecutionsRetryConfig(JobExecutionsRetryConfigT&& value) {
427 SetJobExecutionsRetryConfig(std::forward<JobExecutionsRetryConfigT>(value));
428 return *this;
429 }
431
433
441 inline const Aws::Map<Aws::String, Aws::String>& GetDocumentParameters() const { return m_documentParameters; }
442 inline bool DocumentParametersHasBeenSet() const { return m_documentParametersHasBeenSet; }
443 template <typename DocumentParametersT = Aws::Map<Aws::String, Aws::String>>
444 void SetDocumentParameters(DocumentParametersT&& value) {
445 m_documentParametersHasBeenSet = true;
446 m_documentParameters = std::forward<DocumentParametersT>(value);
447 }
448 template <typename DocumentParametersT = Aws::Map<Aws::String, Aws::String>>
449 Job& WithDocumentParameters(DocumentParametersT&& value) {
450 SetDocumentParameters(std::forward<DocumentParametersT>(value));
451 return *this;
452 }
453 template <typename DocumentParametersKeyT = Aws::String, typename DocumentParametersValueT = Aws::String>
454 Job& AddDocumentParameters(DocumentParametersKeyT&& key, DocumentParametersValueT&& value) {
455 m_documentParametersHasBeenSet = true;
456 m_documentParameters.emplace(std::forward<DocumentParametersKeyT>(key), std::forward<DocumentParametersValueT>(value));
457 return *this;
458 }
460
462
467 inline bool GetIsConcurrent() const { return m_isConcurrent; }
468 inline bool IsConcurrentHasBeenSet() const { return m_isConcurrentHasBeenSet; }
469 inline void SetIsConcurrent(bool value) {
470 m_isConcurrentHasBeenSet = true;
471 m_isConcurrent = value;
472 }
473 inline Job& WithIsConcurrent(bool value) {
474 SetIsConcurrent(value);
475 return *this;
476 }
478
480
484 inline const SchedulingConfig& GetSchedulingConfig() const { return m_schedulingConfig; }
485 inline bool SchedulingConfigHasBeenSet() const { return m_schedulingConfigHasBeenSet; }
486 template <typename SchedulingConfigT = SchedulingConfig>
487 void SetSchedulingConfig(SchedulingConfigT&& value) {
488 m_schedulingConfigHasBeenSet = true;
489 m_schedulingConfig = std::forward<SchedulingConfigT>(value);
490 }
491 template <typename SchedulingConfigT = SchedulingConfig>
492 Job& WithSchedulingConfig(SchedulingConfigT&& value) {
493 SetSchedulingConfig(std::forward<SchedulingConfigT>(value));
494 return *this;
495 }
497
499
503 inline const Aws::Vector<ScheduledJobRollout>& GetScheduledJobRollouts() const { return m_scheduledJobRollouts; }
504 inline bool ScheduledJobRolloutsHasBeenSet() const { return m_scheduledJobRolloutsHasBeenSet; }
505 template <typename ScheduledJobRolloutsT = Aws::Vector<ScheduledJobRollout>>
506 void SetScheduledJobRollouts(ScheduledJobRolloutsT&& value) {
507 m_scheduledJobRolloutsHasBeenSet = true;
508 m_scheduledJobRollouts = std::forward<ScheduledJobRolloutsT>(value);
509 }
510 template <typename ScheduledJobRolloutsT = Aws::Vector<ScheduledJobRollout>>
511 Job& WithScheduledJobRollouts(ScheduledJobRolloutsT&& value) {
512 SetScheduledJobRollouts(std::forward<ScheduledJobRolloutsT>(value));
513 return *this;
514 }
515 template <typename ScheduledJobRolloutsT = ScheduledJobRollout>
516 Job& AddScheduledJobRollouts(ScheduledJobRolloutsT&& value) {
517 m_scheduledJobRolloutsHasBeenSet = true;
518 m_scheduledJobRollouts.emplace_back(std::forward<ScheduledJobRolloutsT>(value));
519 return *this;
520 }
522
524
536 inline const Aws::Vector<Aws::String>& GetDestinationPackageVersions() const { return m_destinationPackageVersions; }
537 inline bool DestinationPackageVersionsHasBeenSet() const { return m_destinationPackageVersionsHasBeenSet; }
538 template <typename DestinationPackageVersionsT = Aws::Vector<Aws::String>>
539 void SetDestinationPackageVersions(DestinationPackageVersionsT&& value) {
540 m_destinationPackageVersionsHasBeenSet = true;
541 m_destinationPackageVersions = std::forward<DestinationPackageVersionsT>(value);
542 }
543 template <typename DestinationPackageVersionsT = Aws::Vector<Aws::String>>
544 Job& WithDestinationPackageVersions(DestinationPackageVersionsT&& value) {
545 SetDestinationPackageVersions(std::forward<DestinationPackageVersionsT>(value));
546 return *this;
547 }
548 template <typename DestinationPackageVersionsT = Aws::String>
549 Job& AddDestinationPackageVersions(DestinationPackageVersionsT&& value) {
550 m_destinationPackageVersionsHasBeenSet = true;
551 m_destinationPackageVersions.emplace_back(std::forward<DestinationPackageVersionsT>(value));
552 return *this;
553 }
555 private:
556 Aws::String m_jobArn;
557
558 Aws::String m_jobId;
559
560 TargetSelection m_targetSelection{TargetSelection::NOT_SET};
561
563
564 bool m_forceCanceled{false};
565
566 Aws::String m_reasonCode;
567
568 Aws::String m_comment;
569
570 Aws::Vector<Aws::String> m_targets;
571
572 Aws::String m_description;
573
574 PresignedUrlConfig m_presignedUrlConfig;
575
576 JobExecutionsRolloutConfig m_jobExecutionsRolloutConfig;
577
578 AbortConfig m_abortConfig;
579
580 Aws::Utils::DateTime m_createdAt{};
581
582 Aws::Utils::DateTime m_lastUpdatedAt{};
583
584 Aws::Utils::DateTime m_completedAt{};
585
586 JobProcessDetails m_jobProcessDetails;
587
588 TimeoutConfig m_timeoutConfig;
589
590 Aws::String m_namespaceId;
591
592 Aws::String m_jobTemplateArn;
593
594 JobExecutionsRetryConfig m_jobExecutionsRetryConfig;
595
596 Aws::Map<Aws::String, Aws::String> m_documentParameters;
597
598 bool m_isConcurrent{false};
599
600 SchedulingConfig m_schedulingConfig;
601
602 Aws::Vector<ScheduledJobRollout> m_scheduledJobRollouts;
603
604 Aws::Vector<Aws::String> m_destinationPackageVersions;
605 bool m_jobArnHasBeenSet = false;
606 bool m_jobIdHasBeenSet = false;
607 bool m_targetSelectionHasBeenSet = false;
608 bool m_statusHasBeenSet = false;
609 bool m_forceCanceledHasBeenSet = false;
610 bool m_reasonCodeHasBeenSet = false;
611 bool m_commentHasBeenSet = false;
612 bool m_targetsHasBeenSet = false;
613 bool m_descriptionHasBeenSet = false;
614 bool m_presignedUrlConfigHasBeenSet = false;
615 bool m_jobExecutionsRolloutConfigHasBeenSet = false;
616 bool m_abortConfigHasBeenSet = false;
617 bool m_createdAtHasBeenSet = false;
618 bool m_lastUpdatedAtHasBeenSet = false;
619 bool m_completedAtHasBeenSet = false;
620 bool m_jobProcessDetailsHasBeenSet = false;
621 bool m_timeoutConfigHasBeenSet = false;
622 bool m_namespaceIdHasBeenSet = false;
623 bool m_jobTemplateArnHasBeenSet = false;
624 bool m_jobExecutionsRetryConfigHasBeenSet = false;
625 bool m_documentParametersHasBeenSet = false;
626 bool m_isConcurrentHasBeenSet = false;
627 bool m_schedulingConfigHasBeenSet = false;
628 bool m_scheduledJobRolloutsHasBeenSet = false;
629 bool m_destinationPackageVersionsHasBeenSet = false;
630};
631
632} // namespace Model
633} // namespace IoT
634} // namespace Aws
void SetForceCanceled(bool value)
Definition Job.h:134
bool CommentHasBeenSet() const
Definition Job.h:167
void SetDestinationPackageVersions(DestinationPackageVersionsT &&value)
Definition Job.h:539
const Aws::String & GetJobId() const
Definition Job.h:71
bool AbortConfigHasBeenSet() const
Definition Job.h:263
const Aws::String & GetComment() const
Definition Job.h:166
const AbortConfig & GetAbortConfig() const
Definition Job.h:262
Job & WithPresignedUrlConfig(PresignedUrlConfigT &&value)
Definition Job.h:234
bool SchedulingConfigHasBeenSet() const
Definition Job.h:485
void SetJobProcessDetails(JobProcessDetailsT &&value)
Definition Job.h:337
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
Definition Job.h:301
bool TargetSelectionHasBeenSet() const
Definition Job.h:98
AWS_IOT_API Job(Aws::Utils::Json::JsonView jsonValue)
bool JobExecutionsRolloutConfigHasBeenSet() const
Definition Job.h:245
const Aws::String & GetNamespaceId() const
Definition Job.h:382
Job & WithStatus(JobStatus value)
Definition Job.h:121
bool DocumentParametersHasBeenSet() const
Definition Job.h:442
const JobProcessDetails & GetJobProcessDetails() const
Definition Job.h:334
Job & AddScheduledJobRollouts(ScheduledJobRolloutsT &&value)
Definition Job.h:516
Job & WithIsConcurrent(bool value)
Definition Job.h:473
Job & WithTargets(TargetsT &&value)
Definition Job.h:192
bool TimeoutConfigHasBeenSet() const
Definition Job.h:357
bool ForceCanceledHasBeenSet() const
Definition Job.h:133
const Aws::String & GetReasonCode() const
Definition Job.h:148
void SetDocumentParameters(DocumentParametersT &&value)
Definition Job.h:444
const JobExecutionsRolloutConfig & GetJobExecutionsRolloutConfig() const
Definition Job.h:244
void SetAbortConfig(AbortConfigT &&value)
Definition Job.h:265
Job & WithSchedulingConfig(SchedulingConfigT &&value)
Definition Job.h:492
Job & WithLastUpdatedAt(LastUpdatedAtT &&value)
Definition Job.h:306
Job & WithDescription(DescriptionT &&value)
Definition Job.h:216
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition Job.h:298
Job & AddTargets(TargetsT &&value)
Definition Job.h:197
void SetIsConcurrent(bool value)
Definition Job.h:469
const Aws::String & GetDescription() const
Definition Job.h:208
TargetSelection GetTargetSelection() const
Definition Job.h:97
bool GetIsConcurrent() const
Definition Job.h:467
Job & WithJobProcessDetails(JobProcessDetailsT &&value)
Definition Job.h:342
void SetPresignedUrlConfig(PresignedUrlConfigT &&value)
Definition Job.h:229
Job & WithForceCanceled(bool value)
Definition Job.h:138
Job & WithCompletedAt(CompletedAtT &&value)
Definition Job.h:324
Job & WithJobExecutionsRolloutConfig(JobExecutionsRolloutConfigT &&value)
Definition Job.h:252
Job & WithScheduledJobRollouts(ScheduledJobRolloutsT &&value)
Definition Job.h:511
AWS_IOT_API Job()=default
void SetJobExecutionsRetryConfig(JobExecutionsRetryConfigT &&value)
Definition Job.h:421
Job & WithCreatedAt(CreatedAtT &&value)
Definition Job.h:288
Job & WithTargetSelection(TargetSelection value)
Definition Job.h:103
bool CompletedAtHasBeenSet() const
Definition Job.h:317
const SchedulingConfig & GetSchedulingConfig() const
Definition Job.h:484
bool DestinationPackageVersionsHasBeenSet() const
Definition Job.h:537
const TimeoutConfig & GetTimeoutConfig() const
Definition Job.h:356
void SetComment(CommentT &&value)
Definition Job.h:169
const Aws::Map< Aws::String, Aws::String > & GetDocumentParameters() const
Definition Job.h:441
Job & WithDestinationPackageVersions(DestinationPackageVersionsT &&value)
Definition Job.h:544
void SetStatus(JobStatus value)
Definition Job.h:117
const Aws::Vector< ScheduledJobRollout > & GetScheduledJobRollouts() const
Definition Job.h:503
void SetCreatedAt(CreatedAtT &&value)
Definition Job.h:283
void SetTimeoutConfig(TimeoutConfigT &&value)
Definition Job.h:359
void SetScheduledJobRollouts(ScheduledJobRolloutsT &&value)
Definition Job.h:506
bool NamespaceIdHasBeenSet() const
Definition Job.h:383
const Aws::Utils::DateTime & GetCompletedAt() const
Definition Job.h:316
const Aws::String & GetJobArn() const
Definition Job.h:53
bool JobProcessDetailsHasBeenSet() const
Definition Job.h:335
void SetJobTemplateArn(JobTemplateArnT &&value)
Definition Job.h:403
Job & WithJobId(JobIdT &&value)
Definition Job.h:79
bool LastUpdatedAtHasBeenSet() const
Definition Job.h:299
void SetDescription(DescriptionT &&value)
Definition Job.h:211
const Aws::Vector< Aws::String > & GetDestinationPackageVersions() const
Definition Job.h:536
bool ReasonCodeHasBeenSet() const
Definition Job.h:149
bool CreatedAtHasBeenSet() const
Definition Job.h:281
const PresignedUrlConfig & GetPresignedUrlConfig() const
Definition Job.h:226
Job & WithNamespaceId(NamespaceIdT &&value)
Definition Job.h:390
const Aws::String & GetJobTemplateArn() const
Definition Job.h:400
void SetTargetSelection(TargetSelection value)
Definition Job.h:99
Job & WithComment(CommentT &&value)
Definition Job.h:174
void SetJobArn(JobArnT &&value)
Definition Job.h:56
Job & AddDocumentParameters(DocumentParametersKeyT &&key, DocumentParametersValueT &&value)
Definition Job.h:454
bool StatusHasBeenSet() const
Definition Job.h:116
void SetSchedulingConfig(SchedulingConfigT &&value)
Definition Job.h:487
bool JobArnHasBeenSet() const
Definition Job.h:54
const Aws::Vector< Aws::String > & GetTargets() const
Definition Job.h:184
bool TargetsHasBeenSet() const
Definition Job.h:185
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Job.h:280
Job & WithReasonCode(ReasonCodeT &&value)
Definition Job.h:156
Job & WithDocumentParameters(DocumentParametersT &&value)
Definition Job.h:449
Job & AddDestinationPackageVersions(DestinationPackageVersionsT &&value)
Definition Job.h:549
bool PresignedUrlConfigHasBeenSet() const
Definition Job.h:227
bool DescriptionHasBeenSet() const
Definition Job.h:209
Job & WithJobArn(JobArnT &&value)
Definition Job.h:61
void SetTargets(TargetsT &&value)
Definition Job.h:187
bool ScheduledJobRolloutsHasBeenSet() const
Definition Job.h:504
bool IsConcurrentHasBeenSet() const
Definition Job.h:468
const JobExecutionsRetryConfig & GetJobExecutionsRetryConfig() const
Definition Job.h:418
bool JobIdHasBeenSet() const
Definition Job.h:72
void SetJobExecutionsRolloutConfig(JobExecutionsRolloutConfigT &&value)
Definition Job.h:247
void SetCompletedAt(CompletedAtT &&value)
Definition Job.h:319
AWS_IOT_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
Job & WithJobExecutionsRetryConfig(JobExecutionsRetryConfigT &&value)
Definition Job.h:426
Job & WithJobTemplateArn(JobTemplateArnT &&value)
Definition Job.h:408
bool GetForceCanceled() const
Definition Job.h:132
JobStatus GetStatus() const
Definition Job.h:115
bool JobExecutionsRetryConfigHasBeenSet() const
Definition Job.h:419
Job & WithAbortConfig(AbortConfigT &&value)
Definition Job.h:270
void SetJobId(JobIdT &&value)
Definition Job.h:74
bool JobTemplateArnHasBeenSet() const
Definition Job.h:401
void SetReasonCode(ReasonCodeT &&value)
Definition Job.h:151
Job & WithTimeoutConfig(TimeoutConfigT &&value)
Definition Job.h:364
void SetNamespaceId(NamespaceIdT &&value)
Definition Job.h:385
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