AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
JobRun.h
1
6#pragma once
7#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/emr-serverless/model/JobRunExecutionIamPolicy.h>
11#include <aws/emr-serverless/model/JobRunState.h>
12#include <aws/emr-serverless/model/ConfigurationOverrides.h>
13#include <aws/emr-serverless/model/JobDriver.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/emr-serverless/model/TotalResourceUtilization.h>
16#include <aws/emr-serverless/model/NetworkConfiguration.h>
17#include <aws/emr-serverless/model/ResourceUtilization.h>
18#include <aws/emr-serverless/model/JobRunMode.h>
19#include <aws/emr-serverless/model/RetryPolicy.h>
20#include <utility>
21
22namespace Aws
23{
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29 class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace EMRServerless
33{
34namespace Model
35{
36
44 class JobRun
45 {
46 public:
47 AWS_EMRSERVERLESS_API JobRun() = default;
48 AWS_EMRSERVERLESS_API JobRun(Aws::Utils::Json::JsonView jsonValue);
49 AWS_EMRSERVERLESS_API JobRun& operator=(Aws::Utils::Json::JsonView jsonValue);
50 AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
57 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
58 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
59 template<typename ApplicationIdT = Aws::String>
60 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
61 template<typename ApplicationIdT = Aws::String>
62 JobRun& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
64
66
69 inline const Aws::String& GetJobRunId() const { return m_jobRunId; }
70 inline bool JobRunIdHasBeenSet() const { return m_jobRunIdHasBeenSet; }
71 template<typename JobRunIdT = Aws::String>
72 void SetJobRunId(JobRunIdT&& value) { m_jobRunIdHasBeenSet = true; m_jobRunId = std::forward<JobRunIdT>(value); }
73 template<typename JobRunIdT = Aws::String>
74 JobRun& WithJobRunId(JobRunIdT&& value) { SetJobRunId(std::forward<JobRunIdT>(value)); return *this;}
76
78
81 inline const Aws::String& GetName() const { return m_name; }
82 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
83 template<typename NameT = Aws::String>
84 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
85 template<typename NameT = Aws::String>
86 JobRun& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
88
90
93 inline const Aws::String& GetArn() const { return m_arn; }
94 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
95 template<typename ArnT = Aws::String>
96 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
97 template<typename ArnT = Aws::String>
98 JobRun& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
100
102
105 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
106 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
107 template<typename CreatedByT = Aws::String>
108 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
109 template<typename CreatedByT = Aws::String>
110 JobRun& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
118 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
119 template<typename CreatedAtT = Aws::Utils::DateTime>
120 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
121 template<typename CreatedAtT = Aws::Utils::DateTime>
122 JobRun& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
124
126
129 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
130 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
131 template<typename UpdatedAtT = Aws::Utils::DateTime>
132 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
133 template<typename UpdatedAtT = Aws::Utils::DateTime>
134 JobRun& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
136
138
141 inline const Aws::String& GetExecutionRole() const { return m_executionRole; }
142 inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
143 template<typename ExecutionRoleT = Aws::String>
144 void SetExecutionRole(ExecutionRoleT&& value) { m_executionRoleHasBeenSet = true; m_executionRole = std::forward<ExecutionRoleT>(value); }
145 template<typename ExecutionRoleT = Aws::String>
146 JobRun& WithExecutionRole(ExecutionRoleT&& value) { SetExecutionRole(std::forward<ExecutionRoleT>(value)); return *this;}
148
150
151 inline const JobRunExecutionIamPolicy& GetExecutionIamPolicy() const { return m_executionIamPolicy; }
152 inline bool ExecutionIamPolicyHasBeenSet() const { return m_executionIamPolicyHasBeenSet; }
153 template<typename ExecutionIamPolicyT = JobRunExecutionIamPolicy>
154 void SetExecutionIamPolicy(ExecutionIamPolicyT&& value) { m_executionIamPolicyHasBeenSet = true; m_executionIamPolicy = std::forward<ExecutionIamPolicyT>(value); }
155 template<typename ExecutionIamPolicyT = JobRunExecutionIamPolicy>
156 JobRun& WithExecutionIamPolicy(ExecutionIamPolicyT&& value) { SetExecutionIamPolicy(std::forward<ExecutionIamPolicyT>(value)); return *this;}
158
160
163 inline JobRunState GetState() const { return m_state; }
164 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
165 inline void SetState(JobRunState value) { m_stateHasBeenSet = true; m_state = value; }
166 inline JobRun& WithState(JobRunState value) { SetState(value); return *this;}
168
170
173 inline const Aws::String& GetStateDetails() const { return m_stateDetails; }
174 inline bool StateDetailsHasBeenSet() const { return m_stateDetailsHasBeenSet; }
175 template<typename StateDetailsT = Aws::String>
176 void SetStateDetails(StateDetailsT&& value) { m_stateDetailsHasBeenSet = true; m_stateDetails = std::forward<StateDetailsT>(value); }
177 template<typename StateDetailsT = Aws::String>
178 JobRun& WithStateDetails(StateDetailsT&& value) { SetStateDetails(std::forward<StateDetailsT>(value)); return *this;}
180
182
186 inline const Aws::String& GetReleaseLabel() const { return m_releaseLabel; }
187 inline bool ReleaseLabelHasBeenSet() const { return m_releaseLabelHasBeenSet; }
188 template<typename ReleaseLabelT = Aws::String>
189 void SetReleaseLabel(ReleaseLabelT&& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = std::forward<ReleaseLabelT>(value); }
190 template<typename ReleaseLabelT = Aws::String>
191 JobRun& WithReleaseLabel(ReleaseLabelT&& value) { SetReleaseLabel(std::forward<ReleaseLabelT>(value)); return *this;}
193
195
199 inline const ConfigurationOverrides& GetConfigurationOverrides() const { return m_configurationOverrides; }
200 inline bool ConfigurationOverridesHasBeenSet() const { return m_configurationOverridesHasBeenSet; }
201 template<typename ConfigurationOverridesT = ConfigurationOverrides>
202 void SetConfigurationOverrides(ConfigurationOverridesT&& value) { m_configurationOverridesHasBeenSet = true; m_configurationOverrides = std::forward<ConfigurationOverridesT>(value); }
203 template<typename ConfigurationOverridesT = ConfigurationOverrides>
204 JobRun& WithConfigurationOverrides(ConfigurationOverridesT&& value) { SetConfigurationOverrides(std::forward<ConfigurationOverridesT>(value)); return *this;}
206
208
211 inline const JobDriver& GetJobDriver() const { return m_jobDriver; }
212 inline bool JobDriverHasBeenSet() const { return m_jobDriverHasBeenSet; }
213 template<typename JobDriverT = JobDriver>
214 void SetJobDriver(JobDriverT&& value) { m_jobDriverHasBeenSet = true; m_jobDriver = std::forward<JobDriverT>(value); }
215 template<typename JobDriverT = JobDriver>
216 JobRun& WithJobDriver(JobDriverT&& value) { SetJobDriver(std::forward<JobDriverT>(value)); return *this;}
218
220
223 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
224 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
225 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
226 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
227 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
228 JobRun& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
229 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
230 JobRun& AddTags(TagsKeyT&& key, TagsValueT&& value) {
231 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
232 }
234
236
241 inline const TotalResourceUtilization& GetTotalResourceUtilization() const { return m_totalResourceUtilization; }
242 inline bool TotalResourceUtilizationHasBeenSet() const { return m_totalResourceUtilizationHasBeenSet; }
243 template<typename TotalResourceUtilizationT = TotalResourceUtilization>
244 void SetTotalResourceUtilization(TotalResourceUtilizationT&& value) { m_totalResourceUtilizationHasBeenSet = true; m_totalResourceUtilization = std::forward<TotalResourceUtilizationT>(value); }
245 template<typename TotalResourceUtilizationT = TotalResourceUtilization>
246 JobRun& WithTotalResourceUtilization(TotalResourceUtilizationT&& value) { SetTotalResourceUtilization(std::forward<TotalResourceUtilizationT>(value)); return *this;}
248
250
251 inline const NetworkConfiguration& GetNetworkConfiguration() const { return m_networkConfiguration; }
252 inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
253 template<typename NetworkConfigurationT = NetworkConfiguration>
254 void SetNetworkConfiguration(NetworkConfigurationT&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::forward<NetworkConfigurationT>(value); }
255 template<typename NetworkConfigurationT = NetworkConfiguration>
256 JobRun& WithNetworkConfiguration(NetworkConfigurationT&& value) { SetNetworkConfiguration(std::forward<NetworkConfigurationT>(value)); return *this;}
258
260
265 inline int GetTotalExecutionDurationSeconds() const { return m_totalExecutionDurationSeconds; }
266 inline bool TotalExecutionDurationSecondsHasBeenSet() const { return m_totalExecutionDurationSecondsHasBeenSet; }
267 inline void SetTotalExecutionDurationSeconds(int value) { m_totalExecutionDurationSecondsHasBeenSet = true; m_totalExecutionDurationSeconds = value; }
270
272
277 inline long long GetExecutionTimeoutMinutes() const { return m_executionTimeoutMinutes; }
278 inline bool ExecutionTimeoutMinutesHasBeenSet() const { return m_executionTimeoutMinutesHasBeenSet; }
279 inline void SetExecutionTimeoutMinutes(long long value) { m_executionTimeoutMinutesHasBeenSet = true; m_executionTimeoutMinutes = value; }
280 inline JobRun& WithExecutionTimeoutMinutes(long long value) { SetExecutionTimeoutMinutes(value); return *this;}
282
284
290 inline const ResourceUtilization& GetBilledResourceUtilization() const { return m_billedResourceUtilization; }
291 inline bool BilledResourceUtilizationHasBeenSet() const { return m_billedResourceUtilizationHasBeenSet; }
292 template<typename BilledResourceUtilizationT = ResourceUtilization>
293 void SetBilledResourceUtilization(BilledResourceUtilizationT&& value) { m_billedResourceUtilizationHasBeenSet = true; m_billedResourceUtilization = std::forward<BilledResourceUtilizationT>(value); }
294 template<typename BilledResourceUtilizationT = ResourceUtilization>
295 JobRun& WithBilledResourceUtilization(BilledResourceUtilizationT&& value) { SetBilledResourceUtilization(std::forward<BilledResourceUtilizationT>(value)); return *this;}
297
299
302 inline JobRunMode GetMode() const { return m_mode; }
303 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
304 inline void SetMode(JobRunMode value) { m_modeHasBeenSet = true; m_mode = value; }
305 inline JobRun& WithMode(JobRunMode value) { SetMode(value); return *this;}
307
309
312 inline const RetryPolicy& GetRetryPolicy() const { return m_retryPolicy; }
313 inline bool RetryPolicyHasBeenSet() const { return m_retryPolicyHasBeenSet; }
314 template<typename RetryPolicyT = RetryPolicy>
315 void SetRetryPolicy(RetryPolicyT&& value) { m_retryPolicyHasBeenSet = true; m_retryPolicy = std::forward<RetryPolicyT>(value); }
316 template<typename RetryPolicyT = RetryPolicy>
317 JobRun& WithRetryPolicy(RetryPolicyT&& value) { SetRetryPolicy(std::forward<RetryPolicyT>(value)); return *this;}
319
321
324 inline int GetAttempt() const { return m_attempt; }
325 inline bool AttemptHasBeenSet() const { return m_attemptHasBeenSet; }
326 inline void SetAttempt(int value) { m_attemptHasBeenSet = true; m_attempt = value; }
327 inline JobRun& WithAttempt(int value) { SetAttempt(value); return *this;}
329
331
334 inline const Aws::Utils::DateTime& GetAttemptCreatedAt() const { return m_attemptCreatedAt; }
335 inline bool AttemptCreatedAtHasBeenSet() const { return m_attemptCreatedAtHasBeenSet; }
336 template<typename AttemptCreatedAtT = Aws::Utils::DateTime>
337 void SetAttemptCreatedAt(AttemptCreatedAtT&& value) { m_attemptCreatedAtHasBeenSet = true; m_attemptCreatedAt = std::forward<AttemptCreatedAtT>(value); }
338 template<typename AttemptCreatedAtT = Aws::Utils::DateTime>
339 JobRun& WithAttemptCreatedAt(AttemptCreatedAtT&& value) { SetAttemptCreatedAt(std::forward<AttemptCreatedAtT>(value)); return *this;}
341
343
346 inline const Aws::Utils::DateTime& GetAttemptUpdatedAt() const { return m_attemptUpdatedAt; }
347 inline bool AttemptUpdatedAtHasBeenSet() const { return m_attemptUpdatedAtHasBeenSet; }
348 template<typename AttemptUpdatedAtT = Aws::Utils::DateTime>
349 void SetAttemptUpdatedAt(AttemptUpdatedAtT&& value) { m_attemptUpdatedAtHasBeenSet = true; m_attemptUpdatedAt = std::forward<AttemptUpdatedAtT>(value); }
350 template<typename AttemptUpdatedAtT = Aws::Utils::DateTime>
351 JobRun& WithAttemptUpdatedAt(AttemptUpdatedAtT&& value) { SetAttemptUpdatedAt(std::forward<AttemptUpdatedAtT>(value)); return *this;}
353
355
358 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
359 inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
360 template<typename StartedAtT = Aws::Utils::DateTime>
361 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::forward<StartedAtT>(value); }
362 template<typename StartedAtT = Aws::Utils::DateTime>
363 JobRun& WithStartedAt(StartedAtT&& value) { SetStartedAt(std::forward<StartedAtT>(value)); return *this;}
365
367
370 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
371 inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; }
372 template<typename EndedAtT = Aws::Utils::DateTime>
373 void SetEndedAt(EndedAtT&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::forward<EndedAtT>(value); }
374 template<typename EndedAtT = Aws::Utils::DateTime>
375 JobRun& WithEndedAt(EndedAtT&& value) { SetEndedAt(std::forward<EndedAtT>(value)); return *this;}
377
379
382 inline long long GetQueuedDurationMilliseconds() const { return m_queuedDurationMilliseconds; }
383 inline bool QueuedDurationMillisecondsHasBeenSet() const { return m_queuedDurationMillisecondsHasBeenSet; }
384 inline void SetQueuedDurationMilliseconds(long long value) { m_queuedDurationMillisecondsHasBeenSet = true; m_queuedDurationMilliseconds = value; }
385 inline JobRun& WithQueuedDurationMilliseconds(long long value) { SetQueuedDurationMilliseconds(value); return *this;}
387 private:
388
389 Aws::String m_applicationId;
390 bool m_applicationIdHasBeenSet = false;
391
392 Aws::String m_jobRunId;
393 bool m_jobRunIdHasBeenSet = false;
394
395 Aws::String m_name;
396 bool m_nameHasBeenSet = false;
397
398 Aws::String m_arn;
399 bool m_arnHasBeenSet = false;
400
401 Aws::String m_createdBy;
402 bool m_createdByHasBeenSet = false;
403
404 Aws::Utils::DateTime m_createdAt{};
405 bool m_createdAtHasBeenSet = false;
406
407 Aws::Utils::DateTime m_updatedAt{};
408 bool m_updatedAtHasBeenSet = false;
409
410 Aws::String m_executionRole;
411 bool m_executionRoleHasBeenSet = false;
412
413 JobRunExecutionIamPolicy m_executionIamPolicy;
414 bool m_executionIamPolicyHasBeenSet = false;
415
417 bool m_stateHasBeenSet = false;
418
419 Aws::String m_stateDetails;
420 bool m_stateDetailsHasBeenSet = false;
421
422 Aws::String m_releaseLabel;
423 bool m_releaseLabelHasBeenSet = false;
424
425 ConfigurationOverrides m_configurationOverrides;
426 bool m_configurationOverridesHasBeenSet = false;
427
428 JobDriver m_jobDriver;
429 bool m_jobDriverHasBeenSet = false;
430
432 bool m_tagsHasBeenSet = false;
433
434 TotalResourceUtilization m_totalResourceUtilization;
435 bool m_totalResourceUtilizationHasBeenSet = false;
436
437 NetworkConfiguration m_networkConfiguration;
438 bool m_networkConfigurationHasBeenSet = false;
439
440 int m_totalExecutionDurationSeconds{0};
441 bool m_totalExecutionDurationSecondsHasBeenSet = false;
442
443 long long m_executionTimeoutMinutes{0};
444 bool m_executionTimeoutMinutesHasBeenSet = false;
445
446 ResourceUtilization m_billedResourceUtilization;
447 bool m_billedResourceUtilizationHasBeenSet = false;
448
450 bool m_modeHasBeenSet = false;
451
452 RetryPolicy m_retryPolicy;
453 bool m_retryPolicyHasBeenSet = false;
454
455 int m_attempt{0};
456 bool m_attemptHasBeenSet = false;
457
458 Aws::Utils::DateTime m_attemptCreatedAt{};
459 bool m_attemptCreatedAtHasBeenSet = false;
460
461 Aws::Utils::DateTime m_attemptUpdatedAt{};
462 bool m_attemptUpdatedAtHasBeenSet = false;
463
464 Aws::Utils::DateTime m_startedAt{};
465 bool m_startedAtHasBeenSet = false;
466
467 Aws::Utils::DateTime m_endedAt{};
468 bool m_endedAtHasBeenSet = false;
469
470 long long m_queuedDurationMilliseconds{0};
471 bool m_queuedDurationMillisecondsHasBeenSet = false;
472 };
473
474} // namespace Model
475} // namespace EMRServerless
476} // namespace Aws
JobRun & WithNetworkConfiguration(NetworkConfigurationT &&value)
Definition JobRun.h:256
void SetUpdatedAt(UpdatedAtT &&value)
Definition JobRun.h:132
bool TotalExecutionDurationSecondsHasBeenSet() const
Definition JobRun.h:266
bool ConfigurationOverridesHasBeenSet() const
Definition JobRun.h:200
JobRun & WithRetryPolicy(RetryPolicyT &&value)
Definition JobRun.h:317
JobRun & WithExecutionRole(ExecutionRoleT &&value)
Definition JobRun.h:146
const Aws::Utils::DateTime & GetAttemptCreatedAt() const
Definition JobRun.h:334
JobRun & WithStartedAt(StartedAtT &&value)
Definition JobRun.h:363
bool BilledResourceUtilizationHasBeenSet() const
Definition JobRun.h:291
JobRun & WithReleaseLabel(ReleaseLabelT &&value)
Definition JobRun.h:191
const ConfigurationOverrides & GetConfigurationOverrides() const
Definition JobRun.h:199
JobRun & WithTotalExecutionDurationSeconds(int value)
Definition JobRun.h:268
bool StateDetailsHasBeenSet() const
Definition JobRun.h:174
JobRun & WithJobDriver(JobDriverT &&value)
Definition JobRun.h:216
bool NetworkConfigurationHasBeenSet() const
Definition JobRun.h:252
void SetCreatedAt(CreatedAtT &&value)
Definition JobRun.h:120
JobRun & WithBilledResourceUtilization(BilledResourceUtilizationT &&value)
Definition JobRun.h:295
void SetRetryPolicy(RetryPolicyT &&value)
Definition JobRun.h:315
JobRun & WithJobRunId(JobRunIdT &&value)
Definition JobRun.h:74
void SetExecutionRole(ExecutionRoleT &&value)
Definition JobRun.h:144
JobRun & WithApplicationId(ApplicationIdT &&value)
Definition JobRun.h:62
bool AttemptUpdatedAtHasBeenSet() const
Definition JobRun.h:347
void SetReleaseLabel(ReleaseLabelT &&value)
Definition JobRun.h:189
const Aws::String & GetReleaseLabel() const
Definition JobRun.h:186
void SetBilledResourceUtilization(BilledResourceUtilizationT &&value)
Definition JobRun.h:293
void SetName(NameT &&value)
Definition JobRun.h:84
long long GetQueuedDurationMilliseconds() const
Definition JobRun.h:382
AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
const JobDriver & GetJobDriver() const
Definition JobRun.h:211
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition JobRun.h:223
const Aws::String & GetArn() const
Definition JobRun.h:93
AWS_EMRSERVERLESS_API JobRun & operator=(Aws::Utils::Json::JsonView jsonValue)
JobRun & WithName(NameT &&value)
Definition JobRun.h:86
const Aws::String & GetCreatedBy() const
Definition JobRun.h:105
JobRun & WithMode(JobRunMode value)
Definition JobRun.h:305
bool ExecutionTimeoutMinutesHasBeenSet() const
Definition JobRun.h:278
const JobRunExecutionIamPolicy & GetExecutionIamPolicy() const
Definition JobRun.h:151
JobRun & WithState(JobRunState value)
Definition JobRun.h:166
const Aws::Utils::DateTime & GetStartedAt() const
Definition JobRun.h:358
void SetTotalExecutionDurationSeconds(int value)
Definition JobRun.h:267
JobRunState GetState() const
Definition JobRun.h:163
const Aws::Utils::DateTime & GetAttemptUpdatedAt() const
Definition JobRun.h:346
const ResourceUtilization & GetBilledResourceUtilization() const
Definition JobRun.h:290
void SetEndedAt(EndedAtT &&value)
Definition JobRun.h:373
void SetArn(ArnT &&value)
Definition JobRun.h:96
JobRun & WithExecutionIamPolicy(ExecutionIamPolicyT &&value)
Definition JobRun.h:156
JobRun & WithTags(TagsT &&value)
Definition JobRun.h:228
bool TotalResourceUtilizationHasBeenSet() const
Definition JobRun.h:242
AWS_EMRSERVERLESS_API JobRun(Aws::Utils::Json::JsonView jsonValue)
void SetTotalResourceUtilization(TotalResourceUtilizationT &&value)
Definition JobRun.h:244
JobRun & WithExecutionTimeoutMinutes(long long value)
Definition JobRun.h:280
void SetExecutionIamPolicy(ExecutionIamPolicyT &&value)
Definition JobRun.h:154
void SetExecutionTimeoutMinutes(long long value)
Definition JobRun.h:279
bool ExecutionIamPolicyHasBeenSet() const
Definition JobRun.h:152
void SetJobRunId(JobRunIdT &&value)
Definition JobRun.h:72
JobRun & WithAttemptCreatedAt(AttemptCreatedAtT &&value)
Definition JobRun.h:339
bool AttemptCreatedAtHasBeenSet() const
Definition JobRun.h:335
JobRun & WithArn(ArnT &&value)
Definition JobRun.h:98
void SetCreatedBy(CreatedByT &&value)
Definition JobRun.h:108
long long GetExecutionTimeoutMinutes() const
Definition JobRun.h:277
const Aws::Utils::DateTime & GetEndedAt() const
Definition JobRun.h:370
JobRunMode GetMode() const
Definition JobRun.h:302
bool QueuedDurationMillisecondsHasBeenSet() const
Definition JobRun.h:383
const Aws::String & GetApplicationId() const
Definition JobRun.h:57
void SetApplicationId(ApplicationIdT &&value)
Definition JobRun.h:60
JobRun & WithTotalResourceUtilization(TotalResourceUtilizationT &&value)
Definition JobRun.h:246
void SetJobDriver(JobDriverT &&value)
Definition JobRun.h:214
JobRun & WithAttempt(int value)
Definition JobRun.h:327
bool ApplicationIdHasBeenSet() const
Definition JobRun.h:58
JobRun & WithEndedAt(EndedAtT &&value)
Definition JobRun.h:375
bool ReleaseLabelHasBeenSet() const
Definition JobRun.h:187
void SetMode(JobRunMode value)
Definition JobRun.h:304
void SetConfigurationOverrides(ConfigurationOverridesT &&value)
Definition JobRun.h:202
void SetStartedAt(StartedAtT &&value)
Definition JobRun.h:361
JobRun & WithQueuedDurationMilliseconds(long long value)
Definition JobRun.h:385
JobRun & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition JobRun.h:230
JobRun & WithCreatedBy(CreatedByT &&value)
Definition JobRun.h:110
void SetAttemptUpdatedAt(AttemptUpdatedAtT &&value)
Definition JobRun.h:349
void SetNetworkConfiguration(NetworkConfigurationT &&value)
Definition JobRun.h:254
void SetStateDetails(StateDetailsT &&value)
Definition JobRun.h:176
AWS_EMRSERVERLESS_API JobRun()=default
const Aws::String & GetStateDetails() const
Definition JobRun.h:173
const Aws::String & GetExecutionRole() const
Definition JobRun.h:141
const NetworkConfiguration & GetNetworkConfiguration() const
Definition JobRun.h:251
JobRun & WithConfigurationOverrides(ConfigurationOverridesT &&value)
Definition JobRun.h:204
const Aws::String & GetJobRunId() const
Definition JobRun.h:69
JobRun & WithAttemptUpdatedAt(AttemptUpdatedAtT &&value)
Definition JobRun.h:351
const TotalResourceUtilization & GetTotalResourceUtilization() const
Definition JobRun.h:241
bool ExecutionRoleHasBeenSet() const
Definition JobRun.h:142
JobRun & WithStateDetails(StateDetailsT &&value)
Definition JobRun.h:178
JobRun & WithCreatedAt(CreatedAtT &&value)
Definition JobRun.h:122
const Aws::Utils::DateTime & GetCreatedAt() const
Definition JobRun.h:117
void SetQueuedDurationMilliseconds(long long value)
Definition JobRun.h:384
const RetryPolicy & GetRetryPolicy() const
Definition JobRun.h:312
void SetState(JobRunState value)
Definition JobRun.h:165
const Aws::String & GetName() const
Definition JobRun.h:81
void SetAttemptCreatedAt(AttemptCreatedAtT &&value)
Definition JobRun.h:337
JobRun & WithUpdatedAt(UpdatedAtT &&value)
Definition JobRun.h:134
int GetTotalExecutionDurationSeconds() const
Definition JobRun.h:265
void SetTags(TagsT &&value)
Definition JobRun.h:226
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition JobRun.h:129
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue