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 long long m_createdAt{0};
334 long long m_scheduledAt{0};
342 long long m_startedAt{0};
344 long long m_stoppedAt{0};
346 ContainerSummary m_container;
348 ArrayPropertiesSummary m_arrayProperties;
350 NodePropertiesSummary m_nodeProperties;
353 bool m_jobArnHasBeenSet =
false;
354 bool m_jobIdHasBeenSet =
false;
355 bool m_jobNameHasBeenSet =
false;
356 bool m_capacityUsageHasBeenSet =
false;
357 bool m_createdAtHasBeenSet =
false;
358 bool m_scheduledAtHasBeenSet =
false;
359 bool m_shareIdentifierHasBeenSet =
false;
360 bool m_statusHasBeenSet =
false;
361 bool m_statusReasonHasBeenSet =
false;
362 bool m_startedAtHasBeenSet =
false;
363 bool m_stoppedAtHasBeenSet =
false;
364 bool m_containerHasBeenSet =
false;
365 bool m_arrayPropertiesHasBeenSet =
false;
366 bool m_nodePropertiesHasBeenSet =
false;
367 bool m_jobDefinitionHasBeenSet =
false;
bool JobIdHasBeenSet() 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)
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)
JobSummary & WithArrayProperties(ArrayPropertiesT &&value)
bool StartedAtHasBeenSet() const
JobSummary & WithCreatedAt(long long value)
const ContainerSummary & GetContainer() const
bool ContainerHasBeenSet() const
const Aws::String & GetShareIdentifier() const
JobSummary & WithNodeProperties(NodePropertiesT &&value)
bool StoppedAtHasBeenSet() const
JobSummary & WithScheduledAt(long long value)
JobSummary & WithJobDefinition(JobDefinitionT &&value)
JobSummary & WithJobId(JobIdT &&value)
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)
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
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