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/JobStatus.h>
11#include <aws/batch/model/NodePropertiesSummary.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
44 template <
typename JobArnT = Aws::String>
46 m_jobArnHasBeenSet =
true;
47 m_jobArn = std::forward<JobArnT>(value);
49 template <
typename JobArnT = Aws::String>
62 template <
typename JobIdT = Aws::String>
64 m_jobIdHasBeenSet =
true;
65 m_jobId = std::forward<JobIdT>(value);
67 template <
typename JobIdT = Aws::String>
69 SetJobId(std::forward<JobIdT>(value));
80 template <
typename JobNameT = Aws::String>
82 m_jobNameHasBeenSet =
true;
83 m_jobName = std::forward<JobNameT>(value);
85 template <
typename JobNameT = Aws::String>
104 m_createdAtHasBeenSet =
true;
120 m_statusHasBeenSet =
true;
136 template <
typename StatusReasonT = Aws::String>
138 m_statusReasonHasBeenSet =
true;
139 m_statusReason = std::forward<StatusReasonT>(value);
141 template <
typename StatusReasonT = Aws::String>
157 m_startedAtHasBeenSet =
true;
175 m_stoppedAtHasBeenSet =
true;
191 template <
typename ContainerT = ContainerSummary>
193 m_containerHasBeenSet =
true;
194 m_container = std::forward<ContainerT>(value);
196 template <
typename ContainerT = ContainerSummary>
209 template <
typename ArrayPropertiesT = ArrayPropertiesSummary>
211 m_arrayPropertiesHasBeenSet =
true;
212 m_arrayProperties = std::forward<ArrayPropertiesT>(value);
214 template <
typename ArrayPropertiesT = ArrayPropertiesSummary>
229 template <
typename NodePropertiesT = NodePropertiesSummary>
231 m_nodePropertiesHasBeenSet =
true;
232 m_nodeProperties = std::forward<NodePropertiesT>(value);
234 template <
typename NodePropertiesT = NodePropertiesSummary>
247 template <
typename JobDefinitionT = Aws::String>
249 m_jobDefinitionHasBeenSet =
true;
250 m_jobDefinition = std::forward<JobDefinitionT>(value);
252 template <
typename JobDefinitionT = Aws::String>
265 long long m_createdAt{0};
271 long long m_startedAt{0};
273 long long m_stoppedAt{0};
275 ContainerSummary m_container;
277 ArrayPropertiesSummary m_arrayProperties;
279 NodePropertiesSummary m_nodeProperties;
282 bool m_jobArnHasBeenSet =
false;
283 bool m_jobIdHasBeenSet =
false;
284 bool m_jobNameHasBeenSet =
false;
285 bool m_createdAtHasBeenSet =
false;
286 bool m_statusHasBeenSet =
false;
287 bool m_statusReasonHasBeenSet =
false;
288 bool m_startedAtHasBeenSet =
false;
289 bool m_stoppedAtHasBeenSet =
false;
290 bool m_containerHasBeenSet =
false;
291 bool m_arrayPropertiesHasBeenSet =
false;
292 bool m_nodePropertiesHasBeenSet =
false;
293 bool m_jobDefinitionHasBeenSet =
false;
bool JobIdHasBeenSet() const
void SetJobName(JobNameT &&value)
long long GetCreatedAt() const
const Aws::String & GetJobArn() const
void SetJobArn(JobArnT &&value)
void SetStoppedAt(long long value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
JobSummary & WithJobName(JobNameT &&value)
void SetArrayProperties(ArrayPropertiesT &&value)
JobSummary & WithStartedAt(long long value)
void SetJobDefinition(JobDefinitionT &&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
JobSummary & WithNodeProperties(NodePropertiesT &&value)
bool StoppedAtHasBeenSet() const
JobSummary & WithJobDefinition(JobDefinitionT &&value)
JobSummary & WithJobId(JobIdT &&value)
JobStatus GetStatus() const
JobSummary & WithJobArn(JobArnT &&value)
bool JobNameHasBeenSet() const
AWS_BATCH_API JobSummary()=default
JobSummary & WithStatus(JobStatus 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)
bool StatusReasonHasBeenSet() 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
JobSummary & WithStatusReason(StatusReasonT &&value)
const NodePropertiesSummary & GetNodeProperties() const
bool JobDefinitionHasBeenSet() 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
Aws::Utils::Json::JsonValue JsonValue