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/AttemptDetail.h>
21#include <aws/batch/model/JobDependency.h>
22#include <aws/batch/model/PlatformCapability.h>
23#include <aws/batch/model/EksAttemptDetail.h>
63 inline void SetJobArn(
const char* value) { m_jobArnHasBeenSet =
true; m_jobArn.assign(value); }
77 inline void SetJobName(
const char* value) { m_jobNameHasBeenSet =
true; m_jobName.assign(value); }
91 inline void SetJobId(
const char* value) { m_jobIdHasBeenSet =
true; m_jobId.assign(value); }
106 inline void SetJobQueue(
const char* value) { m_jobQueueHasBeenSet =
true; m_jobQueue.assign(value); }
136 inline void SetShareIdentifier(
const char* value) { m_shareIdentifierHasBeenSet =
true; m_shareIdentifier.assign(value); }
150 inline void SetSchedulingPriority(
int value) { m_schedulingPriorityHasBeenSet =
true; m_schedulingPriority = value; }
187 inline void SetStatusReason(
const char* value) { m_statusReasonHasBeenSet =
true; m_statusReason.assign(value); }
204 inline void SetCreatedAt(
long long value) { m_createdAtHasBeenSet =
true; m_createdAt = value; }
228 inline void SetStartedAt(
long long value) { m_startedAtHasBeenSet =
true; m_startedAt = value; }
240 inline void SetStoppedAt(
long long value) { m_stoppedAtHasBeenSet =
true; m_stoppedAt = value; }
266 inline void SetJobDefinition(
const char* value) { m_jobDefinitionHasBeenSet =
true; m_jobDefinition.assign(value); }
290 inline JobDetail&
AddParameters(
const char* key,
const char* value) { m_parametersHasBeenSet =
true; m_parameters.emplace(key, value);
return *
this; }
374 inline JobDetail&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
388 inline void SetPropagateTags(
bool value) { m_propagateTagsHasBeenSet =
true; m_propagateTags = value; }
453 inline void SetIsCancelled(
bool value) { m_isCancelledHasBeenSet =
true; m_isCancelled = value; }
463 inline void SetIsTerminated(
bool value) { m_isTerminatedHasBeenSet =
true; m_isTerminated = value; }
469 bool m_jobArnHasBeenSet =
false;
472 bool m_jobNameHasBeenSet =
false;
475 bool m_jobIdHasBeenSet =
false;
478 bool m_jobQueueHasBeenSet =
false;
481 bool m_statusHasBeenSet =
false;
484 bool m_shareIdentifierHasBeenSet =
false;
486 int m_schedulingPriority;
487 bool m_schedulingPriorityHasBeenSet =
false;
490 bool m_attemptsHasBeenSet =
false;
493 bool m_statusReasonHasBeenSet =
false;
495 long long m_createdAt;
496 bool m_createdAtHasBeenSet =
false;
499 bool m_retryStrategyHasBeenSet =
false;
501 long long m_startedAt;
502 bool m_startedAtHasBeenSet =
false;
504 long long m_stoppedAt;
505 bool m_stoppedAtHasBeenSet =
false;
508 bool m_dependsOnHasBeenSet =
false;
511 bool m_jobDefinitionHasBeenSet =
false;
514 bool m_parametersHasBeenSet =
false;
517 bool m_containerHasBeenSet =
false;
520 bool m_nodeDetailsHasBeenSet =
false;
523 bool m_nodePropertiesHasBeenSet =
false;
526 bool m_arrayPropertiesHasBeenSet =
false;
529 bool m_timeoutHasBeenSet =
false;
532 bool m_tagsHasBeenSet =
false;
534 bool m_propagateTags;
535 bool m_propagateTagsHasBeenSet =
false;
538 bool m_platformCapabilitiesHasBeenSet =
false;
541 bool m_eksPropertiesHasBeenSet =
false;
544 bool m_eksAttemptsHasBeenSet =
false;
547 bool m_ecsPropertiesHasBeenSet =
false;
550 bool m_isCancelledHasBeenSet =
false;
553 bool m_isTerminatedHasBeenSet =
false;
const EcsPropertiesDetail & GetEcsProperties() const
JobDetail & WithStatus(JobStatus &&value)
JobDetail & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetJobDefinition(Aws::String &&value)
JobDetail & AddTags(Aws::String &&key, Aws::String &&value)
bool ParametersHasBeenSet() const
JobDetail & WithAttempts(const Aws::Vector< AttemptDetail > &value)
const Aws::Vector< PlatformCapability > & GetPlatformCapabilities() const
void SetAttempts(const Aws::Vector< AttemptDetail > &value)
void SetIsTerminated(bool value)
void SetRetryStrategy(const RetryStrategy &value)
bool JobNameHasBeenSet() const
void SetNodeDetails(NodeDetails &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
JobDetail & WithEcsProperties(EcsPropertiesDetail &&value)
void SetShareIdentifier(const char *value)
void SetPropagateTags(bool value)
JobDetail & WithNodeDetails(NodeDetails &&value)
void SetStatus(const JobStatus &value)
JobDetail & WithJobQueue(const Aws::String &value)
bool AttemptsHasBeenSet() const
JobDetail & WithEcsProperties(const EcsPropertiesDetail &value)
JobDetail & WithContainer(const ContainerDetail &value)
JobDetail & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
bool JobQueueHasBeenSet() const
void SetStatusReason(const char *value)
JobDetail & AddEksAttempts(EksAttemptDetail &&value)
void SetArrayProperties(ArrayPropertiesDetail &&value)
void SetStatusReason(const Aws::String &value)
void SetJobArn(const Aws::String &value)
const Aws::Vector< EksAttemptDetail > & GetEksAttempts() const
const NodeDetails & GetNodeDetails() const
JobDetail & WithTimeout(const JobTimeout &value)
JobDetail & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool ArrayPropertiesHasBeenSet() const
JobDetail & WithStatusReason(Aws::String &&value)
void SetJobDefinition(const char *value)
void SetEksProperties(const EksPropertiesDetail &value)
AWS_BATCH_API JobDetail()
bool TimeoutHasBeenSet() const
bool ContainerHasBeenSet() const
const NodeProperties & GetNodeProperties() const
bool CreatedAtHasBeenSet() const
bool StoppedAtHasBeenSet() const
void SetJobArn(Aws::String &&value)
void SetJobName(const char *value)
bool GetIsCancelled() const
JobDetail & WithEksAttempts(const Aws::Vector< EksAttemptDetail > &value)
void SetEksProperties(EksPropertiesDetail &&value)
const Aws::String & GetJobArn() const
JobDetail & AddAttempts(AttemptDetail &&value)
JobDetail & WithStatusReason(const char *value)
void SetPlatformCapabilities(const Aws::Vector< PlatformCapability > &value)
const Aws::String & GetJobDefinition() const
JobDetail & WithPlatformCapabilities(Aws::Vector< PlatformCapability > &&value)
JobDetail & WithJobName(const char *value)
bool GetIsTerminated() const
JobDetail & WithEksAttempts(Aws::Vector< EksAttemptDetail > &&value)
void SetSchedulingPriority(int value)
JobDetail & WithNodeProperties(const NodeProperties &value)
bool StatusHasBeenSet() const
bool JobIdHasBeenSet() const
JobDetail & WithJobId(const Aws::String &value)
JobDetail & WithDependsOn(const Aws::Vector< JobDependency > &value)
void SetJobId(const Aws::String &value)
JobDetail & WithStatusReason(const Aws::String &value)
const ArrayPropertiesDetail & GetArrayProperties() const
JobDetail & WithStoppedAt(long long value)
JobDetail & WithEksProperties(EksPropertiesDetail &&value)
void SetNodeProperties(NodeProperties &&value)
void SetCreatedAt(long long value)
JobDetail & WithArrayProperties(ArrayPropertiesDetail &&value)
void SetEksAttempts(const Aws::Vector< EksAttemptDetail > &value)
bool SchedulingPriorityHasBeenSet() const
JobDetail & WithStatus(const JobStatus &value)
const RetryStrategy & GetRetryStrategy() const
JobDetail & AddParameters(Aws::String &&key, const char *value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
JobDetail & WithJobDefinition(Aws::String &&value)
void SetPlatformCapabilities(Aws::Vector< PlatformCapability > &&value)
void SetNodeDetails(const NodeDetails &value)
bool StatusReasonHasBeenSet() const
void SetJobArn(const char *value)
void SetEcsProperties(EcsPropertiesDetail &&value)
void SetNodeProperties(const NodeProperties &value)
bool EcsPropertiesHasBeenSet() const
void SetEksAttempts(Aws::Vector< EksAttemptDetail > &&value)
bool StartedAtHasBeenSet() const
JobDetail & WithRetryStrategy(const RetryStrategy &value)
JobDetail & WithJobId(Aws::String &&value)
void SetJobQueue(Aws::String &&value)
JobDetail & AddDependsOn(JobDependency &&value)
bool JobArnHasBeenSet() const
bool IsTerminatedHasBeenSet() const
void SetAttempts(Aws::Vector< AttemptDetail > &&value)
JobDetail & WithArrayProperties(const ArrayPropertiesDetail &value)
const Aws::String & GetJobName() const
bool RetryStrategyHasBeenSet() const
JobDetail & AddTags(Aws::String &&key, const char *value)
JobDetail & WithJobArn(const char *value)
bool JobDefinitionHasBeenSet() const
JobDetail & AddTags(Aws::String &&key, const Aws::String &value)
JobDetail & WithSchedulingPriority(int value)
JobDetail & WithJobDefinition(const char *value)
bool EksAttemptsHasBeenSet() const
JobDetail & WithJobId(const char *value)
const ContainerDetail & GetContainer() const
JobDetail & WithNodeProperties(NodeProperties &&value)
void SetContainer(const ContainerDetail &value)
void SetArrayProperties(const ArrayPropertiesDetail &value)
JobDetail & WithDependsOn(Aws::Vector< JobDependency > &&value)
void SetJobId(const char *value)
JobDetail & WithAttempts(Aws::Vector< AttemptDetail > &&value)
JobDetail & AddParameters(const Aws::String &key, Aws::String &&value)
JobDetail & WithIsCancelled(bool value)
JobDetail & WithShareIdentifier(const Aws::String &value)
JobDetail & AddTags(const char *key, const char *value)
JobDetail & WithJobQueue(const char *value)
JobDetail & AddParameters(Aws::String &&key, Aws::String &&value)
JobDetail & WithShareIdentifier(Aws::String &&value)
JobDetail & AddAttempts(const AttemptDetail &value)
void SetJobId(Aws::String &&value)
void SetIsCancelled(bool value)
JobDetail & WithStartedAt(long long value)
bool TagsHasBeenSet() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetRetryStrategy(RetryStrategy &&value)
void SetStartedAt(long long value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
bool NodePropertiesHasBeenSet() const
void SetDependsOn(Aws::Vector< JobDependency > &&value)
JobDetail & AddParameters(const char *key, Aws::String &&value)
JobDetail & AddTags(const Aws::String &key, Aws::String &&value)
JobDetail & WithJobArn(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetShareIdentifier(Aws::String &&value)
JobDetail & AddParameters(Aws::String &&key, const Aws::String &value)
bool PropagateTagsHasBeenSet() const
const Aws::String & GetJobId() const
JobDetail & WithJobDefinition(const Aws::String &value)
void SetShareIdentifier(const Aws::String &value)
void SetJobQueue(const char *value)
bool IsCancelledHasBeenSet() const
void SetJobDefinition(const Aws::String &value)
JobDetail & WithIsTerminated(bool value)
bool GetPropagateTags() const
void SetTimeout(const JobTimeout &value)
JobDetail & AddEksAttempts(const EksAttemptDetail &value)
void SetJobName(Aws::String &&value)
JobDetail & WithCreatedAt(long long value)
JobDetail & WithJobName(Aws::String &&value)
AWS_BATCH_API JobDetail(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetJobQueue() const
long long GetStartedAt() const
void SetStatusReason(Aws::String &&value)
bool PlatformCapabilitiesHasBeenSet() const
void SetContainer(ContainerDetail &&value)
JobDetail & AddParameters(const Aws::String &key, const Aws::String &value)
JobDetail & WithPropagateTags(bool value)
long long GetCreatedAt() const
JobDetail & WithEksProperties(const EksPropertiesDetail &value)
bool ShareIdentifierHasBeenSet() const
void SetStoppedAt(long long value)
const Aws::String & GetShareIdentifier() const
JobDetail & WithRetryStrategy(RetryStrategy &&value)
JobDetail & AddPlatformCapabilities(PlatformCapability &&value)
void SetStatus(JobStatus &&value)
AWS_BATCH_API JobDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetStoppedAt() const
void SetTimeout(JobTimeout &&value)
JobDetail & AddTags(const Aws::String &key, const Aws::String &value)
JobDetail & WithShareIdentifier(const char *value)
bool EksPropertiesHasBeenSet() const
JobDetail & AddDependsOn(const JobDependency &value)
const Aws::String & GetStatusReason() const
void SetJobQueue(const Aws::String &value)
bool DependsOnHasBeenSet() const
void SetEcsProperties(const EcsPropertiesDetail &value)
const JobTimeout & GetTimeout() const
JobDetail & WithJobArn(const Aws::String &value)
JobDetail & AddTags(const char *key, Aws::String &&value)
JobDetail & WithNodeDetails(const NodeDetails &value)
JobDetail & AddPlatformCapabilities(const PlatformCapability &value)
int GetSchedulingPriority() const
bool NodeDetailsHasBeenSet() const
void SetDependsOn(const Aws::Vector< JobDependency > &value)
JobDetail & WithJobName(const Aws::String &value)
const Aws::Vector< AttemptDetail > & GetAttempts() const
JobDetail & AddParameters(const char *key, const char *value)
JobDetail & WithJobQueue(Aws::String &&value)
const JobStatus & GetStatus() const
JobDetail & WithContainer(ContainerDetail &&value)
const Aws::Vector< JobDependency > & GetDependsOn() const
JobDetail & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
JobDetail & WithPlatformCapabilities(const Aws::Vector< PlatformCapability > &value)
JobDetail & WithTimeout(JobTimeout &&value)
const EksPropertiesDetail & GetEksProperties() const
void SetJobName(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &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