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 CreatedAtT = Aws::Utils::DateTime>
121 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
122 template<
typename CreatedAtT = Aws::Utils::DateTime>
132 template<
typename UpdatedAtT = Aws::Utils::DateTime>
133 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
134 template<
typename UpdatedAtT = Aws::Utils::DateTime>
144 template<
typename ExecutionRoleT = Aws::String>
145 void SetExecutionRole(ExecutionRoleT&& value) { m_executionRoleHasBeenSet =
true; m_executionRole = std::forward<ExecutionRoleT>(value); }
146 template<
typename ExecutionRoleT = Aws::String>
166 template<
typename StateDetailsT = Aws::String>
167 void SetStateDetails(StateDetailsT&& value) { m_stateDetailsHasBeenSet =
true; m_stateDetails = std::forward<StateDetailsT>(value); }
168 template<
typename StateDetailsT = Aws::String>
179 template<
typename ReleaseLabelT = Aws::String>
180 void SetReleaseLabel(ReleaseLabelT&& value) { m_releaseLabelHasBeenSet =
true; m_releaseLabel = std::forward<ReleaseLabelT>(value); }
181 template<
typename ReleaseLabelT = Aws::String>
191 template<
typename TypeT = Aws::String>
192 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
193 template<
typename TypeT = Aws::String>
203 inline void SetAttempt(
int value) { m_attemptHasBeenSet =
true; m_attempt = value; }
213 template<
typename AttemptCreatedAtT = Aws::Utils::DateTime>
214 void SetAttemptCreatedAt(AttemptCreatedAtT&& value) { m_attemptCreatedAtHasBeenSet =
true; m_attemptCreatedAt = std::forward<AttemptCreatedAtT>(value); }
215 template<
typename AttemptCreatedAtT = Aws::Utils::DateTime>
225 template<
typename AttemptUpdatedAtT = Aws::Utils::DateTime>
226 void SetAttemptUpdatedAt(AttemptUpdatedAtT&& value) { m_attemptUpdatedAtHasBeenSet =
true; m_attemptUpdatedAt = std::forward<AttemptUpdatedAtT>(value); }
227 template<
typename AttemptUpdatedAtT = Aws::Utils::DateTime>
233 bool m_applicationIdHasBeenSet =
false;
236 bool m_idHasBeenSet =
false;
239 bool m_nameHasBeenSet =
false;
242 bool m_modeHasBeenSet =
false;
245 bool m_arnHasBeenSet =
false;
248 bool m_createdByHasBeenSet =
false;
251 bool m_createdAtHasBeenSet =
false;
254 bool m_updatedAtHasBeenSet =
false;
257 bool m_executionRoleHasBeenSet =
false;
260 bool m_stateHasBeenSet =
false;
263 bool m_stateDetailsHasBeenSet =
false;
266 bool m_releaseLabelHasBeenSet =
false;
269 bool m_typeHasBeenSet =
false;
272 bool m_attemptHasBeenSet =
false;
275 bool m_attemptCreatedAtHasBeenSet =
false;
278 bool m_attemptUpdatedAtHasBeenSet =
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)
JobRunSummary & WithType(TypeT &&value)
void SetAttempt(int value)
const Aws::String & GetReleaseLabel() const
bool StateDetailsHasBeenSet() const
JobRunSummary & WithStateDetails(StateDetailsT &&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)
void SetType(TypeT &&value)
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