7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/ArrayPropertiesSummary.h>
9#include <aws/batch/model/ContainerSummary.h>
10#include <aws/batch/model/JobCapacityUsageSummary.h>
11#include <aws/batch/model/JobStatus.h>
12#include <aws/batch/model/NodePropertiesSummary.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
46 template <
typename JobArnT = Aws::String>
48 m_jobArnHasBeenSet =
true;
49 m_jobArn = std::forward<JobArnT>(value);
51 template <
typename JobArnT = Aws::String>
64 template <
typename JobIdT = Aws::String>
66 m_jobIdHasBeenSet =
true;
67 m_jobId = std::forward<JobIdT>(value);
69 template <
typename JobIdT = Aws::String>
71 SetJobId(std::forward<JobIdT>(value));
82 template <
typename JobNameT = Aws::String>
84 m_jobNameHasBeenSet =
true;
85 m_jobName = std::forward<JobNameT>(value);
87 template <
typename JobNameT = Aws::String>
101 template <
typename CapacityUsageT = Aws::Vector<JobCapacityUsageSummary>>
103 m_capacityUsageHasBeenSet =
true;
104 m_capacityUsage = std::forward<CapacityUsageT>(value);
106 template <
typename CapacityUsageT = Aws::Vector<JobCapacityUsageSummary>>
111 template <
typename CapacityUsageT = JobCapacityUsageSummary>
113 m_capacityUsageHasBeenSet =
true;
114 m_capacityUsage.emplace_back(std::forward<CapacityUsageT>(value));
131 m_createdAtHasBeenSet =
true;
150 m_scheduledAtHasBeenSet =
true;
151 m_scheduledAt = value;
166 template <
typename ShareIdentifierT = Aws::String>
168 m_shareIdentifierHasBeenSet =
true;
169 m_shareIdentifier = std::forward<ShareIdentifierT>(value);
171 template <
typename ShareIdentifierT = Aws::String>
185 m_statusHasBeenSet =
true;
201 template <
typename StatusReasonT = Aws::String>
203 m_statusReasonHasBeenSet =
true;
204 m_statusReason = std::forward<StatusReasonT>(value);
206 template <
typename StatusReasonT = Aws::String>
222 m_startedAtHasBeenSet =
true;
240 m_stoppedAtHasBeenSet =
true;
256 template <
typename ContainerT = ContainerSummary>
258 m_containerHasBeenSet =
true;
259 m_container = std::forward<ContainerT>(value);
261 template <
typename ContainerT = ContainerSummary>
274 template <
typename ArrayPropertiesT = ArrayPropertiesSummary>
276 m_arrayPropertiesHasBeenSet =
true;
277 m_arrayProperties = std::forward<ArrayPropertiesT>(value);
279 template <
typename ArrayPropertiesT = ArrayPropertiesSummary>
294 template <
typename NodePropertiesT = NodePropertiesSummary>
296 m_nodePropertiesHasBeenSet =
true;
297 m_nodeProperties = std::forward<NodePropertiesT>(value);
299 template <
typename NodePropertiesT = NodePropertiesSummary>
312 template <
typename JobDefinitionT = Aws::String>
314 m_jobDefinitionHasBeenSet =
true;
315 m_jobDefinition = std::forward<JobDefinitionT>(value);
317 template <
typename JobDefinitionT = Aws::String>
332 m_isCancelledHasBeenSet =
true;
333 m_isCancelled = value;
349 m_isTerminatedHasBeenSet =
true;
350 m_isTerminated = value;
366 long long m_createdAt{0};
368 long long m_scheduledAt{0};
376 long long m_startedAt{0};
378 long long m_stoppedAt{0};
380 ContainerSummary m_container;
382 ArrayPropertiesSummary m_arrayProperties;
384 NodePropertiesSummary m_nodeProperties;
388 bool m_isCancelled{
false};
390 bool m_isTerminated{
false};
391 bool m_jobArnHasBeenSet =
false;
392 bool m_jobIdHasBeenSet =
false;
393 bool m_jobNameHasBeenSet =
false;
394 bool m_capacityUsageHasBeenSet =
false;
395 bool m_createdAtHasBeenSet =
false;
396 bool m_scheduledAtHasBeenSet =
false;
397 bool m_shareIdentifierHasBeenSet =
false;
398 bool m_statusHasBeenSet =
false;
399 bool m_statusReasonHasBeenSet =
false;
400 bool m_startedAtHasBeenSet =
false;
401 bool m_stoppedAtHasBeenSet =
false;
402 bool m_containerHasBeenSet =
false;
403 bool m_arrayPropertiesHasBeenSet =
false;
404 bool m_nodePropertiesHasBeenSet =
false;
405 bool m_jobDefinitionHasBeenSet =
false;
406 bool m_isCancelledHasBeenSet =
false;
407 bool m_isTerminatedHasBeenSet =
false;
bool JobIdHasBeenSet() const
bool GetIsTerminated() const
void SetCapacityUsage(CapacityUsageT &&value)
void SetJobName(JobNameT &&value)
long long GetCreatedAt() const
const Aws::String & GetJobArn() const
void SetJobArn(JobArnT &&value)
void SetStoppedAt(long long value)
JobSummary & WithShareIdentifier(ShareIdentifierT &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
JobSummary & WithJobName(JobNameT &&value)
void SetArrayProperties(ArrayPropertiesT &&value)
void SetIsTerminated(bool value)
bool ScheduledAtHasBeenSet() const
JobSummary & WithStartedAt(long long value)
void SetJobDefinition(JobDefinitionT &&value)
JobSummary & WithCapacityUsage(CapacityUsageT &&value)
void SetJobId(JobIdT &&value)
JobSummary & WithStoppedAt(long long value)
bool IsCancelledHasBeenSet() const
JobSummary & WithArrayProperties(ArrayPropertiesT &&value)
bool StartedAtHasBeenSet() const
JobSummary & WithCreatedAt(long long value)
const ContainerSummary & GetContainer() const
bool ContainerHasBeenSet() const
void SetIsCancelled(bool value)
const Aws::String & GetShareIdentifier() const
JobSummary & WithNodeProperties(NodePropertiesT &&value)
bool GetIsCancelled() const
bool StoppedAtHasBeenSet() const
JobSummary & WithScheduledAt(long long value)
JobSummary & WithJobDefinition(JobDefinitionT &&value)
JobSummary & WithJobId(JobIdT &&value)
bool IsTerminatedHasBeenSet() const
JobStatus GetStatus() const
JobSummary & WithJobArn(JobArnT &&value)
bool JobNameHasBeenSet() const
void SetScheduledAt(long long value)
AWS_BATCH_API JobSummary()=default
JobSummary & WithStatus(JobStatus value)
void SetShareIdentifier(ShareIdentifierT &&value)
AWS_BATCH_API JobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNodeProperties(NodePropertiesT &&value)
JobSummary & WithContainer(ContainerT &&value)
JobSummary & WithIsCancelled(bool value)
void SetStatus(JobStatus value)
bool ArrayPropertiesHasBeenSet() const
long long GetStartedAt() const
void SetStatusReason(StatusReasonT &&value)
bool NodePropertiesHasBeenSet() const
void SetStartedAt(long long value)
long long GetScheduledAt() const
bool StatusReasonHasBeenSet() const
bool ShareIdentifierHasBeenSet() const
const Aws::String & GetJobId() const
AWS_BATCH_API JobSummary(Aws::Utils::Json::JsonView jsonValue)
bool JobArnHasBeenSet() const
void SetContainer(ContainerT &&value)
const Aws::String & GetJobDefinition() const
long long GetStoppedAt() const
bool CreatedAtHasBeenSet() const
const ArrayPropertiesSummary & GetArrayProperties() const
const Aws::String & GetStatusReason() const
const Aws::Vector< JobCapacityUsageSummary > & GetCapacityUsage() const
JobSummary & WithStatusReason(StatusReasonT &&value)
JobSummary & AddCapacityUsage(CapacityUsageT &&value)
const NodePropertiesSummary & GetNodeProperties() const
bool JobDefinitionHasBeenSet() const
bool CapacityUsageHasBeenSet() const
JobSummary & WithIsTerminated(bool value)
bool StatusHasBeenSet() const
void SetCreatedAt(long long value)
const Aws::String & GetJobName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue