7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/LatestServiceJobAttempt.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/batch/model/ServiceJobType.h>
11#include <aws/batch/model/ServiceJobStatus.h>
47 inline const LatestServiceJobAttempt&
GetLatestAttempt()
const {
return m_latestAttempt; }
49 template<
typename LatestAttemptT = LatestServiceJobAttempt>
50 void SetLatestAttempt(LatestAttemptT&& value) { m_latestAttemptHasBeenSet =
true; m_latestAttempt = std::forward<LatestAttemptT>(value); }
51 template<
typename LatestAttemptT = LatestServiceJobAttempt>
62 inline void SetCreatedAt(
long long value) { m_createdAtHasBeenSet =
true; m_createdAt = value; }
72 template<
typename JobArnT = Aws::String>
73 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet =
true; m_jobArn = std::forward<JobArnT>(value); }
74 template<
typename JobArnT = Aws::String>
84 template<
typename JobIdT = Aws::String>
85 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet =
true; m_jobId = std::forward<JobIdT>(value); }
86 template<
typename JobIdT = Aws::String>
96 template<
typename JobNameT = Aws::String>
97 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet =
true; m_jobName = std::forward<JobNameT>(value); }
98 template<
typename JobNameT = Aws::String>
119 template<
typename ShareIdentifierT = Aws::String>
120 void SetShareIdentifier(ShareIdentifierT&& value) { m_shareIdentifierHasBeenSet =
true; m_shareIdentifier = std::forward<ShareIdentifierT>(value); }
121 template<
typename ShareIdentifierT = Aws::String>
142 template<
typename StatusReasonT = Aws::String>
143 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
144 template<
typename StatusReasonT = Aws::String>
155 inline void SetStartedAt(
long long value) { m_startedAtHasBeenSet =
true; m_startedAt = value; }
166 inline void SetStoppedAt(
long long value) { m_stoppedAtHasBeenSet =
true; m_stoppedAt = value; }
171 LatestServiceJobAttempt m_latestAttempt;
172 bool m_latestAttemptHasBeenSet =
false;
174 long long m_createdAt{0};
175 bool m_createdAtHasBeenSet =
false;
178 bool m_jobArnHasBeenSet =
false;
181 bool m_jobIdHasBeenSet =
false;
184 bool m_jobNameHasBeenSet =
false;
187 bool m_serviceJobTypeHasBeenSet =
false;
190 bool m_shareIdentifierHasBeenSet =
false;
193 bool m_statusHasBeenSet =
false;
196 bool m_statusReasonHasBeenSet =
false;
198 long long m_startedAt{0};
199 bool m_startedAtHasBeenSet =
false;
201 long long m_stoppedAt{0};
202 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