7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/LatestServiceJobAttempt.h>
9#include <aws/batch/model/ServiceJobStatus.h>
10#include <aws/batch/model/ServiceJobType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
41 inline const LatestServiceJobAttempt&
GetLatestAttempt()
const {
return m_latestAttempt; }
43 template <
typename LatestAttemptT = LatestServiceJobAttempt>
45 m_latestAttemptHasBeenSet =
true;
46 m_latestAttempt = std::forward<LatestAttemptT>(value);
48 template <
typename LatestAttemptT = LatestServiceJobAttempt>
63 m_createdAtHasBeenSet =
true;
78 template <
typename JobArnT = Aws::String>
80 m_jobArnHasBeenSet =
true;
81 m_jobArn = std::forward<JobArnT>(value);
83 template <
typename JobArnT = Aws::String>
96 template <
typename JobIdT = Aws::String>
98 m_jobIdHasBeenSet =
true;
99 m_jobId = std::forward<JobIdT>(value);
101 template <
typename JobIdT = Aws::String>
103 SetJobId(std::forward<JobIdT>(value));
114 template <
typename JobNameT = Aws::String>
116 m_jobNameHasBeenSet =
true;
117 m_jobName = std::forward<JobNameT>(value);
119 template <
typename JobNameT = Aws::String>
134 m_serviceJobTypeHasBeenSet =
true;
135 m_serviceJobType = value;
149 template <
typename ShareIdentifierT = Aws::String>
151 m_shareIdentifierHasBeenSet =
true;
152 m_shareIdentifier = std::forward<ShareIdentifierT>(value);
154 template <
typename ShareIdentifierT = Aws::String>
168 m_statusHasBeenSet =
true;
184 template <
typename StatusReasonT = Aws::String>
186 m_statusReasonHasBeenSet =
true;
187 m_statusReason = std::forward<StatusReasonT>(value);
189 template <
typename StatusReasonT = Aws::String>
204 m_startedAtHasBeenSet =
true;
221 m_stoppedAtHasBeenSet =
true;
230 LatestServiceJobAttempt m_latestAttempt;
232 long long m_createdAt{0};
248 long long m_startedAt{0};
250 long long m_stoppedAt{0};
251 bool m_latestAttemptHasBeenSet =
false;
252 bool m_createdAtHasBeenSet =
false;
253 bool m_jobArnHasBeenSet =
false;
254 bool m_jobIdHasBeenSet =
false;
255 bool m_jobNameHasBeenSet =
false;
256 bool m_serviceJobTypeHasBeenSet =
false;
257 bool m_shareIdentifierHasBeenSet =
false;
258 bool m_statusHasBeenSet =
false;
259 bool m_statusReasonHasBeenSet =
false;
260 bool m_startedAtHasBeenSet =
false;
261 bool m_stoppedAtHasBeenSet =
false;
void SetShareIdentifier(ShareIdentifierT &&value)
bool ShareIdentifierHasBeenSet() const
ServiceJobSummary & WithCreatedAt(long long value)
ServiceJobSummary & WithJobName(JobNameT &&value)
void SetServiceJobType(ServiceJobType value)
bool LatestAttemptHasBeenSet() const
long long GetStoppedAt() const
AWS_BATCH_API ServiceJobSummary(Aws::Utils::Json::JsonView jsonValue)
bool StoppedAtHasBeenSet() const
ServiceJobType GetServiceJobType() const
bool JobNameHasBeenSet() const
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetJobName() const
void SetLatestAttempt(LatestAttemptT &&value)
void SetJobArn(JobArnT &&value)
ServiceJobSummary & WithJobArn(JobArnT &&value)
ServiceJobSummary & WithJobId(JobIdT &&value)
bool StartedAtHasBeenSet() const
void SetJobName(JobNameT &&value)
void SetStatusReason(StatusReasonT &&value)
ServiceJobSummary & WithStartedAt(long long value)
bool StatusHasBeenSet() const
const Aws::String & GetStatusReason() const
const Aws::String & GetJobId() const
bool ServiceJobTypeHasBeenSet() const
bool JobArnHasBeenSet() const
bool JobIdHasBeenSet() const
const Aws::String & GetShareIdentifier() const
ServiceJobStatus GetStatus() const
void SetStatus(ServiceJobStatus value)
const Aws::String & GetJobArn() const
ServiceJobSummary & WithLatestAttempt(LatestAttemptT &&value)
ServiceJobSummary & WithShareIdentifier(ShareIdentifierT &&value)
ServiceJobSummary & WithStoppedAt(long long value)
void SetJobId(JobIdT &&value)
long long GetCreatedAt() const
ServiceJobSummary & WithStatus(ServiceJobStatus value)
bool CreatedAtHasBeenSet() const
void SetStoppedAt(long long value)
void SetStartedAt(long long value)
bool StatusReasonHasBeenSet() const
ServiceJobSummary & WithStatusReason(StatusReasonT &&value)
AWS_BATCH_API ServiceJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API ServiceJobSummary()=default
long long GetStartedAt() const
ServiceJobSummary & WithServiceJobType(ServiceJobType value)
const LatestServiceJobAttempt & GetLatestAttempt() const
void SetCreatedAt(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue