7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
10#include <aws/emr-serverless/model/FlexExecution.h>
11#include <aws/emr-serverless/model/JobRunMode.h>
12#include <aws/emr-serverless/model/JobRunState.h>
23namespace EMRServerless {
45 template <
typename ApplicationIdT = Aws::String>
47 m_applicationIdHasBeenSet =
true;
48 m_applicationId = std::forward<ApplicationIdT>(value);
50 template <
typename ApplicationIdT = Aws::String>
63 template <
typename IdT = Aws::String>
65 m_idHasBeenSet =
true;
66 m_id = std::forward<IdT>(value);
68 template <
typename IdT = Aws::String>
70 SetId(std::forward<IdT>(value));
81 template <
typename NameT = Aws::String>
83 m_nameHasBeenSet =
true;
84 m_name = std::forward<NameT>(value);
86 template <
typename NameT = Aws::String>
88 SetName(std::forward<NameT>(value));
100 m_modeHasBeenSet =
true;
115 template <
typename ArnT = Aws::String>
117 m_arnHasBeenSet =
true;
118 m_arn = std::forward<ArnT>(value);
120 template <
typename ArnT = Aws::String>
122 SetArn(std::forward<ArnT>(value));
133 template <
typename CreatedByT = Aws::String>
135 m_createdByHasBeenSet =
true;
136 m_createdBy = std::forward<CreatedByT>(value);
138 template <
typename CreatedByT = Aws::String>
151 template <
typename JobCreatedAtT = Aws::Utils::DateTime>
153 m_jobCreatedAtHasBeenSet =
true;
154 m_jobCreatedAt = std::forward<JobCreatedAtT>(value);
156 template <
typename JobCreatedAtT = Aws::Utils::DateTime>
169 template <
typename CreatedAtT = Aws::Utils::DateTime>
171 m_createdAtHasBeenSet =
true;
172 m_createdAt = std::forward<CreatedAtT>(value);
174 template <
typename CreatedAtT = Aws::Utils::DateTime>
187 template <
typename UpdatedAtT = Aws::Utils::DateTime>
189 m_updatedAtHasBeenSet =
true;
190 m_updatedAt = std::forward<UpdatedAtT>(value);
192 template <
typename UpdatedAtT = Aws::Utils::DateTime>
205 template <
typename ExecutionRoleT = Aws::String>
207 m_executionRoleHasBeenSet =
true;
208 m_executionRole = std::forward<ExecutionRoleT>(value);
210 template <
typename ExecutionRoleT = Aws::String>
224 m_stateHasBeenSet =
true;
239 template <
typename StateDetailsT = Aws::String>
241 m_stateDetailsHasBeenSet =
true;
242 m_stateDetails = std::forward<StateDetailsT>(value);
244 template <
typename StateDetailsT = Aws::String>
257 template <
typename ReleaseLabelT = Aws::String>
259 m_releaseLabelHasBeenSet =
true;
260 m_releaseLabel = std::forward<ReleaseLabelT>(value);
262 template <
typename ReleaseLabelT = Aws::String>
275 template <
typename TypeT = Aws::String>
277 m_typeHasBeenSet =
true;
278 m_type = std::forward<TypeT>(value);
280 template <
typename TypeT = Aws::String>
282 SetType(std::forward<TypeT>(value));
294 m_attemptHasBeenSet =
true;
309 template <
typename FlexExecutionT = FlexExecution>
311 m_flexExecutionHasBeenSet =
true;
312 m_flexExecution = std::forward<FlexExecutionT>(value);
314 template <
typename FlexExecutionT = FlexExecution>
351 FlexExecution m_flexExecution;
352 bool m_applicationIdHasBeenSet =
false;
353 bool m_idHasBeenSet =
false;
354 bool m_nameHasBeenSet =
false;
355 bool m_modeHasBeenSet =
false;
356 bool m_arnHasBeenSet =
false;
357 bool m_createdByHasBeenSet =
false;
358 bool m_jobCreatedAtHasBeenSet =
false;
359 bool m_createdAtHasBeenSet =
false;
360 bool m_updatedAtHasBeenSet =
false;
361 bool m_executionRoleHasBeenSet =
false;
362 bool m_stateHasBeenSet =
false;
363 bool m_stateDetailsHasBeenSet =
false;
364 bool m_releaseLabelHasBeenSet =
false;
365 bool m_typeHasBeenSet =
false;
366 bool m_attemptHasBeenSet =
false;
367 bool m_flexExecutionHasBeenSet =
false;
JobRunState GetState() const
void SetCreatedAt(CreatedAtT &&value)
void SetState(JobRunState value)
const Aws::String & GetId() const
const Aws::String & GetType() const
AWS_EMRSERVERLESS_API JobRunAttemptSummary()=default
JobRunMode GetMode() const
const Aws::String & GetCreatedBy() const
bool StateDetailsHasBeenSet() const
bool ModeHasBeenSet() const
JobRunAttemptSummary & WithState(JobRunState value)
JobRunAttemptSummary & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetAttempt(int value)
const Aws::String & GetApplicationId() const
void SetStateDetails(StateDetailsT &&value)
void SetApplicationId(ApplicationIdT &&value)
bool FlexExecutionHasBeenSet() const
const Aws::String & GetName() const
void SetExecutionRole(ExecutionRoleT &&value)
AWS_EMRSERVERLESS_API JobRunAttemptSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ReleaseLabelHasBeenSet() const
bool CreatedByHasBeenSet() const
JobRunAttemptSummary & WithCreatedAt(CreatedAtT &&value)
bool ApplicationIdHasBeenSet() const
bool ArnHasBeenSet() const
bool ExecutionRoleHasBeenSet() const
const Aws::String & GetExecutionRole() const
bool IdHasBeenSet() const
JobRunAttemptSummary & WithName(NameT &&value)
JobRunAttemptSummary & WithFlexExecution(FlexExecutionT &&value)
JobRunAttemptSummary & WithExecutionRole(ExecutionRoleT &&value)
JobRunAttemptSummary & WithId(IdT &&value)
AWS_EMRSERVERLESS_API JobRunAttemptSummary(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
void SetMode(JobRunMode value)
JobRunAttemptSummary & WithMode(JobRunMode value)
const FlexExecution & GetFlexExecution() const
bool TypeHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetArn() const
const Aws::String & GetReleaseLabel() const
bool UpdatedAtHasBeenSet() const
JobRunAttemptSummary & WithAttempt(int value)
JobRunAttemptSummary & WithApplicationId(ApplicationIdT &&value)
void SetCreatedBy(CreatedByT &&value)
void SetName(NameT &&value)
JobRunAttemptSummary & WithReleaseLabel(ReleaseLabelT &&value)
void SetType(TypeT &&value)
const Aws::String & GetStateDetails() const
void SetUpdatedAt(UpdatedAtT &&value)
JobRunAttemptSummary & WithCreatedBy(CreatedByT &&value)
void SetJobCreatedAt(JobCreatedAtT &&value)
bool JobCreatedAtHasBeenSet() const
JobRunAttemptSummary & WithType(TypeT &&value)
JobRunAttemptSummary & WithStateDetails(StateDetailsT &&value)
void SetReleaseLabel(ReleaseLabelT &&value)
AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArn(ArnT &&value)
void SetFlexExecution(FlexExecutionT &&value)
bool AttemptHasBeenSet() const
bool StateHasBeenSet() const
const Aws::Utils::DateTime & GetJobCreatedAt() const
bool CreatedAtHasBeenSet() const
JobRunAttemptSummary & WithArn(ArnT &&value)
JobRunAttemptSummary & WithJobCreatedAt(JobCreatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue