AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobRun.h
1
6#pragma once
7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/emr-containers/model/JobRunState.h>
10#include <aws/emr-containers/model/ConfigurationOverrides.h>
11#include <aws/emr-containers/model/JobDriver.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/emr-containers/model/FailureReason.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/emr-containers/model/RetryPolicyConfiguration.h>
16#include <aws/emr-containers/model/RetryPolicyExecution.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace EMRContainers
30{
31namespace Model
32{
33
41 class JobRun
42 {
43 public:
44 AWS_EMRCONTAINERS_API JobRun();
45 AWS_EMRCONTAINERS_API JobRun(Aws::Utils::Json::JsonView jsonValue);
46 AWS_EMRCONTAINERS_API JobRun& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetId() const{ return m_id; }
55 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
56 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
57 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
58 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
59 inline JobRun& WithId(const Aws::String& value) { SetId(value); return *this;}
60 inline JobRun& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
61 inline JobRun& WithId(const char* value) { SetId(value); return *this;}
63
65
68 inline const Aws::String& GetName() const{ return m_name; }
69 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
70 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
71 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
72 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
73 inline JobRun& WithName(const Aws::String& value) { SetName(value); return *this;}
74 inline JobRun& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 inline JobRun& WithName(const char* value) { SetName(value); return *this;}
77
79
82 inline const Aws::String& GetVirtualClusterId() const{ return m_virtualClusterId; }
83 inline bool VirtualClusterIdHasBeenSet() const { return m_virtualClusterIdHasBeenSet; }
84 inline void SetVirtualClusterId(const Aws::String& value) { m_virtualClusterIdHasBeenSet = true; m_virtualClusterId = value; }
85 inline void SetVirtualClusterId(Aws::String&& value) { m_virtualClusterIdHasBeenSet = true; m_virtualClusterId = std::move(value); }
86 inline void SetVirtualClusterId(const char* value) { m_virtualClusterIdHasBeenSet = true; m_virtualClusterId.assign(value); }
87 inline JobRun& WithVirtualClusterId(const Aws::String& value) { SetVirtualClusterId(value); return *this;}
88 inline JobRun& WithVirtualClusterId(Aws::String&& value) { SetVirtualClusterId(std::move(value)); return *this;}
89 inline JobRun& WithVirtualClusterId(const char* value) { SetVirtualClusterId(value); return *this;}
91
93
96 inline const Aws::String& GetArn() const{ return m_arn; }
97 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
98 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
99 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
100 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
101 inline JobRun& WithArn(const Aws::String& value) { SetArn(value); return *this;}
102 inline JobRun& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
103 inline JobRun& WithArn(const char* value) { SetArn(value); return *this;}
105
107
110 inline const JobRunState& GetState() const{ return m_state; }
111 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
112 inline void SetState(const JobRunState& value) { m_stateHasBeenSet = true; m_state = value; }
113 inline void SetState(JobRunState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
114 inline JobRun& WithState(const JobRunState& value) { SetState(value); return *this;}
115 inline JobRun& WithState(JobRunState&& value) { SetState(std::move(value)); return *this;}
117
119
122 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
123 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
124 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
125 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
126 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
127 inline JobRun& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
128 inline JobRun& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
129 inline JobRun& WithClientToken(const char* value) { SetClientToken(value); return *this;}
131
133
136 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
137 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
138 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; }
139 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); }
140 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); }
141 inline JobRun& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;}
142 inline JobRun& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
143 inline JobRun& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
145
147
150 inline const Aws::String& GetReleaseLabel() const{ return m_releaseLabel; }
151 inline bool ReleaseLabelHasBeenSet() const { return m_releaseLabelHasBeenSet; }
152 inline void SetReleaseLabel(const Aws::String& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = value; }
153 inline void SetReleaseLabel(Aws::String&& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = std::move(value); }
154 inline void SetReleaseLabel(const char* value) { m_releaseLabelHasBeenSet = true; m_releaseLabel.assign(value); }
155 inline JobRun& WithReleaseLabel(const Aws::String& value) { SetReleaseLabel(value); return *this;}
156 inline JobRun& WithReleaseLabel(Aws::String&& value) { SetReleaseLabel(std::move(value)); return *this;}
157 inline JobRun& WithReleaseLabel(const char* value) { SetReleaseLabel(value); return *this;}
159
161
165 inline const ConfigurationOverrides& GetConfigurationOverrides() const{ return m_configurationOverrides; }
166 inline bool ConfigurationOverridesHasBeenSet() const { return m_configurationOverridesHasBeenSet; }
167 inline void SetConfigurationOverrides(const ConfigurationOverrides& value) { m_configurationOverridesHasBeenSet = true; m_configurationOverrides = value; }
168 inline void SetConfigurationOverrides(ConfigurationOverrides&& value) { m_configurationOverridesHasBeenSet = true; m_configurationOverrides = std::move(value); }
170 inline JobRun& WithConfigurationOverrides(ConfigurationOverrides&& value) { SetConfigurationOverrides(std::move(value)); return *this;}
172
174
177 inline const JobDriver& GetJobDriver() const{ return m_jobDriver; }
178 inline bool JobDriverHasBeenSet() const { return m_jobDriverHasBeenSet; }
179 inline void SetJobDriver(const JobDriver& value) { m_jobDriverHasBeenSet = true; m_jobDriver = value; }
180 inline void SetJobDriver(JobDriver&& value) { m_jobDriverHasBeenSet = true; m_jobDriver = std::move(value); }
181 inline JobRun& WithJobDriver(const JobDriver& value) { SetJobDriver(value); return *this;}
182 inline JobRun& WithJobDriver(JobDriver&& value) { SetJobDriver(std::move(value)); return *this;}
184
186
189 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
190 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
191 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
192 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
193 inline JobRun& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
194 inline JobRun& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
196
198
201 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
202 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
203 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
204 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
205 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
206 inline JobRun& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
207 inline JobRun& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
208 inline JobRun& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
210
212
215 inline const Aws::Utils::DateTime& GetFinishedAt() const{ return m_finishedAt; }
216 inline bool FinishedAtHasBeenSet() const { return m_finishedAtHasBeenSet; }
217 inline void SetFinishedAt(const Aws::Utils::DateTime& value) { m_finishedAtHasBeenSet = true; m_finishedAt = value; }
218 inline void SetFinishedAt(Aws::Utils::DateTime&& value) { m_finishedAtHasBeenSet = true; m_finishedAt = std::move(value); }
219 inline JobRun& WithFinishedAt(const Aws::Utils::DateTime& value) { SetFinishedAt(value); return *this;}
220 inline JobRun& WithFinishedAt(Aws::Utils::DateTime&& value) { SetFinishedAt(std::move(value)); return *this;}
222
224
227 inline const Aws::String& GetStateDetails() const{ return m_stateDetails; }
228 inline bool StateDetailsHasBeenSet() const { return m_stateDetailsHasBeenSet; }
229 inline void SetStateDetails(const Aws::String& value) { m_stateDetailsHasBeenSet = true; m_stateDetails = value; }
230 inline void SetStateDetails(Aws::String&& value) { m_stateDetailsHasBeenSet = true; m_stateDetails = std::move(value); }
231 inline void SetStateDetails(const char* value) { m_stateDetailsHasBeenSet = true; m_stateDetails.assign(value); }
232 inline JobRun& WithStateDetails(const Aws::String& value) { SetStateDetails(value); return *this;}
233 inline JobRun& WithStateDetails(Aws::String&& value) { SetStateDetails(std::move(value)); return *this;}
234 inline JobRun& WithStateDetails(const char* value) { SetStateDetails(value); return *this;}
236
238
241 inline const FailureReason& GetFailureReason() const{ return m_failureReason; }
242 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
243 inline void SetFailureReason(const FailureReason& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
244 inline void SetFailureReason(FailureReason&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
245 inline JobRun& WithFailureReason(const FailureReason& value) { SetFailureReason(value); return *this;}
246 inline JobRun& WithFailureReason(FailureReason&& value) { SetFailureReason(std::move(value)); return *this;}
248
250
253 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
254 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
255 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
256 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
257 inline JobRun& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
258 inline JobRun& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
259 inline JobRun& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
260 inline JobRun& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
261 inline JobRun& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
262 inline JobRun& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
263 inline JobRun& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
264 inline JobRun& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
265 inline JobRun& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
267
269
272 inline const RetryPolicyConfiguration& GetRetryPolicyConfiguration() const{ return m_retryPolicyConfiguration; }
273 inline bool RetryPolicyConfigurationHasBeenSet() const { return m_retryPolicyConfigurationHasBeenSet; }
274 inline void SetRetryPolicyConfiguration(const RetryPolicyConfiguration& value) { m_retryPolicyConfigurationHasBeenSet = true; m_retryPolicyConfiguration = value; }
275 inline void SetRetryPolicyConfiguration(RetryPolicyConfiguration&& value) { m_retryPolicyConfigurationHasBeenSet = true; m_retryPolicyConfiguration = std::move(value); }
279
281
284 inline const RetryPolicyExecution& GetRetryPolicyExecution() const{ return m_retryPolicyExecution; }
285 inline bool RetryPolicyExecutionHasBeenSet() const { return m_retryPolicyExecutionHasBeenSet; }
286 inline void SetRetryPolicyExecution(const RetryPolicyExecution& value) { m_retryPolicyExecutionHasBeenSet = true; m_retryPolicyExecution = value; }
287 inline void SetRetryPolicyExecution(RetryPolicyExecution&& value) { m_retryPolicyExecutionHasBeenSet = true; m_retryPolicyExecution = std::move(value); }
289 inline JobRun& WithRetryPolicyExecution(RetryPolicyExecution&& value) { SetRetryPolicyExecution(std::move(value)); return *this;}
291 private:
292
293 Aws::String m_id;
294 bool m_idHasBeenSet = false;
295
296 Aws::String m_name;
297 bool m_nameHasBeenSet = false;
298
299 Aws::String m_virtualClusterId;
300 bool m_virtualClusterIdHasBeenSet = false;
301
302 Aws::String m_arn;
303 bool m_arnHasBeenSet = false;
304
305 JobRunState m_state;
306 bool m_stateHasBeenSet = false;
307
308 Aws::String m_clientToken;
309 bool m_clientTokenHasBeenSet = false;
310
311 Aws::String m_executionRoleArn;
312 bool m_executionRoleArnHasBeenSet = false;
313
314 Aws::String m_releaseLabel;
315 bool m_releaseLabelHasBeenSet = false;
316
317 ConfigurationOverrides m_configurationOverrides;
318 bool m_configurationOverridesHasBeenSet = false;
319
320 JobDriver m_jobDriver;
321 bool m_jobDriverHasBeenSet = false;
322
323 Aws::Utils::DateTime m_createdAt;
324 bool m_createdAtHasBeenSet = false;
325
326 Aws::String m_createdBy;
327 bool m_createdByHasBeenSet = false;
328
329 Aws::Utils::DateTime m_finishedAt;
330 bool m_finishedAtHasBeenSet = false;
331
332 Aws::String m_stateDetails;
333 bool m_stateDetailsHasBeenSet = false;
334
335 FailureReason m_failureReason;
336 bool m_failureReasonHasBeenSet = false;
337
339 bool m_tagsHasBeenSet = false;
340
341 RetryPolicyConfiguration m_retryPolicyConfiguration;
342 bool m_retryPolicyConfigurationHasBeenSet = false;
343
344 RetryPolicyExecution m_retryPolicyExecution;
345 bool m_retryPolicyExecutionHasBeenSet = false;
346 };
347
348} // namespace Model
349} // namespace EMRContainers
350} // namespace Aws
JobRun & AddTags(Aws::String &&key, const Aws::String &value)
Definition JobRun.h:260
JobRun & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition JobRun.h:194
void SetExecutionRoleArn(const char *value)
Definition JobRun.h:140
const JobDriver & GetJobDriver() const
Definition JobRun.h:177
JobRun & AddTags(const char *key, Aws::String &&value)
Definition JobRun.h:263
void SetVirtualClusterId(const Aws::String &value)
Definition JobRun.h:84
void SetClientToken(const char *value)
Definition JobRun.h:126
void SetConfigurationOverrides(const ConfigurationOverrides &value)
Definition JobRun.h:167
bool RetryPolicyExecutionHasBeenSet() const
Definition JobRun.h:285
JobRun & WithVirtualClusterId(Aws::String &&value)
Definition JobRun.h:88
void SetStateDetails(Aws::String &&value)
Definition JobRun.h:230
JobRun & WithClientToken(const Aws::String &value)
Definition JobRun.h:127
JobRun & WithFinishedAt(Aws::Utils::DateTime &&value)
Definition JobRun.h:220
AWS_EMRCONTAINERS_API JobRun(Aws::Utils::Json::JsonView jsonValue)
void SetReleaseLabel(const Aws::String &value)
Definition JobRun.h:152
JobRun & WithJobDriver(JobDriver &&value)
Definition JobRun.h:182
void SetRetryPolicyExecution(const RetryPolicyExecution &value)
Definition JobRun.h:286
JobRun & WithJobDriver(const JobDriver &value)
Definition JobRun.h:181
JobRun & WithCreatedBy(const char *value)
Definition JobRun.h:208
JobRun & WithExecutionRoleArn(Aws::String &&value)
Definition JobRun.h:142
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition JobRun.h:191
void SetName(const char *value)
Definition JobRun.h:72
const Aws::Utils::DateTime & GetFinishedAt() const
Definition JobRun.h:215
JobRun & AddTags(const Aws::String &key, const Aws::String &value)
Definition JobRun.h:259
const Aws::String & GetCreatedBy() const
Definition JobRun.h:201
const Aws::Utils::DateTime & GetCreatedAt() const
Definition JobRun.h:189
void SetStateDetails(const Aws::String &value)
Definition JobRun.h:229
const FailureReason & GetFailureReason() const
Definition JobRun.h:241
JobRun & WithArn(const char *value)
Definition JobRun.h:103
JobRun & WithFinishedAt(const Aws::Utils::DateTime &value)
Definition JobRun.h:219
void SetFailureReason(FailureReason &&value)
Definition JobRun.h:244
void SetArn(Aws::String &&value)
Definition JobRun.h:99
void SetCreatedBy(const Aws::String &value)
Definition JobRun.h:203
void SetJobDriver(JobDriver &&value)
Definition JobRun.h:180
void SetArn(const char *value)
Definition JobRun.h:100
void SetReleaseLabel(Aws::String &&value)
Definition JobRun.h:153
const Aws::String & GetStateDetails() const
Definition JobRun.h:227
JobRun & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition JobRun.h:257
AWS_EMRCONTAINERS_API JobRun & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(Aws::String &&value)
Definition JobRun.h:71
const Aws::String & GetVirtualClusterId() const
Definition JobRun.h:82
void SetReleaseLabel(const char *value)
Definition JobRun.h:154
JobRun & WithName(const char *value)
Definition JobRun.h:75
void SetFinishedAt(const Aws::Utils::DateTime &value)
Definition JobRun.h:217
JobRun & WithReleaseLabel(Aws::String &&value)
Definition JobRun.h:156
const Aws::String & GetArn() const
Definition JobRun.h:96
JobRun & WithRetryPolicyExecution(const RetryPolicyExecution &value)
Definition JobRun.h:288
JobRun & WithState(JobRunState &&value)
Definition JobRun.h:115
const Aws::String & GetExecutionRoleArn() const
Definition JobRun.h:136
void SetJobDriver(const JobDriver &value)
Definition JobRun.h:179
JobRun & WithExecutionRoleArn(const Aws::String &value)
Definition JobRun.h:141
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition JobRun.h:256
void SetRetryPolicyConfiguration(const RetryPolicyConfiguration &value)
Definition JobRun.h:274
JobRun & WithArn(const Aws::String &value)
Definition JobRun.h:101
const ConfigurationOverrides & GetConfigurationOverrides() const
Definition JobRun.h:165
JobRun & WithFailureReason(const FailureReason &value)
Definition JobRun.h:245
void SetCreatedBy(const char *value)
Definition JobRun.h:205
void SetStateDetails(const char *value)
Definition JobRun.h:231
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition JobRun.h:253
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition JobRun.h:255
void SetState(const JobRunState &value)
Definition JobRun.h:112
JobRun & WithId(const char *value)
Definition JobRun.h:61
bool VirtualClusterIdHasBeenSet() const
Definition JobRun.h:83
const Aws::String & GetClientToken() const
Definition JobRun.h:122
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition JobRun.h:192
JobRun & WithState(const JobRunState &value)
Definition JobRun.h:114
void SetName(const Aws::String &value)
Definition JobRun.h:70
JobRun & WithRetryPolicyExecution(RetryPolicyExecution &&value)
Definition JobRun.h:289
bool ConfigurationOverridesHasBeenSet() const
Definition JobRun.h:166
JobRun & WithReleaseLabel(const char *value)
Definition JobRun.h:157
void SetClientToken(Aws::String &&value)
Definition JobRun.h:125
JobRun & WithName(const Aws::String &value)
Definition JobRun.h:73
void SetCreatedBy(Aws::String &&value)
Definition JobRun.h:204
bool ReleaseLabelHasBeenSet() const
Definition JobRun.h:151
void SetExecutionRoleArn(const Aws::String &value)
Definition JobRun.h:138
JobRun & AddTags(Aws::String &&key, const char *value)
Definition JobRun.h:264
void SetConfigurationOverrides(ConfigurationOverrides &&value)
Definition JobRun.h:168
JobRun & AddTags(const Aws::String &key, Aws::String &&value)
Definition JobRun.h:261
JobRun & WithCreatedBy(Aws::String &&value)
Definition JobRun.h:207
void SetVirtualClusterId(const char *value)
Definition JobRun.h:86
JobRun & WithStateDetails(Aws::String &&value)
Definition JobRun.h:233
JobRun & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition JobRun.h:258
const Aws::String & GetName() const
Definition JobRun.h:68
void SetState(JobRunState &&value)
Definition JobRun.h:113
JobRun & WithId(const Aws::String &value)
Definition JobRun.h:59
JobRun & WithExecutionRoleArn(const char *value)
Definition JobRun.h:143
JobRun & WithRetryPolicyConfiguration(const RetryPolicyConfiguration &value)
Definition JobRun.h:276
const Aws::String & GetReleaseLabel() const
Definition JobRun.h:150
bool RetryPolicyConfigurationHasBeenSet() const
Definition JobRun.h:273
JobRun & WithId(Aws::String &&value)
Definition JobRun.h:60
void SetRetryPolicyExecution(RetryPolicyExecution &&value)
Definition JobRun.h:287
void SetFailureReason(const FailureReason &value)
Definition JobRun.h:243
JobRun & WithArn(Aws::String &&value)
Definition JobRun.h:102
JobRun & WithFailureReason(FailureReason &&value)
Definition JobRun.h:246
void SetId(const char *value)
Definition JobRun.h:58
JobRun & WithClientToken(Aws::String &&value)
Definition JobRun.h:128
const RetryPolicyConfiguration & GetRetryPolicyConfiguration() const
Definition JobRun.h:272
void SetRetryPolicyConfiguration(RetryPolicyConfiguration &&value)
Definition JobRun.h:275
JobRun & AddTags(Aws::String &&key, Aws::String &&value)
Definition JobRun.h:262
JobRun & WithClientToken(const char *value)
Definition JobRun.h:129
JobRun & WithRetryPolicyConfiguration(RetryPolicyConfiguration &&value)
Definition JobRun.h:277
void SetVirtualClusterId(Aws::String &&value)
Definition JobRun.h:85
JobRun & WithVirtualClusterId(const char *value)
Definition JobRun.h:89
JobRun & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition JobRun.h:193
void SetId(const Aws::String &value)
Definition JobRun.h:56
JobRun & AddTags(const char *key, const char *value)
Definition JobRun.h:265
const Aws::String & GetId() const
Definition JobRun.h:54
JobRun & WithReleaseLabel(const Aws::String &value)
Definition JobRun.h:155
JobRun & WithCreatedBy(const Aws::String &value)
Definition JobRun.h:206
bool FailureReasonHasBeenSet() const
Definition JobRun.h:242
JobRun & WithVirtualClusterId(const Aws::String &value)
Definition JobRun.h:87
JobRun & WithStateDetails(const Aws::String &value)
Definition JobRun.h:232
JobRun & WithConfigurationOverrides(ConfigurationOverrides &&value)
Definition JobRun.h:170
const RetryPolicyExecution & GetRetryPolicyExecution() const
Definition JobRun.h:284
void SetExecutionRoleArn(Aws::String &&value)
Definition JobRun.h:139
JobRun & WithName(Aws::String &&value)
Definition JobRun.h:74
void SetFinishedAt(Aws::Utils::DateTime &&value)
Definition JobRun.h:218
JobRun & WithStateDetails(const char *value)
Definition JobRun.h:234
bool StateDetailsHasBeenSet() const
Definition JobRun.h:228
void SetClientToken(const Aws::String &value)
Definition JobRun.h:124
void SetArn(const Aws::String &value)
Definition JobRun.h:98
JobRun & WithConfigurationOverrides(const ConfigurationOverrides &value)
Definition JobRun.h:169
void SetId(Aws::String &&value)
Definition JobRun.h:57
const JobRunState & GetState() const
Definition JobRun.h:110
AWS_EMRCONTAINERS_API JobRun()
bool ExecutionRoleArnHasBeenSet() const
Definition JobRun.h:137
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