AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
JobDetail.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/ArrayPropertiesDetail.h>
9#include <aws/batch/model/AttemptDetail.h>
10#include <aws/batch/model/ConsumableResourceProperties.h>
11#include <aws/batch/model/ContainerDetail.h>
12#include <aws/batch/model/EcsPropertiesDetail.h>
13#include <aws/batch/model/EksAttemptDetail.h>
14#include <aws/batch/model/EksPropertiesDetail.h>
15#include <aws/batch/model/JobDependency.h>
16#include <aws/batch/model/JobStatus.h>
17#include <aws/batch/model/JobTimeout.h>
18#include <aws/batch/model/NodeDetails.h>
19#include <aws/batch/model/NodeProperties.h>
20#include <aws/batch/model/PlatformCapability.h>
21#include <aws/batch/model/RetryStrategy.h>
22#include <aws/core/utils/memory/stl/AWSMap.h>
23#include <aws/core/utils/memory/stl/AWSString.h>
24#include <aws/core/utils/memory/stl/AWSVector.h>
25
26#include <utility>
27
28namespace Aws {
29namespace Utils {
30namespace Json {
31class JsonValue;
32class JsonView;
33} // namespace Json
34} // namespace Utils
35namespace Batch {
36namespace Model {
37
43class JobDetail {
44 public:
45 AWS_BATCH_API JobDetail() = default;
46 AWS_BATCH_API JobDetail(Aws::Utils::Json::JsonView jsonValue);
48 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
49
51
54 inline const Aws::String& GetJobArn() const { return m_jobArn; }
55 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
56 template <typename JobArnT = Aws::String>
57 void SetJobArn(JobArnT&& value) {
58 m_jobArnHasBeenSet = true;
59 m_jobArn = std::forward<JobArnT>(value);
60 }
61 template <typename JobArnT = Aws::String>
62 JobDetail& WithJobArn(JobArnT&& value) {
63 SetJobArn(std::forward<JobArnT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetJobName() const { return m_jobName; }
73 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
74 template <typename JobNameT = Aws::String>
75 void SetJobName(JobNameT&& value) {
76 m_jobNameHasBeenSet = true;
77 m_jobName = std::forward<JobNameT>(value);
78 }
79 template <typename JobNameT = Aws::String>
80 JobDetail& WithJobName(JobNameT&& value) {
81 SetJobName(std::forward<JobNameT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetJobId() const { return m_jobId; }
91 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
92 template <typename JobIdT = Aws::String>
93 void SetJobId(JobIdT&& value) {
94 m_jobIdHasBeenSet = true;
95 m_jobId = std::forward<JobIdT>(value);
96 }
97 template <typename JobIdT = Aws::String>
98 JobDetail& WithJobId(JobIdT&& value) {
99 SetJobId(std::forward<JobIdT>(value));
100 return *this;
101 }
103
105
109 inline const Aws::String& GetJobQueue() const { return m_jobQueue; }
110 inline bool JobQueueHasBeenSet() const { return m_jobQueueHasBeenSet; }
111 template <typename JobQueueT = Aws::String>
112 void SetJobQueue(JobQueueT&& value) {
113 m_jobQueueHasBeenSet = true;
114 m_jobQueue = std::forward<JobQueueT>(value);
115 }
116 template <typename JobQueueT = Aws::String>
117 JobDetail& WithJobQueue(JobQueueT&& value) {
118 SetJobQueue(std::forward<JobQueueT>(value));
119 return *this;
120 }
122
124
131 inline JobStatus GetStatus() const { return m_status; }
132 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
133 inline void SetStatus(JobStatus value) {
134 m_statusHasBeenSet = true;
135 m_status = value;
136 }
138 SetStatus(value);
139 return *this;
140 }
142
144
147 inline const Aws::String& GetShareIdentifier() const { return m_shareIdentifier; }
148 inline bool ShareIdentifierHasBeenSet() const { return m_shareIdentifierHasBeenSet; }
149 template <typename ShareIdentifierT = Aws::String>
150 void SetShareIdentifier(ShareIdentifierT&& value) {
151 m_shareIdentifierHasBeenSet = true;
152 m_shareIdentifier = std::forward<ShareIdentifierT>(value);
153 }
154 template <typename ShareIdentifierT = Aws::String>
155 JobDetail& WithShareIdentifier(ShareIdentifierT&& value) {
156 SetShareIdentifier(std::forward<ShareIdentifierT>(value));
157 return *this;
158 }
160
162
167 inline int GetSchedulingPriority() const { return m_schedulingPriority; }
168 inline bool SchedulingPriorityHasBeenSet() const { return m_schedulingPriorityHasBeenSet; }
169 inline void SetSchedulingPriority(int value) {
170 m_schedulingPriorityHasBeenSet = true;
171 m_schedulingPriority = value;
172 }
175 return *this;
176 }
178
180
183 inline const Aws::Vector<AttemptDetail>& GetAttempts() const { return m_attempts; }
184 inline bool AttemptsHasBeenSet() const { return m_attemptsHasBeenSet; }
185 template <typename AttemptsT = Aws::Vector<AttemptDetail>>
186 void SetAttempts(AttemptsT&& value) {
187 m_attemptsHasBeenSet = true;
188 m_attempts = std::forward<AttemptsT>(value);
189 }
190 template <typename AttemptsT = Aws::Vector<AttemptDetail>>
191 JobDetail& WithAttempts(AttemptsT&& value) {
192 SetAttempts(std::forward<AttemptsT>(value));
193 return *this;
194 }
195 template <typename AttemptsT = AttemptDetail>
196 JobDetail& AddAttempts(AttemptsT&& value) {
197 m_attemptsHasBeenSet = true;
198 m_attempts.emplace_back(std::forward<AttemptsT>(value));
199 return *this;
200 }
202
204
218 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
219 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
220 template <typename StatusReasonT = Aws::String>
221 void SetStatusReason(StatusReasonT&& value) {
222 m_statusReasonHasBeenSet = true;
223 m_statusReason = std::forward<StatusReasonT>(value);
224 }
225 template <typename StatusReasonT = Aws::String>
226 JobDetail& WithStatusReason(StatusReasonT&& value) {
227 SetStatusReason(std::forward<StatusReasonT>(value));
228 return *this;
229 }
231
233
241 inline long long GetCreatedAt() const { return m_createdAt; }
242 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
243 inline void SetCreatedAt(long long value) {
244 m_createdAtHasBeenSet = true;
245 m_createdAt = value;
246 }
247 inline JobDetail& WithCreatedAt(long long value) {
248 SetCreatedAt(value);
249 return *this;
250 }
252
254
257 inline const RetryStrategy& GetRetryStrategy() const { return m_retryStrategy; }
258 inline bool RetryStrategyHasBeenSet() const { return m_retryStrategyHasBeenSet; }
259 template <typename RetryStrategyT = RetryStrategy>
260 void SetRetryStrategy(RetryStrategyT&& value) {
261 m_retryStrategyHasBeenSet = true;
262 m_retryStrategy = std::forward<RetryStrategyT>(value);
263 }
264 template <typename RetryStrategyT = RetryStrategy>
265 JobDetail& WithRetryStrategy(RetryStrategyT&& value) {
266 SetRetryStrategy(std::forward<RetryStrategyT>(value));
267 return *this;
268 }
270
272
277 inline long long GetStartedAt() const { return m_startedAt; }
278 inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
279 inline void SetStartedAt(long long value) {
280 m_startedAtHasBeenSet = true;
281 m_startedAt = value;
282 }
283 inline JobDetail& WithStartedAt(long long value) {
284 SetStartedAt(value);
285 return *this;
286 }
288
290
295 inline long long GetStoppedAt() const { return m_stoppedAt; }
296 inline bool StoppedAtHasBeenSet() const { return m_stoppedAtHasBeenSet; }
297 inline void SetStoppedAt(long long value) {
298 m_stoppedAtHasBeenSet = true;
299 m_stoppedAt = value;
300 }
301 inline JobDetail& WithStoppedAt(long long value) {
302 SetStoppedAt(value);
303 return *this;
304 }
306
308
311 inline const Aws::Vector<JobDependency>& GetDependsOn() const { return m_dependsOn; }
312 inline bool DependsOnHasBeenSet() const { return m_dependsOnHasBeenSet; }
313 template <typename DependsOnT = Aws::Vector<JobDependency>>
314 void SetDependsOn(DependsOnT&& value) {
315 m_dependsOnHasBeenSet = true;
316 m_dependsOn = std::forward<DependsOnT>(value);
317 }
318 template <typename DependsOnT = Aws::Vector<JobDependency>>
319 JobDetail& WithDependsOn(DependsOnT&& value) {
320 SetDependsOn(std::forward<DependsOnT>(value));
321 return *this;
322 }
323 template <typename DependsOnT = JobDependency>
324 JobDetail& AddDependsOn(DependsOnT&& value) {
325 m_dependsOnHasBeenSet = true;
326 m_dependsOn.emplace_back(std::forward<DependsOnT>(value));
327 return *this;
328 }
330
332
335 inline const Aws::String& GetJobDefinition() const { return m_jobDefinition; }
336 inline bool JobDefinitionHasBeenSet() const { return m_jobDefinitionHasBeenSet; }
337 template <typename JobDefinitionT = Aws::String>
338 void SetJobDefinition(JobDefinitionT&& value) {
339 m_jobDefinitionHasBeenSet = true;
340 m_jobDefinition = std::forward<JobDefinitionT>(value);
341 }
342 template <typename JobDefinitionT = Aws::String>
343 JobDetail& WithJobDefinition(JobDefinitionT&& value) {
344 SetJobDefinition(std::forward<JobDefinitionT>(value));
345 return *this;
346 }
348
350
355 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const { return m_parameters; }
356 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
357 template <typename ParametersT = Aws::Map<Aws::String, Aws::String>>
358 void SetParameters(ParametersT&& value) {
359 m_parametersHasBeenSet = true;
360 m_parameters = std::forward<ParametersT>(value);
361 }
362 template <typename ParametersT = Aws::Map<Aws::String, Aws::String>>
363 JobDetail& WithParameters(ParametersT&& value) {
364 SetParameters(std::forward<ParametersT>(value));
365 return *this;
366 }
367 template <typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::String>
368 JobDetail& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
369 m_parametersHasBeenSet = true;
370 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
371 return *this;
372 }
374
376
381 inline const ContainerDetail& GetContainer() const { return m_container; }
382 inline bool ContainerHasBeenSet() const { return m_containerHasBeenSet; }
383 template <typename ContainerT = ContainerDetail>
384 void SetContainer(ContainerT&& value) {
385 m_containerHasBeenSet = true;
386 m_container = std::forward<ContainerT>(value);
387 }
388 template <typename ContainerT = ContainerDetail>
389 JobDetail& WithContainer(ContainerT&& value) {
390 SetContainer(std::forward<ContainerT>(value));
391 return *this;
392 }
394
396
400 inline const NodeDetails& GetNodeDetails() const { return m_nodeDetails; }
401 inline bool NodeDetailsHasBeenSet() const { return m_nodeDetailsHasBeenSet; }
402 template <typename NodeDetailsT = NodeDetails>
403 void SetNodeDetails(NodeDetailsT&& value) {
404 m_nodeDetailsHasBeenSet = true;
405 m_nodeDetails = std::forward<NodeDetailsT>(value);
406 }
407 template <typename NodeDetailsT = NodeDetails>
408 JobDetail& WithNodeDetails(NodeDetailsT&& value) {
409 SetNodeDetails(std::forward<NodeDetailsT>(value));
410 return *this;
411 }
413
415
420 inline const NodeProperties& GetNodeProperties() const { return m_nodeProperties; }
421 inline bool NodePropertiesHasBeenSet() const { return m_nodePropertiesHasBeenSet; }
422 template <typename NodePropertiesT = NodeProperties>
423 void SetNodeProperties(NodePropertiesT&& value) {
424 m_nodePropertiesHasBeenSet = true;
425 m_nodeProperties = std::forward<NodePropertiesT>(value);
426 }
427 template <typename NodePropertiesT = NodeProperties>
428 JobDetail& WithNodeProperties(NodePropertiesT&& value) {
429 SetNodeProperties(std::forward<NodePropertiesT>(value));
430 return *this;
431 }
433
435
438 inline const ArrayPropertiesDetail& GetArrayProperties() const { return m_arrayProperties; }
439 inline bool ArrayPropertiesHasBeenSet() const { return m_arrayPropertiesHasBeenSet; }
440 template <typename ArrayPropertiesT = ArrayPropertiesDetail>
441 void SetArrayProperties(ArrayPropertiesT&& value) {
442 m_arrayPropertiesHasBeenSet = true;
443 m_arrayProperties = std::forward<ArrayPropertiesT>(value);
444 }
445 template <typename ArrayPropertiesT = ArrayPropertiesDetail>
446 JobDetail& WithArrayProperties(ArrayPropertiesT&& value) {
447 SetArrayProperties(std::forward<ArrayPropertiesT>(value));
448 return *this;
449 }
451
453
456 inline const JobTimeout& GetTimeout() const { return m_timeout; }
457 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
458 template <typename TimeoutT = JobTimeout>
459 void SetTimeout(TimeoutT&& value) {
460 m_timeoutHasBeenSet = true;
461 m_timeout = std::forward<TimeoutT>(value);
462 }
463 template <typename TimeoutT = JobTimeout>
464 JobDetail& WithTimeout(TimeoutT&& value) {
465 SetTimeout(std::forward<TimeoutT>(value));
466 return *this;
467 }
469
471
474 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
475 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
476 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
477 void SetTags(TagsT&& value) {
478 m_tagsHasBeenSet = true;
479 m_tags = std::forward<TagsT>(value);
480 }
481 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
482 JobDetail& WithTags(TagsT&& value) {
483 SetTags(std::forward<TagsT>(value));
484 return *this;
485 }
486 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
487 JobDetail& AddTags(TagsKeyT&& key, TagsValueT&& value) {
488 m_tagsHasBeenSet = true;
489 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
490 return *this;
491 }
493
495
503 inline bool GetPropagateTags() const { return m_propagateTags; }
504 inline bool PropagateTagsHasBeenSet() const { return m_propagateTagsHasBeenSet; }
505 inline void SetPropagateTags(bool value) {
506 m_propagateTagsHasBeenSet = true;
507 m_propagateTags = value;
508 }
509 inline JobDetail& WithPropagateTags(bool value) {
510 SetPropagateTags(value);
511 return *this;
512 }
514
516
521 inline const Aws::Vector<PlatformCapability>& GetPlatformCapabilities() const { return m_platformCapabilities; }
522 inline bool PlatformCapabilitiesHasBeenSet() const { return m_platformCapabilitiesHasBeenSet; }
523 template <typename PlatformCapabilitiesT = Aws::Vector<PlatformCapability>>
524 void SetPlatformCapabilities(PlatformCapabilitiesT&& value) {
525 m_platformCapabilitiesHasBeenSet = true;
526 m_platformCapabilities = std::forward<PlatformCapabilitiesT>(value);
527 }
528 template <typename PlatformCapabilitiesT = Aws::Vector<PlatformCapability>>
529 JobDetail& WithPlatformCapabilities(PlatformCapabilitiesT&& value) {
530 SetPlatformCapabilities(std::forward<PlatformCapabilitiesT>(value));
531 return *this;
532 }
534 m_platformCapabilitiesHasBeenSet = true;
535 m_platformCapabilities.push_back(value);
536 return *this;
537 }
539
541
545 inline const EksPropertiesDetail& GetEksProperties() const { return m_eksProperties; }
546 inline bool EksPropertiesHasBeenSet() const { return m_eksPropertiesHasBeenSet; }
547 template <typename EksPropertiesT = EksPropertiesDetail>
548 void SetEksProperties(EksPropertiesT&& value) {
549 m_eksPropertiesHasBeenSet = true;
550 m_eksProperties = std::forward<EksPropertiesT>(value);
551 }
552 template <typename EksPropertiesT = EksPropertiesDetail>
553 JobDetail& WithEksProperties(EksPropertiesT&& value) {
554 SetEksProperties(std::forward<EksPropertiesT>(value));
555 return *this;
556 }
558
560
563 inline const Aws::Vector<EksAttemptDetail>& GetEksAttempts() const { return m_eksAttempts; }
564 inline bool EksAttemptsHasBeenSet() const { return m_eksAttemptsHasBeenSet; }
565 template <typename EksAttemptsT = Aws::Vector<EksAttemptDetail>>
566 void SetEksAttempts(EksAttemptsT&& value) {
567 m_eksAttemptsHasBeenSet = true;
568 m_eksAttempts = std::forward<EksAttemptsT>(value);
569 }
570 template <typename EksAttemptsT = Aws::Vector<EksAttemptDetail>>
571 JobDetail& WithEksAttempts(EksAttemptsT&& value) {
572 SetEksAttempts(std::forward<EksAttemptsT>(value));
573 return *this;
574 }
575 template <typename EksAttemptsT = EksAttemptDetail>
576 JobDetail& AddEksAttempts(EksAttemptsT&& value) {
577 m_eksAttemptsHasBeenSet = true;
578 m_eksAttempts.emplace_back(std::forward<EksAttemptsT>(value));
579 return *this;
580 }
582
584
587 inline const EcsPropertiesDetail& GetEcsProperties() const { return m_ecsProperties; }
588 inline bool EcsPropertiesHasBeenSet() const { return m_ecsPropertiesHasBeenSet; }
589 template <typename EcsPropertiesT = EcsPropertiesDetail>
590 void SetEcsProperties(EcsPropertiesT&& value) {
591 m_ecsPropertiesHasBeenSet = true;
592 m_ecsProperties = std::forward<EcsPropertiesT>(value);
593 }
594 template <typename EcsPropertiesT = EcsPropertiesDetail>
595 JobDetail& WithEcsProperties(EcsPropertiesT&& value) {
596 SetEcsProperties(std::forward<EcsPropertiesT>(value));
597 return *this;
598 }
600
602
605 inline bool GetIsCancelled() const { return m_isCancelled; }
606 inline bool IsCancelledHasBeenSet() const { return m_isCancelledHasBeenSet; }
607 inline void SetIsCancelled(bool value) {
608 m_isCancelledHasBeenSet = true;
609 m_isCancelled = value;
610 }
611 inline JobDetail& WithIsCancelled(bool value) {
612 SetIsCancelled(value);
613 return *this;
614 }
616
618
621 inline bool GetIsTerminated() const { return m_isTerminated; }
622 inline bool IsTerminatedHasBeenSet() const { return m_isTerminatedHasBeenSet; }
623 inline void SetIsTerminated(bool value) {
624 m_isTerminatedHasBeenSet = true;
625 m_isTerminated = value;
626 }
627 inline JobDetail& WithIsTerminated(bool value) {
628 SetIsTerminated(value);
629 return *this;
630 }
632
634
637 inline const ConsumableResourceProperties& GetConsumableResourceProperties() const { return m_consumableResourceProperties; }
638 inline bool ConsumableResourcePropertiesHasBeenSet() const { return m_consumableResourcePropertiesHasBeenSet; }
639 template <typename ConsumableResourcePropertiesT = ConsumableResourceProperties>
640 void SetConsumableResourceProperties(ConsumableResourcePropertiesT&& value) {
641 m_consumableResourcePropertiesHasBeenSet = true;
642 m_consumableResourceProperties = std::forward<ConsumableResourcePropertiesT>(value);
643 }
644 template <typename ConsumableResourcePropertiesT = ConsumableResourceProperties>
645 JobDetail& WithConsumableResourceProperties(ConsumableResourcePropertiesT&& value) {
646 SetConsumableResourceProperties(std::forward<ConsumableResourcePropertiesT>(value));
647 return *this;
648 }
650 private:
651 Aws::String m_jobArn;
652
653 Aws::String m_jobName;
654
655 Aws::String m_jobId;
656
657 Aws::String m_jobQueue;
658
660
661 Aws::String m_shareIdentifier;
662
663 int m_schedulingPriority{0};
664
666
667 Aws::String m_statusReason;
668
669 long long m_createdAt{0};
670
671 RetryStrategy m_retryStrategy;
672
673 long long m_startedAt{0};
674
675 long long m_stoppedAt{0};
676
677 Aws::Vector<JobDependency> m_dependsOn;
678
679 Aws::String m_jobDefinition;
680
682
683 ContainerDetail m_container;
684
685 NodeDetails m_nodeDetails;
686
687 NodeProperties m_nodeProperties;
688
689 ArrayPropertiesDetail m_arrayProperties;
690
691 JobTimeout m_timeout;
692
694
695 bool m_propagateTags{false};
696
697 Aws::Vector<PlatformCapability> m_platformCapabilities;
698
699 EksPropertiesDetail m_eksProperties;
700
701 Aws::Vector<EksAttemptDetail> m_eksAttempts;
702
703 EcsPropertiesDetail m_ecsProperties;
704
705 bool m_isCancelled{false};
706
707 bool m_isTerminated{false};
708
709 ConsumableResourceProperties m_consumableResourceProperties;
710 bool m_jobArnHasBeenSet = false;
711 bool m_jobNameHasBeenSet = false;
712 bool m_jobIdHasBeenSet = false;
713 bool m_jobQueueHasBeenSet = false;
714 bool m_statusHasBeenSet = false;
715 bool m_shareIdentifierHasBeenSet = false;
716 bool m_schedulingPriorityHasBeenSet = false;
717 bool m_attemptsHasBeenSet = false;
718 bool m_statusReasonHasBeenSet = false;
719 bool m_createdAtHasBeenSet = false;
720 bool m_retryStrategyHasBeenSet = false;
721 bool m_startedAtHasBeenSet = false;
722 bool m_stoppedAtHasBeenSet = false;
723 bool m_dependsOnHasBeenSet = false;
724 bool m_jobDefinitionHasBeenSet = false;
725 bool m_parametersHasBeenSet = false;
726 bool m_containerHasBeenSet = false;
727 bool m_nodeDetailsHasBeenSet = false;
728 bool m_nodePropertiesHasBeenSet = false;
729 bool m_arrayPropertiesHasBeenSet = false;
730 bool m_timeoutHasBeenSet = false;
731 bool m_tagsHasBeenSet = false;
732 bool m_propagateTagsHasBeenSet = false;
733 bool m_platformCapabilitiesHasBeenSet = false;
734 bool m_eksPropertiesHasBeenSet = false;
735 bool m_eksAttemptsHasBeenSet = false;
736 bool m_ecsPropertiesHasBeenSet = false;
737 bool m_isCancelledHasBeenSet = false;
738 bool m_isTerminatedHasBeenSet = false;
739 bool m_consumableResourcePropertiesHasBeenSet = false;
740};
741
742} // namespace Model
743} // namespace Batch
744} // namespace Aws
JobDetail & WithContainer(ContainerT &&value)
Definition JobDetail.h:389
const EcsPropertiesDetail & GetEcsProperties() const
Definition JobDetail.h:587
void SetJobQueue(JobQueueT &&value)
Definition JobDetail.h:112
bool ParametersHasBeenSet() const
Definition JobDetail.h:356
JobDetail & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
Definition JobDetail.h:368
const Aws::Vector< PlatformCapability > & GetPlatformCapabilities() const
Definition JobDetail.h:521
void SetIsTerminated(bool value)
Definition JobDetail.h:623
void SetTimeout(TimeoutT &&value)
Definition JobDetail.h:459
bool JobNameHasBeenSet() const
Definition JobDetail.h:73
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
JobDetail & AddDependsOn(DependsOnT &&value)
Definition JobDetail.h:324
void SetPropagateTags(bool value)
Definition JobDetail.h:505
void SetDependsOn(DependsOnT &&value)
Definition JobDetail.h:314
bool AttemptsHasBeenSet() const
Definition JobDetail.h:184
bool JobQueueHasBeenSet() const
Definition JobDetail.h:110
const Aws::Vector< EksAttemptDetail > & GetEksAttempts() const
Definition JobDetail.h:563
const NodeDetails & GetNodeDetails() const
Definition JobDetail.h:400
void SetEksProperties(EksPropertiesT &&value)
Definition JobDetail.h:548
JobDetail & AddAttempts(AttemptsT &&value)
Definition JobDetail.h:196
bool ArrayPropertiesHasBeenSet() const
Definition JobDetail.h:439
bool ConsumableResourcePropertiesHasBeenSet() const
Definition JobDetail.h:638
JobDetail & WithRetryStrategy(RetryStrategyT &&value)
Definition JobDetail.h:265
bool ContainerHasBeenSet() const
Definition JobDetail.h:382
const NodeProperties & GetNodeProperties() const
Definition JobDetail.h:420
bool CreatedAtHasBeenSet() const
Definition JobDetail.h:242
bool StoppedAtHasBeenSet() const
Definition JobDetail.h:296
JobDetail & WithJobArn(JobArnT &&value)
Definition JobDetail.h:62
JobDetail & WithEksAttempts(EksAttemptsT &&value)
Definition JobDetail.h:571
const Aws::String & GetJobArn() const
Definition JobDetail.h:54
JobDetail & WithNodeProperties(NodePropertiesT &&value)
Definition JobDetail.h:428
const Aws::String & GetJobDefinition() const
Definition JobDetail.h:335
void SetSchedulingPriority(int value)
Definition JobDetail.h:169
void SetShareIdentifier(ShareIdentifierT &&value)
Definition JobDetail.h:150
const ArrayPropertiesDetail & GetArrayProperties() const
Definition JobDetail.h:438
JobDetail & WithStoppedAt(long long value)
Definition JobDetail.h:301
void SetCreatedAt(long long value)
Definition JobDetail.h:243
JobDetail & AddEksAttempts(EksAttemptsT &&value)
Definition JobDetail.h:576
bool SchedulingPriorityHasBeenSet() const
Definition JobDetail.h:168
const RetryStrategy & GetRetryStrategy() const
Definition JobDetail.h:257
JobDetail & WithShareIdentifier(ShareIdentifierT &&value)
Definition JobDetail.h:155
void SetEcsProperties(EcsPropertiesT &&value)
Definition JobDetail.h:590
const ConsumableResourceProperties & GetConsumableResourceProperties() const
Definition JobDetail.h:637
AWS_BATCH_API JobDetail()=default
bool StatusReasonHasBeenSet() const
Definition JobDetail.h:219
void SetPlatformCapabilities(PlatformCapabilitiesT &&value)
Definition JobDetail.h:524
JobDetail & WithStatus(JobStatus value)
Definition JobDetail.h:137
JobDetail & WithParameters(ParametersT &&value)
Definition JobDetail.h:363
void SetConsumableResourceProperties(ConsumableResourcePropertiesT &&value)
Definition JobDetail.h:640
bool EcsPropertiesHasBeenSet() const
Definition JobDetail.h:588
JobDetail & WithJobQueue(JobQueueT &&value)
Definition JobDetail.h:117
void SetAttempts(AttemptsT &&value)
Definition JobDetail.h:186
JobDetail & WithConsumableResourceProperties(ConsumableResourcePropertiesT &&value)
Definition JobDetail.h:645
JobDetail & WithStatusReason(StatusReasonT &&value)
Definition JobDetail.h:226
void SetNodeDetails(NodeDetailsT &&value)
Definition JobDetail.h:403
bool StartedAtHasBeenSet() const
Definition JobDetail.h:278
void SetJobName(JobNameT &&value)
Definition JobDetail.h:75
bool JobArnHasBeenSet() const
Definition JobDetail.h:55
bool IsTerminatedHasBeenSet() const
Definition JobDetail.h:622
const Aws::String & GetJobName() const
Definition JobDetail.h:72
bool RetryStrategyHasBeenSet() const
Definition JobDetail.h:258
void SetParameters(ParametersT &&value)
Definition JobDetail.h:358
bool JobDefinitionHasBeenSet() const
Definition JobDetail.h:336
JobDetail & WithSchedulingPriority(int value)
Definition JobDetail.h:173
bool EksAttemptsHasBeenSet() const
Definition JobDetail.h:564
const ContainerDetail & GetContainer() const
Definition JobDetail.h:381
JobDetail & WithNodeDetails(NodeDetailsT &&value)
Definition JobDetail.h:408
JobDetail & WithJobId(JobIdT &&value)
Definition JobDetail.h:98
JobDetail & WithIsCancelled(bool value)
Definition JobDetail.h:611
JobDetail & WithArrayProperties(ArrayPropertiesT &&value)
Definition JobDetail.h:446
void SetNodeProperties(NodePropertiesT &&value)
Definition JobDetail.h:423
void SetIsCancelled(bool value)
Definition JobDetail.h:607
void SetStatusReason(StatusReasonT &&value)
Definition JobDetail.h:221
JobDetail & WithStartedAt(long long value)
Definition JobDetail.h:283
void SetJobArn(JobArnT &&value)
Definition JobDetail.h:57
void SetStartedAt(long long value)
Definition JobDetail.h:279
void SetRetryStrategy(RetryStrategyT &&value)
Definition JobDetail.h:260
JobDetail & WithJobName(JobNameT &&value)
Definition JobDetail.h:80
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
Definition JobDetail.h:355
bool NodePropertiesHasBeenSet() const
Definition JobDetail.h:421
JobDetail & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition JobDetail.h:487
JobDetail & WithTags(TagsT &&value)
Definition JobDetail.h:482
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition JobDetail.h:474
JobDetail & WithPlatformCapabilities(PlatformCapabilitiesT &&value)
Definition JobDetail.h:529
void SetEksAttempts(EksAttemptsT &&value)
Definition JobDetail.h:566
void SetJobId(JobIdT &&value)
Definition JobDetail.h:93
bool PropagateTagsHasBeenSet() const
Definition JobDetail.h:504
const Aws::String & GetJobId() const
Definition JobDetail.h:90
JobDetail & WithJobDefinition(JobDefinitionT &&value)
Definition JobDetail.h:343
bool IsCancelledHasBeenSet() const
Definition JobDetail.h:606
JobDetail & WithIsTerminated(bool value)
Definition JobDetail.h:627
JobDetail & WithCreatedAt(long long value)
Definition JobDetail.h:247
AWS_BATCH_API JobDetail(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetJobQueue() const
Definition JobDetail.h:109
JobDetail & AddPlatformCapabilities(PlatformCapability value)
Definition JobDetail.h:533
long long GetStartedAt() const
Definition JobDetail.h:277
bool PlatformCapabilitiesHasBeenSet() const
Definition JobDetail.h:522
JobDetail & WithPropagateTags(bool value)
Definition JobDetail.h:509
long long GetCreatedAt() const
Definition JobDetail.h:241
bool ShareIdentifierHasBeenSet() const
Definition JobDetail.h:148
void SetStoppedAt(long long value)
Definition JobDetail.h:297
const Aws::String & GetShareIdentifier() const
Definition JobDetail.h:147
AWS_BATCH_API JobDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetStoppedAt() const
Definition JobDetail.h:295
bool EksPropertiesHasBeenSet() const
Definition JobDetail.h:546
void SetArrayProperties(ArrayPropertiesT &&value)
Definition JobDetail.h:441
const Aws::String & GetStatusReason() const
Definition JobDetail.h:218
bool DependsOnHasBeenSet() const
Definition JobDetail.h:312
const JobTimeout & GetTimeout() const
Definition JobDetail.h:456
JobStatus GetStatus() const
Definition JobDetail.h:131
JobDetail & WithEcsProperties(EcsPropertiesT &&value)
Definition JobDetail.h:595
int GetSchedulingPriority() const
Definition JobDetail.h:167
bool NodeDetailsHasBeenSet() const
Definition JobDetail.h:401
void SetStatus(JobStatus value)
Definition JobDetail.h:133
const Aws::Vector< AttemptDetail > & GetAttempts() const
Definition JobDetail.h:183
JobDetail & WithTimeout(TimeoutT &&value)
Definition JobDetail.h:464
const Aws::Vector< JobDependency > & GetDependsOn() const
Definition JobDetail.h:311
void SetContainer(ContainerT &&value)
Definition JobDetail.h:384
void SetTags(TagsT &&value)
Definition JobDetail.h:477
JobDetail & WithEksProperties(EksPropertiesT &&value)
Definition JobDetail.h:553
const EksPropertiesDetail & GetEksProperties() const
Definition JobDetail.h:545
JobDetail & WithDependsOn(DependsOnT &&value)
Definition JobDetail.h:319
void SetJobDefinition(JobDefinitionT &&value)
Definition JobDetail.h:338
JobDetail & WithAttempts(AttemptsT &&value)
Definition JobDetail.h:191
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