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>
56 template <
typename JobArnT = Aws::String>
58 m_jobArnHasBeenSet =
true;
59 m_jobArn = std::forward<JobArnT>(value);
61 template <
typename JobArnT = Aws::String>
74 template <
typename JobNameT = Aws::String>
76 m_jobNameHasBeenSet =
true;
77 m_jobName = std::forward<JobNameT>(value);
79 template <
typename JobNameT = Aws::String>
92 template <
typename JobIdT = Aws::String>
94 m_jobIdHasBeenSet =
true;
95 m_jobId = std::forward<JobIdT>(value);
97 template <
typename JobIdT = Aws::String>
99 SetJobId(std::forward<JobIdT>(value));
111 template <
typename JobQueueT = Aws::String>
113 m_jobQueueHasBeenSet =
true;
114 m_jobQueue = std::forward<JobQueueT>(value);
116 template <
typename JobQueueT = Aws::String>
134 m_statusHasBeenSet =
true;
149 template <
typename ShareIdentifierT = Aws::String>
151 m_shareIdentifierHasBeenSet =
true;
152 m_shareIdentifier = std::forward<ShareIdentifierT>(value);
154 template <
typename ShareIdentifierT = Aws::String>
170 m_schedulingPriorityHasBeenSet =
true;
171 m_schedulingPriority = value;
185 template <
typename AttemptsT = Aws::Vector<AttemptDetail>>
187 m_attemptsHasBeenSet =
true;
188 m_attempts = std::forward<AttemptsT>(value);
190 template <
typename AttemptsT = Aws::Vector<AttemptDetail>>
195 template <
typename AttemptsT = AttemptDetail>
197 m_attemptsHasBeenSet =
true;
198 m_attempts.emplace_back(std::forward<AttemptsT>(value));
220 template <
typename StatusReasonT = Aws::String>
222 m_statusReasonHasBeenSet =
true;
223 m_statusReason = std::forward<StatusReasonT>(value);
225 template <
typename StatusReasonT = Aws::String>
244 m_createdAtHasBeenSet =
true;
259 template <
typename RetryStrategyT = RetryStrategy>
261 m_retryStrategyHasBeenSet =
true;
262 m_retryStrategy = std::forward<RetryStrategyT>(value);
264 template <
typename RetryStrategyT = RetryStrategy>
280 m_startedAtHasBeenSet =
true;
298 m_stoppedAtHasBeenSet =
true;
313 template <
typename DependsOnT = Aws::Vector<JobDependency>>
315 m_dependsOnHasBeenSet =
true;
316 m_dependsOn = std::forward<DependsOnT>(value);
318 template <
typename DependsOnT = Aws::Vector<JobDependency>>
323 template <
typename DependsOnT = JobDependency>
325 m_dependsOnHasBeenSet =
true;
326 m_dependsOn.emplace_back(std::forward<DependsOnT>(value));
337 template <
typename JobDefinitionT = Aws::String>
339 m_jobDefinitionHasBeenSet =
true;
340 m_jobDefinition = std::forward<JobDefinitionT>(value);
342 template <
typename JobDefinitionT = Aws::String>
357 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
359 m_parametersHasBeenSet =
true;
360 m_parameters = std::forward<ParametersT>(value);
362 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
367 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
369 m_parametersHasBeenSet =
true;
370 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
383 template <
typename ContainerT = ContainerDetail>
385 m_containerHasBeenSet =
true;
386 m_container = std::forward<ContainerT>(value);
388 template <
typename ContainerT = ContainerDetail>
402 template <
typename NodeDetailsT = NodeDetails>
404 m_nodeDetailsHasBeenSet =
true;
405 m_nodeDetails = std::forward<NodeDetailsT>(value);
407 template <
typename NodeDetailsT = NodeDetails>
422 template <
typename NodePropertiesT = NodeProperties>
424 m_nodePropertiesHasBeenSet =
true;
425 m_nodeProperties = std::forward<NodePropertiesT>(value);
427 template <
typename NodePropertiesT = NodeProperties>
440 template <
typename ArrayPropertiesT = ArrayPropertiesDetail>
442 m_arrayPropertiesHasBeenSet =
true;
443 m_arrayProperties = std::forward<ArrayPropertiesT>(value);
445 template <
typename ArrayPropertiesT = ArrayPropertiesDetail>
458 template <
typename TimeoutT = JobTimeout>
460 m_timeoutHasBeenSet =
true;
461 m_timeout = std::forward<TimeoutT>(value);
463 template <
typename TimeoutT = JobTimeout>
476 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
478 m_tagsHasBeenSet =
true;
479 m_tags = std::forward<TagsT>(value);
481 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
483 SetTags(std::forward<TagsT>(value));
486 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
488 m_tagsHasBeenSet =
true;
489 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
506 m_propagateTagsHasBeenSet =
true;
507 m_propagateTags = value;
523 template <
typename PlatformCapabilitiesT = Aws::Vector<PlatformCapability>>
525 m_platformCapabilitiesHasBeenSet =
true;
526 m_platformCapabilities = std::forward<PlatformCapabilitiesT>(value);
528 template <
typename PlatformCapabilitiesT = Aws::Vector<PlatformCapability>>
534 m_platformCapabilitiesHasBeenSet =
true;
535 m_platformCapabilities.push_back(value);
547 template <
typename EksPropertiesT = EksPropertiesDetail>
549 m_eksPropertiesHasBeenSet =
true;
550 m_eksProperties = std::forward<EksPropertiesT>(value);
552 template <
typename EksPropertiesT = EksPropertiesDetail>
565 template <
typename EksAttemptsT = Aws::Vector<EksAttemptDetail>>
567 m_eksAttemptsHasBeenSet =
true;
568 m_eksAttempts = std::forward<EksAttemptsT>(value);
570 template <
typename EksAttemptsT = Aws::Vector<EksAttemptDetail>>
575 template <
typename EksAttemptsT = EksAttemptDetail>
577 m_eksAttemptsHasBeenSet =
true;
578 m_eksAttempts.emplace_back(std::forward<EksAttemptsT>(value));
589 template <
typename EcsPropertiesT = EcsPropertiesDetail>
591 m_ecsPropertiesHasBeenSet =
true;
592 m_ecsProperties = std::forward<EcsPropertiesT>(value);
594 template <
typename EcsPropertiesT = EcsPropertiesDetail>
608 m_isCancelledHasBeenSet =
true;
609 m_isCancelled = value;
624 m_isTerminatedHasBeenSet =
true;
625 m_isTerminated = value;
639 template <
typename ConsumableResourcePropertiesT = ConsumableResourceProperties>
641 m_consumableResourcePropertiesHasBeenSet =
true;
642 m_consumableResourceProperties = std::forward<ConsumableResourcePropertiesT>(value);
644 template <
typename ConsumableResourcePropertiesT = ConsumableResourceProperties>
663 int m_schedulingPriority{0};
669 long long m_createdAt{0};
671 RetryStrategy m_retryStrategy;
673 long long m_startedAt{0};
675 long long m_stoppedAt{0};
683 ContainerDetail m_container;
685 NodeDetails m_nodeDetails;
687 NodeProperties m_nodeProperties;
689 ArrayPropertiesDetail m_arrayProperties;
691 JobTimeout m_timeout;
695 bool m_propagateTags{
false};
699 EksPropertiesDetail m_eksProperties;
703 EcsPropertiesDetail m_ecsProperties;
705 bool m_isCancelled{
false};
707 bool m_isTerminated{
false};
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;
JobDetail & WithContainer(ContainerT &&value)
const EcsPropertiesDetail & GetEcsProperties() const
void SetJobQueue(JobQueueT &&value)
bool ParametersHasBeenSet() const
JobDetail & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
const Aws::Vector< PlatformCapability > & GetPlatformCapabilities() const
void SetIsTerminated(bool value)
void SetTimeout(TimeoutT &&value)
bool JobNameHasBeenSet() const
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
JobDetail & AddDependsOn(DependsOnT &&value)
void SetPropagateTags(bool value)
void SetDependsOn(DependsOnT &&value)
bool AttemptsHasBeenSet() const
bool JobQueueHasBeenSet() const
const Aws::Vector< EksAttemptDetail > & GetEksAttempts() const
const NodeDetails & GetNodeDetails() const
void SetEksProperties(EksPropertiesT &&value)
JobDetail & AddAttempts(AttemptsT &&value)
bool ArrayPropertiesHasBeenSet() const
bool ConsumableResourcePropertiesHasBeenSet() const
JobDetail & WithRetryStrategy(RetryStrategyT &&value)
bool TimeoutHasBeenSet() const
bool ContainerHasBeenSet() const
const NodeProperties & GetNodeProperties() const
bool CreatedAtHasBeenSet() const
bool StoppedAtHasBeenSet() const
bool GetIsCancelled() const
JobDetail & WithJobArn(JobArnT &&value)
JobDetail & WithEksAttempts(EksAttemptsT &&value)
const Aws::String & GetJobArn() const
JobDetail & WithNodeProperties(NodePropertiesT &&value)
const Aws::String & GetJobDefinition() const
bool GetIsTerminated() const
void SetSchedulingPriority(int value)
void SetShareIdentifier(ShareIdentifierT &&value)
bool StatusHasBeenSet() const
bool JobIdHasBeenSet() const
const ArrayPropertiesDetail & GetArrayProperties() const
JobDetail & WithStoppedAt(long long value)
void SetCreatedAt(long long value)
JobDetail & AddEksAttempts(EksAttemptsT &&value)
bool SchedulingPriorityHasBeenSet() const
const RetryStrategy & GetRetryStrategy() const
JobDetail & WithShareIdentifier(ShareIdentifierT &&value)
void SetEcsProperties(EcsPropertiesT &&value)
const ConsumableResourceProperties & GetConsumableResourceProperties() const
AWS_BATCH_API JobDetail()=default
bool StatusReasonHasBeenSet() const
void SetPlatformCapabilities(PlatformCapabilitiesT &&value)
JobDetail & WithStatus(JobStatus value)
JobDetail & WithParameters(ParametersT &&value)
void SetConsumableResourceProperties(ConsumableResourcePropertiesT &&value)
bool EcsPropertiesHasBeenSet() const
JobDetail & WithJobQueue(JobQueueT &&value)
void SetAttempts(AttemptsT &&value)
JobDetail & WithConsumableResourceProperties(ConsumableResourcePropertiesT &&value)
JobDetail & WithStatusReason(StatusReasonT &&value)
void SetNodeDetails(NodeDetailsT &&value)
bool StartedAtHasBeenSet() const
void SetJobName(JobNameT &&value)
bool JobArnHasBeenSet() const
bool IsTerminatedHasBeenSet() const
const Aws::String & GetJobName() const
bool RetryStrategyHasBeenSet() const
void SetParameters(ParametersT &&value)
bool JobDefinitionHasBeenSet() const
JobDetail & WithSchedulingPriority(int value)
bool EksAttemptsHasBeenSet() const
const ContainerDetail & GetContainer() const
JobDetail & WithNodeDetails(NodeDetailsT &&value)
JobDetail & WithJobId(JobIdT &&value)
JobDetail & WithIsCancelled(bool value)
JobDetail & WithArrayProperties(ArrayPropertiesT &&value)
void SetNodeProperties(NodePropertiesT &&value)
void SetIsCancelled(bool value)
void SetStatusReason(StatusReasonT &&value)
JobDetail & WithStartedAt(long long value)
bool TagsHasBeenSet() const
void SetJobArn(JobArnT &&value)
void SetStartedAt(long long value)
void SetRetryStrategy(RetryStrategyT &&value)
JobDetail & WithJobName(JobNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
bool NodePropertiesHasBeenSet() const
JobDetail & AddTags(TagsKeyT &&key, TagsValueT &&value)
JobDetail & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
JobDetail & WithPlatformCapabilities(PlatformCapabilitiesT &&value)
void SetEksAttempts(EksAttemptsT &&value)
void SetJobId(JobIdT &&value)
bool PropagateTagsHasBeenSet() const
const Aws::String & GetJobId() const
JobDetail & WithJobDefinition(JobDefinitionT &&value)
bool IsCancelledHasBeenSet() const
JobDetail & WithIsTerminated(bool value)
bool GetPropagateTags() const
JobDetail & WithCreatedAt(long long value)
AWS_BATCH_API JobDetail(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetJobQueue() const
JobDetail & AddPlatformCapabilities(PlatformCapability value)
long long GetStartedAt() const
bool PlatformCapabilitiesHasBeenSet() const
JobDetail & WithPropagateTags(bool value)
long long GetCreatedAt() const
bool ShareIdentifierHasBeenSet() const
void SetStoppedAt(long long value)
const Aws::String & GetShareIdentifier() const
AWS_BATCH_API JobDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetStoppedAt() const
bool EksPropertiesHasBeenSet() const
void SetArrayProperties(ArrayPropertiesT &&value)
const Aws::String & GetStatusReason() const
bool DependsOnHasBeenSet() const
const JobTimeout & GetTimeout() const
JobStatus GetStatus() const
JobDetail & WithEcsProperties(EcsPropertiesT &&value)
int GetSchedulingPriority() const
bool NodeDetailsHasBeenSet() const
void SetStatus(JobStatus value)
const Aws::Vector< AttemptDetail > & GetAttempts() const
JobDetail & WithTimeout(TimeoutT &&value)
const Aws::Vector< JobDependency > & GetDependsOn() const
void SetContainer(ContainerT &&value)
void SetTags(TagsT &&value)
JobDetail & WithEksProperties(EksPropertiesT &&value)
const EksPropertiesDetail & GetEksProperties() const
JobDetail & WithDependsOn(DependsOnT &&value)
void SetJobDefinition(JobDefinitionT &&value)
JobDetail & WithAttempts(AttemptsT &&value)
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