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>
29namespace EMRContainers
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); }
72 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
86 inline void SetVirtualClusterId(
const char* value) { m_virtualClusterIdHasBeenSet =
true; m_virtualClusterId.assign(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); }
126 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
140 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
154 inline void SetReleaseLabel(
const char* value) { m_releaseLabelHasBeenSet =
true; m_releaseLabel.assign(value); }
205 inline void SetCreatedBy(
const char* value) { m_createdByHasBeenSet =
true; m_createdBy.assign(value); }
231 inline void SetStateDetails(
const char* value) { m_stateDetailsHasBeenSet =
true; m_stateDetails.assign(value); }
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; }
294 bool m_idHasBeenSet =
false;
297 bool m_nameHasBeenSet =
false;
300 bool m_virtualClusterIdHasBeenSet =
false;
303 bool m_arnHasBeenSet =
false;
306 bool m_stateHasBeenSet =
false;
309 bool m_clientTokenHasBeenSet =
false;
312 bool m_executionRoleArnHasBeenSet =
false;
315 bool m_releaseLabelHasBeenSet =
false;
318 bool m_configurationOverridesHasBeenSet =
false;
321 bool m_jobDriverHasBeenSet =
false;
324 bool m_createdAtHasBeenSet =
false;
327 bool m_createdByHasBeenSet =
false;
330 bool m_finishedAtHasBeenSet =
false;
333 bool m_stateDetailsHasBeenSet =
false;
336 bool m_failureReasonHasBeenSet =
false;
339 bool m_tagsHasBeenSet =
false;
342 bool m_retryPolicyConfigurationHasBeenSet =
false;
345 bool m_retryPolicyExecutionHasBeenSet =
false;
JobRun & AddTags(Aws::String &&key, const Aws::String &value)
JobRun & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetExecutionRoleArn(const char *value)
const JobDriver & GetJobDriver() const
bool StateHasBeenSet() const
JobRun & AddTags(const char *key, Aws::String &&value)
void SetVirtualClusterId(const Aws::String &value)
void SetClientToken(const char *value)
void SetConfigurationOverrides(const ConfigurationOverrides &value)
bool CreatedAtHasBeenSet() const
bool RetryPolicyExecutionHasBeenSet() const
JobRun & WithVirtualClusterId(Aws::String &&value)
void SetStateDetails(Aws::String &&value)
JobRun & WithClientToken(const Aws::String &value)
JobRun & WithFinishedAt(Aws::Utils::DateTime &&value)
AWS_EMRCONTAINERS_API JobRun(Aws::Utils::Json::JsonView jsonValue)
void SetReleaseLabel(const Aws::String &value)
JobRun & WithJobDriver(JobDriver &&value)
void SetRetryPolicyExecution(const RetryPolicyExecution &value)
JobRun & WithJobDriver(const JobDriver &value)
JobRun & WithCreatedBy(const char *value)
JobRun & WithExecutionRoleArn(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetName(const char *value)
const Aws::Utils::DateTime & GetFinishedAt() const
JobRun & AddTags(const Aws::String &key, const Aws::String &value)
bool IdHasBeenSet() const
bool TagsHasBeenSet() const
const Aws::String & GetCreatedBy() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetStateDetails(const Aws::String &value)
const FailureReason & GetFailureReason() const
JobRun & WithArn(const char *value)
JobRun & WithFinishedAt(const Aws::Utils::DateTime &value)
void SetFailureReason(FailureReason &&value)
void SetArn(Aws::String &&value)
void SetCreatedBy(const Aws::String &value)
void SetJobDriver(JobDriver &&value)
void SetArn(const char *value)
void SetReleaseLabel(Aws::String &&value)
const Aws::String & GetStateDetails() const
JobRun & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_EMRCONTAINERS_API JobRun & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(Aws::String &&value)
const Aws::String & GetVirtualClusterId() const
void SetReleaseLabel(const char *value)
JobRun & WithName(const char *value)
void SetFinishedAt(const Aws::Utils::DateTime &value)
JobRun & WithReleaseLabel(Aws::String &&value)
const Aws::String & GetArn() const
JobRun & WithRetryPolicyExecution(const RetryPolicyExecution &value)
JobRun & WithState(JobRunState &&value)
const Aws::String & GetExecutionRoleArn() const
void SetJobDriver(const JobDriver &value)
JobRun & WithExecutionRoleArn(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetRetryPolicyConfiguration(const RetryPolicyConfiguration &value)
JobRun & WithArn(const Aws::String &value)
const ConfigurationOverrides & GetConfigurationOverrides() const
JobRun & WithFailureReason(const FailureReason &value)
void SetCreatedBy(const char *value)
void SetStateDetails(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetState(const JobRunState &value)
JobRun & WithId(const char *value)
bool VirtualClusterIdHasBeenSet() const
const Aws::String & GetClientToken() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
JobRun & WithState(const JobRunState &value)
bool NameHasBeenSet() const
void SetName(const Aws::String &value)
JobRun & WithRetryPolicyExecution(RetryPolicyExecution &&value)
bool ConfigurationOverridesHasBeenSet() const
JobRun & WithReleaseLabel(const char *value)
void SetClientToken(Aws::String &&value)
JobRun & WithName(const Aws::String &value)
void SetCreatedBy(Aws::String &&value)
bool ReleaseLabelHasBeenSet() const
void SetExecutionRoleArn(const Aws::String &value)
JobRun & AddTags(Aws::String &&key, const char *value)
void SetConfigurationOverrides(ConfigurationOverrides &&value)
bool FinishedAtHasBeenSet() const
JobRun & AddTags(const Aws::String &key, Aws::String &&value)
bool CreatedByHasBeenSet() const
JobRun & WithCreatedBy(Aws::String &&value)
void SetVirtualClusterId(const char *value)
bool ClientTokenHasBeenSet() const
JobRun & WithStateDetails(Aws::String &&value)
JobRun & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetName() const
void SetState(JobRunState &&value)
JobRun & WithId(const Aws::String &value)
JobRun & WithExecutionRoleArn(const char *value)
JobRun & WithRetryPolicyConfiguration(const RetryPolicyConfiguration &value)
const Aws::String & GetReleaseLabel() const
bool RetryPolicyConfigurationHasBeenSet() const
JobRun & WithId(Aws::String &&value)
void SetRetryPolicyExecution(RetryPolicyExecution &&value)
void SetFailureReason(const FailureReason &value)
JobRun & WithArn(Aws::String &&value)
JobRun & WithFailureReason(FailureReason &&value)
void SetId(const char *value)
JobRun & WithClientToken(Aws::String &&value)
const RetryPolicyConfiguration & GetRetryPolicyConfiguration() const
void SetRetryPolicyConfiguration(RetryPolicyConfiguration &&value)
bool JobDriverHasBeenSet() const
JobRun & AddTags(Aws::String &&key, Aws::String &&value)
JobRun & WithClientToken(const char *value)
JobRun & WithRetryPolicyConfiguration(RetryPolicyConfiguration &&value)
void SetVirtualClusterId(Aws::String &&value)
bool ArnHasBeenSet() const
JobRun & WithVirtualClusterId(const char *value)
JobRun & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetId(const Aws::String &value)
JobRun & AddTags(const char *key, const char *value)
const Aws::String & GetId() const
JobRun & WithReleaseLabel(const Aws::String &value)
JobRun & WithCreatedBy(const Aws::String &value)
bool FailureReasonHasBeenSet() const
JobRun & WithVirtualClusterId(const Aws::String &value)
JobRun & WithStateDetails(const Aws::String &value)
JobRun & WithConfigurationOverrides(ConfigurationOverrides &&value)
const RetryPolicyExecution & GetRetryPolicyExecution() const
void SetExecutionRoleArn(Aws::String &&value)
JobRun & WithName(Aws::String &&value)
void SetFinishedAt(Aws::Utils::DateTime &&value)
JobRun & WithStateDetails(const char *value)
bool StateDetailsHasBeenSet() const
void SetClientToken(const Aws::String &value)
void SetArn(const Aws::String &value)
JobRun & WithConfigurationOverrides(const ConfigurationOverrides &value)
void SetId(Aws::String &&value)
const JobRunState & GetState() const
AWS_EMRCONTAINERS_API JobRun()
bool ExecutionRoleArnHasBeenSet() const
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