7#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/emr-serverless/model/JobRunMode.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/emr-serverless/model/JobRunState.h>
24namespace EMRServerless
50 template<
typename ApplicationIdT = Aws::String>
51 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet =
true; m_applicationId = std::forward<ApplicationIdT>(value); }
52 template<
typename ApplicationIdT = Aws::String>
62 template<
typename IdT = Aws::String>
63 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
64 template<
typename IdT = Aws::String>
74 template<
typename NameT = Aws::String>
75 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
76 template<
typename NameT = Aws::String>
96 template<
typename ArnT = Aws::String>
97 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
98 template<
typename ArnT = Aws::String>
108 template<
typename CreatedByT = Aws::String>
109 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
110 template<
typename CreatedByT = Aws::String>
120 template<
typename JobCreatedAtT = Aws::Utils::DateTime>
121 void SetJobCreatedAt(JobCreatedAtT&& value) { m_jobCreatedAtHasBeenSet =
true; m_jobCreatedAt = std::forward<JobCreatedAtT>(value); }
122 template<
typename JobCreatedAtT = Aws::Utils::DateTime>
132 template<
typename CreatedAtT = Aws::Utils::DateTime>
133 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
134 template<
typename CreatedAtT = Aws::Utils::DateTime>
144 template<
typename UpdatedAtT = Aws::Utils::DateTime>
145 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
146 template<
typename UpdatedAtT = Aws::Utils::DateTime>
156 template<
typename ExecutionRoleT = Aws::String>
157 void SetExecutionRole(ExecutionRoleT&& value) { m_executionRoleHasBeenSet =
true; m_executionRole = std::forward<ExecutionRoleT>(value); }
158 template<
typename ExecutionRoleT = Aws::String>
178 template<
typename StateDetailsT = Aws::String>
179 void SetStateDetails(StateDetailsT&& value) { m_stateDetailsHasBeenSet =
true; m_stateDetails = std::forward<StateDetailsT>(value); }
180 template<
typename StateDetailsT = Aws::String>
190 template<
typename ReleaseLabelT = Aws::String>
191 void SetReleaseLabel(ReleaseLabelT&& value) { m_releaseLabelHasBeenSet =
true; m_releaseLabel = std::forward<ReleaseLabelT>(value); }
192 template<
typename ReleaseLabelT = Aws::String>
202 template<
typename TypeT = Aws::String>
203 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
204 template<
typename TypeT = Aws::String>
214 inline void SetAttempt(
int value) { m_attemptHasBeenSet =
true; m_attempt = value; }
220 bool m_applicationIdHasBeenSet =
false;
223 bool m_idHasBeenSet =
false;
226 bool m_nameHasBeenSet =
false;
229 bool m_modeHasBeenSet =
false;
232 bool m_arnHasBeenSet =
false;
235 bool m_createdByHasBeenSet =
false;
238 bool m_jobCreatedAtHasBeenSet =
false;
241 bool m_createdAtHasBeenSet =
false;
244 bool m_updatedAtHasBeenSet =
false;
247 bool m_executionRoleHasBeenSet =
false;
250 bool m_stateHasBeenSet =
false;
253 bool m_stateDetailsHasBeenSet =
false;
256 bool m_releaseLabelHasBeenSet =
false;
259 bool m_typeHasBeenSet =
false;
262 bool m_attemptHasBeenSet =
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)
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 & 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)
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)
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