7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/LatestServiceJobAttempt.h>
9#include <aws/batch/model/ServiceJobCapacityUsageSummary.h>
10#include <aws/batch/model/ServiceJobStatus.h>
11#include <aws/batch/model/ServiceJobType.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
43 inline const LatestServiceJobAttempt&
GetLatestAttempt()
const {
return m_latestAttempt; }
45 template <
typename LatestAttemptT = LatestServiceJobAttempt>
47 m_latestAttemptHasBeenSet =
true;
48 m_latestAttempt = std::forward<LatestAttemptT>(value);
50 template <
typename LatestAttemptT = LatestServiceJobAttempt>
64 template <
typename CapacityUsageT = Aws::Vector<ServiceJobCapacityUsageSummary>>
66 m_capacityUsageHasBeenSet =
true;
67 m_capacityUsage = std::forward<CapacityUsageT>(value);
69 template <
typename CapacityUsageT = Aws::Vector<ServiceJobCapacityUsageSummary>>
74 template <
typename CapacityUsageT = ServiceJobCapacityUsageSummary>
76 m_capacityUsageHasBeenSet =
true;
77 m_capacityUsage.emplace_back(std::forward<CapacityUsageT>(value));
90 m_createdAtHasBeenSet =
true;
105 template <
typename JobArnT = Aws::String>
107 m_jobArnHasBeenSet =
true;
108 m_jobArn = std::forward<JobArnT>(value);
110 template <
typename JobArnT = Aws::String>
123 template <
typename JobIdT = Aws::String>
125 m_jobIdHasBeenSet =
true;
126 m_jobId = std::forward<JobIdT>(value);
128 template <
typename JobIdT = Aws::String>
130 SetJobId(std::forward<JobIdT>(value));
141 template <
typename JobNameT = Aws::String>
143 m_jobNameHasBeenSet =
true;
144 m_jobName = std::forward<JobNameT>(value);
146 template <
typename JobNameT = Aws::String>
161 m_scheduledAtHasBeenSet =
true;
162 m_scheduledAt = value;
178 m_serviceJobTypeHasBeenSet =
true;
179 m_serviceJobType = value;
193 template <
typename ShareIdentifierT = Aws::String>
195 m_shareIdentifierHasBeenSet =
true;
196 m_shareIdentifier = std::forward<ShareIdentifierT>(value);
198 template <
typename ShareIdentifierT = Aws::String>
212 m_statusHasBeenSet =
true;
228 template <
typename StatusReasonT = Aws::String>
230 m_statusReasonHasBeenSet =
true;
231 m_statusReason = std::forward<StatusReasonT>(value);
233 template <
typename StatusReasonT = Aws::String>
248 m_startedAtHasBeenSet =
true;
265 m_stoppedAtHasBeenSet =
true;
274 LatestServiceJobAttempt m_latestAttempt;
278 long long m_createdAt{0};
286 long long m_scheduledAt{0};
296 long long m_startedAt{0};
298 long long m_stoppedAt{0};
299 bool m_latestAttemptHasBeenSet =
false;
300 bool m_capacityUsageHasBeenSet =
false;
301 bool m_createdAtHasBeenSet =
false;
302 bool m_jobArnHasBeenSet =
false;
303 bool m_jobIdHasBeenSet =
false;
304 bool m_jobNameHasBeenSet =
false;
305 bool m_scheduledAtHasBeenSet =
false;
306 bool m_serviceJobTypeHasBeenSet =
false;
307 bool m_shareIdentifierHasBeenSet =
false;
308 bool m_statusHasBeenSet =
false;
309 bool m_statusReasonHasBeenSet =
false;
310 bool m_startedAtHasBeenSet =
false;
311 bool m_stoppedAtHasBeenSet =
false;
void SetShareIdentifier(ShareIdentifierT &&value)
bool ShareIdentifierHasBeenSet() const
ServiceJobSummary & WithCreatedAt(long long value)
ServiceJobSummary & WithJobName(JobNameT &&value)
bool CapacityUsageHasBeenSet() const
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
void SetCapacityUsage(CapacityUsageT &&value)
const Aws::String & GetJobName() const
bool ScheduledAtHasBeenSet() const
void SetLatestAttempt(LatestAttemptT &&value)
void SetJobArn(JobArnT &&value)
ServiceJobSummary & WithJobArn(JobArnT &&value)
ServiceJobSummary & WithJobId(JobIdT &&value)
ServiceJobSummary & AddCapacityUsage(CapacityUsageT &&value)
bool StartedAtHasBeenSet() const
void SetJobName(JobNameT &&value)
void SetStatusReason(StatusReasonT &&value)
ServiceJobSummary & WithStartedAt(long long value)
ServiceJobSummary & WithCapacityUsage(CapacityUsageT &&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)
const Aws::Vector< ServiceJobCapacityUsageSummary > & GetCapacityUsage() const
long long GetScheduledAt() const
void SetScheduledAt(long long 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)
ServiceJobSummary & WithScheduledAt(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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue