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/batch/model/ContainerSummary.h>
11#include <aws/batch/model/ArrayPropertiesSummary.h>
12#include <aws/batch/model/NodePropertiesSummary.h>
50 template<
typename JobArnT = Aws::String>
51 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet =
true; m_jobArn = std::forward<JobArnT>(value); }
52 template<
typename JobArnT = Aws::String>
62 template<
typename JobIdT = Aws::String>
63 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet =
true; m_jobId = std::forward<JobIdT>(value); }
64 template<
typename JobIdT = Aws::String>
74 template<
typename JobNameT = Aws::String>
75 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet =
true; m_jobName = std::forward<JobNameT>(value); }
76 template<
typename JobNameT = Aws::String>
91 inline void SetCreatedAt(
long long value) { m_createdAtHasBeenSet =
true; m_createdAt = value; }
112 template<
typename StatusReasonT = Aws::String>
113 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
114 template<
typename StatusReasonT = Aws::String>
126 inline void SetStartedAt(
long long value) { m_startedAtHasBeenSet =
true; m_startedAt = value; }
138 inline void SetStoppedAt(
long long value) { m_stoppedAtHasBeenSet =
true; m_stoppedAt = value; }
149 template<
typename ContainerT = ContainerSummary>
150 void SetContainer(ContainerT&& value) { m_containerHasBeenSet =
true; m_container = std::forward<ContainerT>(value); }
151 template<
typename ContainerT = ContainerSummary>
161 template<
typename ArrayPropertiesT = ArrayPropertiesSummary>
162 void SetArrayProperties(ArrayPropertiesT&& value) { m_arrayPropertiesHasBeenSet =
true; m_arrayProperties = std::forward<ArrayPropertiesT>(value); }
163 template<
typename ArrayPropertiesT = ArrayPropertiesSummary>
175 template<
typename NodePropertiesT = NodePropertiesSummary>
176 void SetNodeProperties(NodePropertiesT&& value) { m_nodePropertiesHasBeenSet =
true; m_nodeProperties = std::forward<NodePropertiesT>(value); }
177 template<
typename NodePropertiesT = NodePropertiesSummary>
187 template<
typename JobDefinitionT = Aws::String>
188 void SetJobDefinition(JobDefinitionT&& value) { m_jobDefinitionHasBeenSet =
true; m_jobDefinition = std::forward<JobDefinitionT>(value); }
189 template<
typename JobDefinitionT = Aws::String>
195 bool m_jobArnHasBeenSet =
false;
198 bool m_jobIdHasBeenSet =
false;
201 bool m_jobNameHasBeenSet =
false;
203 long long m_createdAt{0};
204 bool m_createdAtHasBeenSet =
false;
207 bool m_statusHasBeenSet =
false;
210 bool m_statusReasonHasBeenSet =
false;
212 long long m_startedAt{0};
213 bool m_startedAtHasBeenSet =
false;
215 long long m_stoppedAt{0};
216 bool m_stoppedAtHasBeenSet =
false;
218 ContainerSummary m_container;
219 bool m_containerHasBeenSet =
false;
221 ArrayPropertiesSummary m_arrayProperties;
222 bool m_arrayPropertiesHasBeenSet =
false;
224 NodePropertiesSummary m_nodeProperties;
225 bool m_nodePropertiesHasBeenSet =
false;
228 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