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 CreatedAtT = Aws::Utils::DateTime>
153 m_createdAtHasBeenSet =
true;
154 m_createdAt = std::forward<CreatedAtT>(value);
156 template <
typename CreatedAtT = Aws::Utils::DateTime>
169 template <
typename UpdatedAtT = Aws::Utils::DateTime>
171 m_updatedAtHasBeenSet =
true;
172 m_updatedAt = std::forward<UpdatedAtT>(value);
174 template <
typename UpdatedAtT = Aws::Utils::DateTime>
187 template <
typename ExecutionRoleT = Aws::String>
189 m_executionRoleHasBeenSet =
true;
190 m_executionRole = std::forward<ExecutionRoleT>(value);
192 template <
typename ExecutionRoleT = Aws::String>
206 m_stateHasBeenSet =
true;
221 template <
typename StateDetailsT = Aws::String>
223 m_stateDetailsHasBeenSet =
true;
224 m_stateDetails = std::forward<StateDetailsT>(value);
226 template <
typename StateDetailsT = Aws::String>
240 template <
typename ReleaseLabelT = Aws::String>
242 m_releaseLabelHasBeenSet =
true;
243 m_releaseLabel = std::forward<ReleaseLabelT>(value);
245 template <
typename ReleaseLabelT = Aws::String>
258 template <
typename TypeT = Aws::String>
260 m_typeHasBeenSet =
true;
261 m_type = std::forward<TypeT>(value);
263 template <
typename TypeT = Aws::String>
265 SetType(std::forward<TypeT>(value));
277 m_attemptHasBeenSet =
true;
292 template <
typename AttemptCreatedAtT = Aws::Utils::DateTime>
294 m_attemptCreatedAtHasBeenSet =
true;
295 m_attemptCreatedAt = std::forward<AttemptCreatedAtT>(value);
297 template <
typename AttemptCreatedAtT = Aws::Utils::DateTime>
310 template <
typename AttemptUpdatedAtT = Aws::Utils::DateTime>
312 m_attemptUpdatedAtHasBeenSet =
true;
313 m_attemptUpdatedAt = std::forward<AttemptUpdatedAtT>(value);
315 template <
typename AttemptUpdatedAtT = Aws::Utils::DateTime>
328 template <
typename FlexExecutionT = FlexExecution>
330 m_flexExecutionHasBeenSet =
true;
331 m_flexExecution = std::forward<FlexExecutionT>(value);
333 template <
typename FlexExecutionT = FlexExecution>
372 FlexExecution m_flexExecution;
373 bool m_applicationIdHasBeenSet =
false;
374 bool m_idHasBeenSet =
false;
375 bool m_nameHasBeenSet =
false;
376 bool m_modeHasBeenSet =
false;
377 bool m_arnHasBeenSet =
false;
378 bool m_createdByHasBeenSet =
false;
379 bool m_createdAtHasBeenSet =
false;
380 bool m_updatedAtHasBeenSet =
false;
381 bool m_executionRoleHasBeenSet =
false;
382 bool m_stateHasBeenSet =
false;
383 bool m_stateDetailsHasBeenSet =
false;
384 bool m_releaseLabelHasBeenSet =
false;
385 bool m_typeHasBeenSet =
false;
386 bool m_attemptHasBeenSet =
false;
387 bool m_attemptCreatedAtHasBeenSet =
false;
388 bool m_attemptUpdatedAtHasBeenSet =
false;
389 bool m_flexExecutionHasBeenSet =
false;
JobRunSummary & WithAttempt(int value)
JobRunSummary & WithReleaseLabel(ReleaseLabelT &&value)
void SetState(JobRunState value)
bool ArnHasBeenSet() const
const Aws::Utils::DateTime & GetAttemptUpdatedAt() const
const Aws::String & GetStateDetails() const
bool NameHasBeenSet() const
void SetMode(JobRunMode value)
void SetApplicationId(ApplicationIdT &&value)
bool FlexExecutionHasBeenSet() const
JobRunSummary & WithType(TypeT &&value)
void SetAttempt(int value)
const Aws::String & GetReleaseLabel() const
bool StateDetailsHasBeenSet() const
JobRunSummary & WithStateDetails(StateDetailsT &&value)
void SetFlexExecution(FlexExecutionT &&value)
bool AttemptHasBeenSet() const
const Aws::String & GetType() const
const Aws::String & GetArn() const
const Aws::String & GetId() const
const Aws::String & GetApplicationId() const
bool ModeHasBeenSet() const
bool UpdatedAtHasBeenSet() const
bool AttemptCreatedAtHasBeenSet() const
void SetAttemptCreatedAt(AttemptCreatedAtT &&value)
JobRunSummary & WithCreatedBy(CreatedByT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_EMRSERVERLESS_API JobRunSummary(Aws::Utils::Json::JsonView jsonValue)
JobRunSummary & WithName(NameT &&value)
AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedAt(CreatedAtT &&value)
JobRunSummary & WithCreatedAt(CreatedAtT &&value)
bool CreatedAtHasBeenSet() const
bool AttemptUpdatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetAttemptCreatedAt() const
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetName() const
AWS_EMRSERVERLESS_API JobRunSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
JobRunSummary & WithAttemptUpdatedAt(AttemptUpdatedAtT &&value)
JobRunSummary & WithMode(JobRunMode value)
const Aws::String & GetCreatedBy() const
const Aws::Utils::DateTime & GetUpdatedAt() const
JobRunSummary & WithId(IdT &&value)
void SetExecutionRole(ExecutionRoleT &&value)
const Aws::String & GetExecutionRole() const
JobRunSummary & WithApplicationId(ApplicationIdT &&value)
bool IdHasBeenSet() const
JobRunSummary & WithAttemptCreatedAt(AttemptCreatedAtT &&value)
bool CreatedByHasBeenSet() const
JobRunSummary & WithArn(ArnT &&value)
bool StateHasBeenSet() const
void SetReleaseLabel(ReleaseLabelT &&value)
bool ApplicationIdHasBeenSet() const
JobRunSummary & WithExecutionRole(ExecutionRoleT &&value)
JobRunSummary & WithState(JobRunState value)
void SetStateDetails(StateDetailsT &&value)
void SetName(NameT &&value)
JobRunSummary & WithUpdatedAt(UpdatedAtT &&value)
JobRunSummary & WithFlexExecution(FlexExecutionT &&value)
void SetType(TypeT &&value)
const FlexExecution & GetFlexExecution() const
void SetAttemptUpdatedAt(AttemptUpdatedAtT &&value)
AWS_EMRSERVERLESS_API JobRunSummary()=default
bool ExecutionRoleHasBeenSet() const
JobRunMode GetMode() const
JobRunState GetState() const
void SetCreatedBy(CreatedByT &&value)
void SetArn(ArnT &&value)
bool TypeHasBeenSet() const
bool ReleaseLabelHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue