AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
JobDetail.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/batch/model/JobStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/batch/model/RetryStrategy.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/batch/model/ContainerDetail.h>
14#include <aws/batch/model/NodeDetails.h>
15#include <aws/batch/model/NodeProperties.h>
16#include <aws/batch/model/ArrayPropertiesDetail.h>
17#include <aws/batch/model/JobTimeout.h>
18#include <aws/batch/model/EksPropertiesDetail.h>
19#include <aws/batch/model/EcsPropertiesDetail.h>
20#include <aws/batch/model/ConsumableResourceProperties.h>
21#include <aws/batch/model/AttemptDetail.h>
22#include <aws/batch/model/JobDependency.h>
23#include <aws/batch/model/PlatformCapability.h>
24#include <aws/batch/model/EksAttemptDetail.h>
25#include <utility>
26
27namespace Aws
28{
29namespace Utils
30{
31namespace Json
32{
33 class JsonValue;
34 class JsonView;
35} // namespace Json
36} // namespace Utils
37namespace Batch
38{
39namespace Model
40{
41
48 {
49 public:
50 AWS_BATCH_API JobDetail() = default;
51 AWS_BATCH_API JobDetail(Aws::Utils::Json::JsonView jsonValue);
53 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
54
55
57
60 inline const Aws::String& GetJobArn() const { return m_jobArn; }
61 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
62 template<typename JobArnT = Aws::String>
63 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
64 template<typename JobArnT = Aws::String>
65 JobDetail& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
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) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
76 template<typename JobNameT = Aws::String>
77 JobDetail& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
79
81
84 inline const Aws::String& GetJobId() const { return m_jobId; }
85 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
86 template<typename JobIdT = Aws::String>
87 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
88 template<typename JobIdT = Aws::String>
89 JobDetail& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
91
93
97 inline const Aws::String& GetJobQueue() const { return m_jobQueue; }
98 inline bool JobQueueHasBeenSet() const { return m_jobQueueHasBeenSet; }
99 template<typename JobQueueT = Aws::String>
100 void SetJobQueue(JobQueueT&& value) { m_jobQueueHasBeenSet = true; m_jobQueue = std::forward<JobQueueT>(value); }
101 template<typename JobQueueT = Aws::String>
102 JobDetail& WithJobQueue(JobQueueT&& value) { SetJobQueue(std::forward<JobQueueT>(value)); return *this;}
104
106
113 inline JobStatus GetStatus() const { return m_status; }
114 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
115 inline void SetStatus(JobStatus value) { m_statusHasBeenSet = true; m_status = value; }
116 inline JobDetail& WithStatus(JobStatus value) { SetStatus(value); return *this;}
118
120
123 inline const Aws::String& GetShareIdentifier() const { return m_shareIdentifier; }
124 inline bool ShareIdentifierHasBeenSet() const { return m_shareIdentifierHasBeenSet; }
125 template<typename ShareIdentifierT = Aws::String>
126 void SetShareIdentifier(ShareIdentifierT&& value) { m_shareIdentifierHasBeenSet = true; m_shareIdentifier = std::forward<ShareIdentifierT>(value); }
127 template<typename ShareIdentifierT = Aws::String>
128 JobDetail& WithShareIdentifier(ShareIdentifierT&& value) { SetShareIdentifier(std::forward<ShareIdentifierT>(value)); return *this;}
130
132
137 inline int GetSchedulingPriority() const { return m_schedulingPriority; }
138 inline bool SchedulingPriorityHasBeenSet() const { return m_schedulingPriorityHasBeenSet; }
139 inline void SetSchedulingPriority(int value) { m_schedulingPriorityHasBeenSet = true; m_schedulingPriority = value; }
140 inline JobDetail& WithSchedulingPriority(int value) { SetSchedulingPriority(value); return *this;}
142
144
147 inline const Aws::Vector<AttemptDetail>& GetAttempts() const { return m_attempts; }
148 inline bool AttemptsHasBeenSet() const { return m_attemptsHasBeenSet; }
149 template<typename AttemptsT = Aws::Vector<AttemptDetail>>
150 void SetAttempts(AttemptsT&& value) { m_attemptsHasBeenSet = true; m_attempts = std::forward<AttemptsT>(value); }
151 template<typename AttemptsT = Aws::Vector<AttemptDetail>>
152 JobDetail& WithAttempts(AttemptsT&& value) { SetAttempts(std::forward<AttemptsT>(value)); return *this;}
153 template<typename AttemptsT = AttemptDetail>
154 JobDetail& AddAttempts(AttemptsT&& value) { m_attemptsHasBeenSet = true; m_attempts.emplace_back(std::forward<AttemptsT>(value)); return *this; }
156
158
172 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
173 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
174 template<typename StatusReasonT = Aws::String>
175 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
176 template<typename StatusReasonT = Aws::String>
177 JobDetail& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
179
181
189 inline long long GetCreatedAt() const { return m_createdAt; }
190 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
191 inline void SetCreatedAt(long long value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
192 inline JobDetail& WithCreatedAt(long long value) { SetCreatedAt(value); return *this;}
194
196
199 inline const RetryStrategy& GetRetryStrategy() const { return m_retryStrategy; }
200 inline bool RetryStrategyHasBeenSet() const { return m_retryStrategyHasBeenSet; }
201 template<typename RetryStrategyT = RetryStrategy>
202 void SetRetryStrategy(RetryStrategyT&& value) { m_retryStrategyHasBeenSet = true; m_retryStrategy = std::forward<RetryStrategyT>(value); }
203 template<typename RetryStrategyT = RetryStrategy>
204 JobDetail& WithRetryStrategy(RetryStrategyT&& value) { SetRetryStrategy(std::forward<RetryStrategyT>(value)); return *this;}
206
208
213 inline long long GetStartedAt() const { return m_startedAt; }
214 inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
215 inline void SetStartedAt(long long value) { m_startedAtHasBeenSet = true; m_startedAt = value; }
216 inline JobDetail& WithStartedAt(long long value) { SetStartedAt(value); return *this;}
218
220
225 inline long long GetStoppedAt() const { return m_stoppedAt; }
226 inline bool StoppedAtHasBeenSet() const { return m_stoppedAtHasBeenSet; }
227 inline void SetStoppedAt(long long value) { m_stoppedAtHasBeenSet = true; m_stoppedAt = value; }
228 inline JobDetail& WithStoppedAt(long long value) { SetStoppedAt(value); return *this;}
230
232
235 inline const Aws::Vector<JobDependency>& GetDependsOn() const { return m_dependsOn; }
236 inline bool DependsOnHasBeenSet() const { return m_dependsOnHasBeenSet; }
237 template<typename DependsOnT = Aws::Vector<JobDependency>>
238 void SetDependsOn(DependsOnT&& value) { m_dependsOnHasBeenSet = true; m_dependsOn = std::forward<DependsOnT>(value); }
239 template<typename DependsOnT = Aws::Vector<JobDependency>>
240 JobDetail& WithDependsOn(DependsOnT&& value) { SetDependsOn(std::forward<DependsOnT>(value)); return *this;}
241 template<typename DependsOnT = JobDependency>
242 JobDetail& AddDependsOn(DependsOnT&& value) { m_dependsOnHasBeenSet = true; m_dependsOn.emplace_back(std::forward<DependsOnT>(value)); return *this; }
244
246
249 inline const Aws::String& GetJobDefinition() const { return m_jobDefinition; }
250 inline bool JobDefinitionHasBeenSet() const { return m_jobDefinitionHasBeenSet; }
251 template<typename JobDefinitionT = Aws::String>
252 void SetJobDefinition(JobDefinitionT&& value) { m_jobDefinitionHasBeenSet = true; m_jobDefinition = std::forward<JobDefinitionT>(value); }
253 template<typename JobDefinitionT = Aws::String>
254 JobDetail& WithJobDefinition(JobDefinitionT&& value) { SetJobDefinition(std::forward<JobDefinitionT>(value)); return *this;}
256
258
263 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const { return m_parameters; }
264 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
265 template<typename ParametersT = Aws::Map<Aws::String, Aws::String>>
266 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
267 template<typename ParametersT = Aws::Map<Aws::String, Aws::String>>
268 JobDetail& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
269 template<typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::String>
270 JobDetail& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
271 m_parametersHasBeenSet = true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value)); return *this;
272 }
274
276
281 inline const ContainerDetail& GetContainer() const { return m_container; }
282 inline bool ContainerHasBeenSet() const { return m_containerHasBeenSet; }
283 template<typename ContainerT = ContainerDetail>
284 void SetContainer(ContainerT&& value) { m_containerHasBeenSet = true; m_container = std::forward<ContainerT>(value); }
285 template<typename ContainerT = ContainerDetail>
286 JobDetail& WithContainer(ContainerT&& value) { SetContainer(std::forward<ContainerT>(value)); return *this;}
288
290
294 inline const NodeDetails& GetNodeDetails() const { return m_nodeDetails; }
295 inline bool NodeDetailsHasBeenSet() const { return m_nodeDetailsHasBeenSet; }
296 template<typename NodeDetailsT = NodeDetails>
297 void SetNodeDetails(NodeDetailsT&& value) { m_nodeDetailsHasBeenSet = true; m_nodeDetails = std::forward<NodeDetailsT>(value); }
298 template<typename NodeDetailsT = NodeDetails>
299 JobDetail& WithNodeDetails(NodeDetailsT&& value) { SetNodeDetails(std::forward<NodeDetailsT>(value)); return *this;}
301
303
308 inline const NodeProperties& GetNodeProperties() const { return m_nodeProperties; }
309 inline bool NodePropertiesHasBeenSet() const { return m_nodePropertiesHasBeenSet; }
310 template<typename NodePropertiesT = NodeProperties>
311 void SetNodeProperties(NodePropertiesT&& value) { m_nodePropertiesHasBeenSet = true; m_nodeProperties = std::forward<NodePropertiesT>(value); }
312 template<typename NodePropertiesT = NodeProperties>
313 JobDetail& WithNodeProperties(NodePropertiesT&& value) { SetNodeProperties(std::forward<NodePropertiesT>(value)); return *this;}
315
317
320 inline const ArrayPropertiesDetail& GetArrayProperties() const { return m_arrayProperties; }
321 inline bool ArrayPropertiesHasBeenSet() const { return m_arrayPropertiesHasBeenSet; }
322 template<typename ArrayPropertiesT = ArrayPropertiesDetail>
323 void SetArrayProperties(ArrayPropertiesT&& value) { m_arrayPropertiesHasBeenSet = true; m_arrayProperties = std::forward<ArrayPropertiesT>(value); }
324 template<typename ArrayPropertiesT = ArrayPropertiesDetail>
325 JobDetail& WithArrayProperties(ArrayPropertiesT&& value) { SetArrayProperties(std::forward<ArrayPropertiesT>(value)); return *this;}
327
329
332 inline const JobTimeout& GetTimeout() const { return m_timeout; }
333 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
334 template<typename TimeoutT = JobTimeout>
335 void SetTimeout(TimeoutT&& value) { m_timeoutHasBeenSet = true; m_timeout = std::forward<TimeoutT>(value); }
336 template<typename TimeoutT = JobTimeout>
337 JobDetail& WithTimeout(TimeoutT&& value) { SetTimeout(std::forward<TimeoutT>(value)); return *this;}
339
341
344 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
345 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
346 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
347 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
348 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
349 JobDetail& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
350 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
351 JobDetail& AddTags(TagsKeyT&& key, TagsValueT&& value) {
352 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
353 }
355
357
365 inline bool GetPropagateTags() const { return m_propagateTags; }
366 inline bool PropagateTagsHasBeenSet() const { return m_propagateTagsHasBeenSet; }
367 inline void SetPropagateTags(bool value) { m_propagateTagsHasBeenSet = true; m_propagateTags = value; }
368 inline JobDetail& WithPropagateTags(bool value) { SetPropagateTags(value); return *this;}
370
372
377 inline const Aws::Vector<PlatformCapability>& GetPlatformCapabilities() const { return m_platformCapabilities; }
378 inline bool PlatformCapabilitiesHasBeenSet() const { return m_platformCapabilitiesHasBeenSet; }
379 template<typename PlatformCapabilitiesT = Aws::Vector<PlatformCapability>>
380 void SetPlatformCapabilities(PlatformCapabilitiesT&& value) { m_platformCapabilitiesHasBeenSet = true; m_platformCapabilities = std::forward<PlatformCapabilitiesT>(value); }
381 template<typename PlatformCapabilitiesT = Aws::Vector<PlatformCapability>>
382 JobDetail& WithPlatformCapabilities(PlatformCapabilitiesT&& value) { SetPlatformCapabilities(std::forward<PlatformCapabilitiesT>(value)); return *this;}
383 inline JobDetail& AddPlatformCapabilities(PlatformCapability value) { m_platformCapabilitiesHasBeenSet = true; m_platformCapabilities.push_back(value); return *this; }
385
387
391 inline const EksPropertiesDetail& GetEksProperties() const { return m_eksProperties; }
392 inline bool EksPropertiesHasBeenSet() const { return m_eksPropertiesHasBeenSet; }
393 template<typename EksPropertiesT = EksPropertiesDetail>
394 void SetEksProperties(EksPropertiesT&& value) { m_eksPropertiesHasBeenSet = true; m_eksProperties = std::forward<EksPropertiesT>(value); }
395 template<typename EksPropertiesT = EksPropertiesDetail>
396 JobDetail& WithEksProperties(EksPropertiesT&& value) { SetEksProperties(std::forward<EksPropertiesT>(value)); return *this;}
398
400
403 inline const Aws::Vector<EksAttemptDetail>& GetEksAttempts() const { return m_eksAttempts; }
404 inline bool EksAttemptsHasBeenSet() const { return m_eksAttemptsHasBeenSet; }
405 template<typename EksAttemptsT = Aws::Vector<EksAttemptDetail>>
406 void SetEksAttempts(EksAttemptsT&& value) { m_eksAttemptsHasBeenSet = true; m_eksAttempts = std::forward<EksAttemptsT>(value); }
407 template<typename EksAttemptsT = Aws::Vector<EksAttemptDetail>>
408 JobDetail& WithEksAttempts(EksAttemptsT&& value) { SetEksAttempts(std::forward<EksAttemptsT>(value)); return *this;}
409 template<typename EksAttemptsT = EksAttemptDetail>
410 JobDetail& AddEksAttempts(EksAttemptsT&& value) { m_eksAttemptsHasBeenSet = true; m_eksAttempts.emplace_back(std::forward<EksAttemptsT>(value)); return *this; }
412
414
417 inline const EcsPropertiesDetail& GetEcsProperties() const { return m_ecsProperties; }
418 inline bool EcsPropertiesHasBeenSet() const { return m_ecsPropertiesHasBeenSet; }
419 template<typename EcsPropertiesT = EcsPropertiesDetail>
420 void SetEcsProperties(EcsPropertiesT&& value) { m_ecsPropertiesHasBeenSet = true; m_ecsProperties = std::forward<EcsPropertiesT>(value); }
421 template<typename EcsPropertiesT = EcsPropertiesDetail>
422 JobDetail& WithEcsProperties(EcsPropertiesT&& value) { SetEcsProperties(std::forward<EcsPropertiesT>(value)); return *this;}
424
426
429 inline bool GetIsCancelled() const { return m_isCancelled; }
430 inline bool IsCancelledHasBeenSet() const { return m_isCancelledHasBeenSet; }
431 inline void SetIsCancelled(bool value) { m_isCancelledHasBeenSet = true; m_isCancelled = value; }
432 inline JobDetail& WithIsCancelled(bool value) { SetIsCancelled(value); return *this;}
434
436
439 inline bool GetIsTerminated() const { return m_isTerminated; }
440 inline bool IsTerminatedHasBeenSet() const { return m_isTerminatedHasBeenSet; }
441 inline void SetIsTerminated(bool value) { m_isTerminatedHasBeenSet = true; m_isTerminated = value; }
442 inline JobDetail& WithIsTerminated(bool value) { SetIsTerminated(value); return *this;}
444
446
449 inline const ConsumableResourceProperties& GetConsumableResourceProperties() const { return m_consumableResourceProperties; }
450 inline bool ConsumableResourcePropertiesHasBeenSet() const { return m_consumableResourcePropertiesHasBeenSet; }
451 template<typename ConsumableResourcePropertiesT = ConsumableResourceProperties>
452 void SetConsumableResourceProperties(ConsumableResourcePropertiesT&& value) { m_consumableResourcePropertiesHasBeenSet = true; m_consumableResourceProperties = std::forward<ConsumableResourcePropertiesT>(value); }
453 template<typename ConsumableResourcePropertiesT = ConsumableResourceProperties>
454 JobDetail& WithConsumableResourceProperties(ConsumableResourcePropertiesT&& value) { SetConsumableResourceProperties(std::forward<ConsumableResourcePropertiesT>(value)); return *this;}
456 private:
457
458 Aws::String m_jobArn;
459 bool m_jobArnHasBeenSet = false;
460
461 Aws::String m_jobName;
462 bool m_jobNameHasBeenSet = false;
463
464 Aws::String m_jobId;
465 bool m_jobIdHasBeenSet = false;
466
467 Aws::String m_jobQueue;
468 bool m_jobQueueHasBeenSet = false;
469
471 bool m_statusHasBeenSet = false;
472
473 Aws::String m_shareIdentifier;
474 bool m_shareIdentifierHasBeenSet = false;
475
476 int m_schedulingPriority{0};
477 bool m_schedulingPriorityHasBeenSet = false;
478
480 bool m_attemptsHasBeenSet = false;
481
482 Aws::String m_statusReason;
483 bool m_statusReasonHasBeenSet = false;
484
485 long long m_createdAt{0};
486 bool m_createdAtHasBeenSet = false;
487
488 RetryStrategy m_retryStrategy;
489 bool m_retryStrategyHasBeenSet = false;
490
491 long long m_startedAt{0};
492 bool m_startedAtHasBeenSet = false;
493
494 long long m_stoppedAt{0};
495 bool m_stoppedAtHasBeenSet = false;
496
497 Aws::Vector<JobDependency> m_dependsOn;
498 bool m_dependsOnHasBeenSet = false;
499
500 Aws::String m_jobDefinition;
501 bool m_jobDefinitionHasBeenSet = false;
502
504 bool m_parametersHasBeenSet = false;
505
506 ContainerDetail m_container;
507 bool m_containerHasBeenSet = false;
508
509 NodeDetails m_nodeDetails;
510 bool m_nodeDetailsHasBeenSet = false;
511
512 NodeProperties m_nodeProperties;
513 bool m_nodePropertiesHasBeenSet = false;
514
515 ArrayPropertiesDetail m_arrayProperties;
516 bool m_arrayPropertiesHasBeenSet = false;
517
518 JobTimeout m_timeout;
519 bool m_timeoutHasBeenSet = false;
520
522 bool m_tagsHasBeenSet = false;
523
524 bool m_propagateTags{false};
525 bool m_propagateTagsHasBeenSet = false;
526
527 Aws::Vector<PlatformCapability> m_platformCapabilities;
528 bool m_platformCapabilitiesHasBeenSet = false;
529
530 EksPropertiesDetail m_eksProperties;
531 bool m_eksPropertiesHasBeenSet = false;
532
533 Aws::Vector<EksAttemptDetail> m_eksAttempts;
534 bool m_eksAttemptsHasBeenSet = false;
535
536 EcsPropertiesDetail m_ecsProperties;
537 bool m_ecsPropertiesHasBeenSet = false;
538
539 bool m_isCancelled{false};
540 bool m_isCancelledHasBeenSet = false;
541
542 bool m_isTerminated{false};
543 bool m_isTerminatedHasBeenSet = false;
544
545 ConsumableResourceProperties m_consumableResourceProperties;
546 bool m_consumableResourcePropertiesHasBeenSet = false;
547 };
548
549} // namespace Model
550} // namespace Batch
551} // namespace Aws
JobDetail & WithContainer(ContainerT &&value)
Definition JobDetail.h:286
const EcsPropertiesDetail & GetEcsProperties() const
Definition JobDetail.h:417
void SetJobQueue(JobQueueT &&value)
Definition JobDetail.h:100
bool ParametersHasBeenSet() const
Definition JobDetail.h:264
JobDetail & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
Definition JobDetail.h:270
const Aws::Vector< PlatformCapability > & GetPlatformCapabilities() const
Definition JobDetail.h:377
void SetIsTerminated(bool value)
Definition JobDetail.h:441
void SetTimeout(TimeoutT &&value)
Definition JobDetail.h:335
bool JobNameHasBeenSet() const
Definition JobDetail.h:73
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
JobDetail & AddDependsOn(DependsOnT &&value)
Definition JobDetail.h:242
void SetPropagateTags(bool value)
Definition JobDetail.h:367
void SetDependsOn(DependsOnT &&value)
Definition JobDetail.h:238
bool AttemptsHasBeenSet() const
Definition JobDetail.h:148
bool JobQueueHasBeenSet() const
Definition JobDetail.h:98
const Aws::Vector< EksAttemptDetail > & GetEksAttempts() const
Definition JobDetail.h:403
const NodeDetails & GetNodeDetails() const
Definition JobDetail.h:294
void SetEksProperties(EksPropertiesT &&value)
Definition JobDetail.h:394
JobDetail & AddAttempts(AttemptsT &&value)
Definition JobDetail.h:154
bool ArrayPropertiesHasBeenSet() const
Definition JobDetail.h:321
bool ConsumableResourcePropertiesHasBeenSet() const
Definition JobDetail.h:450
JobDetail & WithRetryStrategy(RetryStrategyT &&value)
Definition JobDetail.h:204
bool ContainerHasBeenSet() const
Definition JobDetail.h:282
const NodeProperties & GetNodeProperties() const
Definition JobDetail.h:308
bool CreatedAtHasBeenSet() const
Definition JobDetail.h:190
bool StoppedAtHasBeenSet() const
Definition JobDetail.h:226
JobDetail & WithJobArn(JobArnT &&value)
Definition JobDetail.h:65
JobDetail & WithEksAttempts(EksAttemptsT &&value)
Definition JobDetail.h:408
const Aws::String & GetJobArn() const
Definition JobDetail.h:60
JobDetail & WithNodeProperties(NodePropertiesT &&value)
Definition JobDetail.h:313
const Aws::String & GetJobDefinition() const
Definition JobDetail.h:249
void SetSchedulingPriority(int value)
Definition JobDetail.h:139
void SetShareIdentifier(ShareIdentifierT &&value)
Definition JobDetail.h:126
const ArrayPropertiesDetail & GetArrayProperties() const
Definition JobDetail.h:320
JobDetail & WithStoppedAt(long long value)
Definition JobDetail.h:228
void SetCreatedAt(long long value)
Definition JobDetail.h:191
JobDetail & AddEksAttempts(EksAttemptsT &&value)
Definition JobDetail.h:410
bool SchedulingPriorityHasBeenSet() const
Definition JobDetail.h:138
const RetryStrategy & GetRetryStrategy() const
Definition JobDetail.h:199
JobDetail & WithShareIdentifier(ShareIdentifierT &&value)
Definition JobDetail.h:128
void SetEcsProperties(EcsPropertiesT &&value)
Definition JobDetail.h:420
const ConsumableResourceProperties & GetConsumableResourceProperties() const
Definition JobDetail.h:449
AWS_BATCH_API JobDetail()=default
bool StatusReasonHasBeenSet() const
Definition JobDetail.h:173
void SetPlatformCapabilities(PlatformCapabilitiesT &&value)
Definition JobDetail.h:380
JobDetail & WithStatus(JobStatus value)
Definition JobDetail.h:116
JobDetail & WithParameters(ParametersT &&value)
Definition JobDetail.h:268
void SetConsumableResourceProperties(ConsumableResourcePropertiesT &&value)
Definition JobDetail.h:452
bool EcsPropertiesHasBeenSet() const
Definition JobDetail.h:418
JobDetail & WithJobQueue(JobQueueT &&value)
Definition JobDetail.h:102
void SetAttempts(AttemptsT &&value)
Definition JobDetail.h:150
JobDetail & WithConsumableResourceProperties(ConsumableResourcePropertiesT &&value)
Definition JobDetail.h:454
JobDetail & WithStatusReason(StatusReasonT &&value)
Definition JobDetail.h:177
void SetNodeDetails(NodeDetailsT &&value)
Definition JobDetail.h:297
bool StartedAtHasBeenSet() const
Definition JobDetail.h:214
void SetJobName(JobNameT &&value)
Definition JobDetail.h:75
bool JobArnHasBeenSet() const
Definition JobDetail.h:61
bool IsTerminatedHasBeenSet() const
Definition JobDetail.h:440
const Aws::String & GetJobName() const
Definition JobDetail.h:72
bool RetryStrategyHasBeenSet() const
Definition JobDetail.h:200
void SetParameters(ParametersT &&value)
Definition JobDetail.h:266
bool JobDefinitionHasBeenSet() const
Definition JobDetail.h:250
JobDetail & WithSchedulingPriority(int value)
Definition JobDetail.h:140
bool EksAttemptsHasBeenSet() const
Definition JobDetail.h:404
const ContainerDetail & GetContainer() const
Definition JobDetail.h:281
JobDetail & WithNodeDetails(NodeDetailsT &&value)
Definition JobDetail.h:299
JobDetail & WithJobId(JobIdT &&value)
Definition JobDetail.h:89
JobDetail & WithIsCancelled(bool value)
Definition JobDetail.h:432
JobDetail & WithArrayProperties(ArrayPropertiesT &&value)
Definition JobDetail.h:325
void SetNodeProperties(NodePropertiesT &&value)
Definition JobDetail.h:311
void SetIsCancelled(bool value)
Definition JobDetail.h:431
void SetStatusReason(StatusReasonT &&value)
Definition JobDetail.h:175
JobDetail & WithStartedAt(long long value)
Definition JobDetail.h:216
void SetJobArn(JobArnT &&value)
Definition JobDetail.h:63
void SetStartedAt(long long value)
Definition JobDetail.h:215
void SetRetryStrategy(RetryStrategyT &&value)
Definition JobDetail.h:202
JobDetail & WithJobName(JobNameT &&value)
Definition JobDetail.h:77
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
Definition JobDetail.h:263
bool NodePropertiesHasBeenSet() const
Definition JobDetail.h:309
JobDetail & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition JobDetail.h:351
JobDetail & WithTags(TagsT &&value)
Definition JobDetail.h:349
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition JobDetail.h:344
JobDetail & WithPlatformCapabilities(PlatformCapabilitiesT &&value)
Definition JobDetail.h:382
void SetEksAttempts(EksAttemptsT &&value)
Definition JobDetail.h:406
void SetJobId(JobIdT &&value)
Definition JobDetail.h:87
bool PropagateTagsHasBeenSet() const
Definition JobDetail.h:366
const Aws::String & GetJobId() const
Definition JobDetail.h:84
JobDetail & WithJobDefinition(JobDefinitionT &&value)
Definition JobDetail.h:254
bool IsCancelledHasBeenSet() const
Definition JobDetail.h:430
JobDetail & WithIsTerminated(bool value)
Definition JobDetail.h:442
JobDetail & WithCreatedAt(long long value)
Definition JobDetail.h:192
AWS_BATCH_API JobDetail(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetJobQueue() const
Definition JobDetail.h:97
JobDetail & AddPlatformCapabilities(PlatformCapability value)
Definition JobDetail.h:383
long long GetStartedAt() const
Definition JobDetail.h:213
bool PlatformCapabilitiesHasBeenSet() const
Definition JobDetail.h:378
JobDetail & WithPropagateTags(bool value)
Definition JobDetail.h:368
long long GetCreatedAt() const
Definition JobDetail.h:189
bool ShareIdentifierHasBeenSet() const
Definition JobDetail.h:124
void SetStoppedAt(long long value)
Definition JobDetail.h:227
const Aws::String & GetShareIdentifier() const
Definition JobDetail.h:123
AWS_BATCH_API JobDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetStoppedAt() const
Definition JobDetail.h:225
bool EksPropertiesHasBeenSet() const
Definition JobDetail.h:392
void SetArrayProperties(ArrayPropertiesT &&value)
Definition JobDetail.h:323
const Aws::String & GetStatusReason() const
Definition JobDetail.h:172
bool DependsOnHasBeenSet() const
Definition JobDetail.h:236
const JobTimeout & GetTimeout() const
Definition JobDetail.h:332
JobStatus GetStatus() const
Definition JobDetail.h:113
JobDetail & WithEcsProperties(EcsPropertiesT &&value)
Definition JobDetail.h:422
int GetSchedulingPriority() const
Definition JobDetail.h:137
bool NodeDetailsHasBeenSet() const
Definition JobDetail.h:295
void SetStatus(JobStatus value)
Definition JobDetail.h:115
const Aws::Vector< AttemptDetail > & GetAttempts() const
Definition JobDetail.h:147
JobDetail & WithTimeout(TimeoutT &&value)
Definition JobDetail.h:337
const Aws::Vector< JobDependency > & GetDependsOn() const
Definition JobDetail.h:235
void SetContainer(ContainerT &&value)
Definition JobDetail.h:284
void SetTags(TagsT &&value)
Definition JobDetail.h:347
JobDetail & WithEksProperties(EksPropertiesT &&value)
Definition JobDetail.h:396
const EksPropertiesDetail & GetEksProperties() const
Definition JobDetail.h:391
JobDetail & WithDependsOn(DependsOnT &&value)
Definition JobDetail.h:240
void SetJobDefinition(JobDefinitionT &&value)
Definition JobDetail.h:252
JobDetail & WithAttempts(AttemptsT &&value)
Definition JobDetail.h:152
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