7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/emr-containers/EMRContainersRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/emr-containers/model/JobDriver.h>
11#include <aws/emr-containers/model/ConfigurationOverrides.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/emr-containers/model/RetryPolicyConfiguration.h>
15#include <aws/core/utils/UUID.h>
19namespace EMRContainers
48 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
62 inline void SetVirtualClusterId(
const char* value) { m_virtualClusterIdHasBeenSet =
true; m_virtualClusterId.assign(value); }
76 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
90 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
104 inline void SetReleaseLabel(
const char* value) { m_releaseLabelHasBeenSet =
true; m_releaseLabel.assign(value); }
150 inline StartJobRunRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
161 inline void SetJobTemplateId(
const char* value) { m_jobTemplateIdHasBeenSet =
true; m_jobTemplateId.assign(value); }
200 bool m_nameHasBeenSet =
false;
203 bool m_virtualClusterIdHasBeenSet =
false;
206 bool m_clientTokenHasBeenSet =
false;
209 bool m_executionRoleArnHasBeenSet =
false;
212 bool m_releaseLabelHasBeenSet =
false;
215 bool m_jobDriverHasBeenSet =
false;
218 bool m_configurationOverridesHasBeenSet =
false;
221 bool m_tagsHasBeenSet =
false;
224 bool m_jobTemplateIdHasBeenSet =
false;
227 bool m_jobTemplateParametersHasBeenSet =
false;
230 bool m_retryPolicyConfigurationHasBeenSet =
false;
void SetJobTemplateId(const char *value)
StartJobRunRequest & WithRetryPolicyConfiguration(const RetryPolicyConfiguration &value)
StartJobRunRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StartJobRunRequest & AddJobTemplateParameters(const Aws::String &key, Aws::String &&value)
void SetClientToken(const char *value)
StartJobRunRequest & AddJobTemplateParameters(const char *key, const char *value)
void SetConfigurationOverrides(ConfigurationOverrides &&value)
void SetReleaseLabel(const Aws::String &value)
StartJobRunRequest & AddJobTemplateParameters(Aws::String &&key, Aws::String &&value)
const Aws::String & GetClientToken() const
bool JobTemplateIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetVirtualClusterId(const Aws::String &value)
StartJobRunRequest & AddJobTemplateParameters(const Aws::String &key, const Aws::String &value)
void SetExecutionRoleArn(const char *value)
StartJobRunRequest & WithExecutionRoleArn(const Aws::String &value)
void SetExecutionRoleArn(Aws::String &&value)
void SetJobDriver(JobDriver &&value)
bool ClientTokenHasBeenSet() const
StartJobRunRequest & WithRetryPolicyConfiguration(RetryPolicyConfiguration &&value)
void SetRetryPolicyConfiguration(RetryPolicyConfiguration &&value)
StartJobRunRequest & WithJobDriver(const JobDriver &value)
StartJobRunRequest & AddJobTemplateParameters(Aws::String &&key, const Aws::String &value)
void SetVirtualClusterId(const char *value)
bool ExecutionRoleArnHasBeenSet() const
StartJobRunRequest & WithExecutionRoleArn(const char *value)
StartJobRunRequest & WithName(Aws::String &&value)
void SetJobTemplateId(Aws::String &&value)
const Aws::String & GetName() const
StartJobRunRequest & AddTags(Aws::String &&key, Aws::String &&value)
StartJobRunRequest & WithName(const Aws::String &value)
void SetName(const char *value)
const Aws::String & GetExecutionRoleArn() const
void SetJobTemplateParameters(Aws::Map< Aws::String, Aws::String > &&value)
StartJobRunRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
StartJobRunRequest & WithJobTemplateId(const Aws::String &value)
bool JobTemplateParametersHasBeenSet() const
StartJobRunRequest & WithJobDriver(JobDriver &&value)
void SetName(const Aws::String &value)
StartJobRunRequest & WithClientToken(Aws::String &&value)
void SetConfigurationOverrides(const ConfigurationOverrides &value)
void SetReleaseLabel(Aws::String &&value)
StartJobRunRequest & WithClientToken(const Aws::String &value)
StartJobRunRequest & WithJobTemplateParameters(const Aws::Map< Aws::String, Aws::String > &value)
StartJobRunRequest & WithVirtualClusterId(const Aws::String &value)
StartJobRunRequest & WithExecutionRoleArn(Aws::String &&value)
StartJobRunRequest & WithReleaseLabel(const Aws::String &value)
void SetReleaseLabel(const char *value)
StartJobRunRequest & WithVirtualClusterId(const char *value)
const Aws::String & GetVirtualClusterId() const
const RetryPolicyConfiguration & GetRetryPolicyConfiguration() const
StartJobRunRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetExecutionRoleArn(const Aws::String &value)
bool ReleaseLabelHasBeenSet() const
StartJobRunRequest & WithName(const char *value)
bool RetryPolicyConfigurationHasBeenSet() const
void SetJobTemplateParameters(const Aws::Map< Aws::String, Aws::String > &value)
const ConfigurationOverrides & GetConfigurationOverrides() const
StartJobRunRequest & WithJobTemplateId(const char *value)
AWS_EMRCONTAINERS_API StartJobRunRequest()
bool VirtualClusterIdHasBeenSet() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
StartJobRunRequest & WithReleaseLabel(Aws::String &&value)
StartJobRunRequest & AddTags(const Aws::String &key, const Aws::String &value)
bool TagsHasBeenSet() const
void SetJobDriver(const JobDriver &value)
StartJobRunRequest & WithJobTemplateId(Aws::String &&value)
bool ConfigurationOverridesHasBeenSet() const
StartJobRunRequest & AddJobTemplateParameters(Aws::String &&key, const char *value)
AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override
StartJobRunRequest & WithVirtualClusterId(Aws::String &&value)
StartJobRunRequest & AddTags(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetJobTemplateParameters() const
StartJobRunRequest & WithReleaseLabel(const char *value)
const Aws::String & GetReleaseLabel() const
void SetClientToken(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool NameHasBeenSet() const
const JobDriver & GetJobDriver() const
void SetVirtualClusterId(Aws::String &&value)
void SetName(Aws::String &&value)
bool JobDriverHasBeenSet() const
void SetJobTemplateId(const Aws::String &value)
StartJobRunRequest & WithJobTemplateParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetRetryPolicyConfiguration(const RetryPolicyConfiguration &value)
StartJobRunRequest & AddTags(const char *key, const char *value)
const Aws::String & GetJobTemplateId() const
StartJobRunRequest & AddJobTemplateParameters(const char *key, Aws::String &&value)
StartJobRunRequest & WithClientToken(const char *value)
StartJobRunRequest & AddTags(const Aws::String &key, Aws::String &&value)
StartJobRunRequest & WithConfigurationOverrides(const ConfigurationOverrides &value)
void SetClientToken(Aws::String &&value)
StartJobRunRequest & AddTags(Aws::String &&key, const char *value)
StartJobRunRequest & WithConfigurationOverrides(ConfigurationOverrides &&value)
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