7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticmapreduce/model/HadoopStepConfig.h>
10#include <aws/elasticmapreduce/model/ActionOnFailure.h>
11#include <aws/elasticmapreduce/model/StepStatus.h>
50 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
51 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
65 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
134 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
142 bool m_idHasBeenSet =
false;
145 bool m_nameHasBeenSet =
false;
148 bool m_configHasBeenSet =
false;
151 bool m_actionOnFailureHasBeenSet =
false;
154 bool m_statusHasBeenSet =
false;
157 bool m_executionRoleArnHasBeenSet =
false;
Step & WithStatus(StepStatus &&value)
const StepStatus & GetStatus() const
Step & WithExecutionRoleArn(const char *value)
AWS_EMR_API Step(Aws::Utils::Json::JsonView jsonValue)
Step & WithExecutionRoleArn(Aws::String &&value)
Step & WithName(const char *value)
void SetId(const char *value)
const ActionOnFailure & GetActionOnFailure() const
Step & WithId(const char *value)
void SetActionOnFailure(ActionOnFailure &&value)
void SetName(const char *value)
void SetActionOnFailure(const ActionOnFailure &value)
bool NameHasBeenSet() const
void SetId(Aws::String &&value)
void SetName(Aws::String &&value)
bool ActionOnFailureHasBeenSet() const
void SetConfig(HadoopStepConfig &&value)
AWS_EMR_API Step & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(StepStatus &&value)
Step & WithConfig(HadoopStepConfig &&value)
void SetExecutionRoleArn(Aws::String &&value)
bool ExecutionRoleArnHasBeenSet() const
Step & WithName(Aws::String &&value)
Step & WithName(const Aws::String &value)
Step & WithId(Aws::String &&value)
bool ConfigHasBeenSet() const
Step & WithId(const Aws::String &value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConfig(const HadoopStepConfig &value)
void SetName(const Aws::String &value)
void SetStatus(const StepStatus &value)
bool IdHasBeenSet() const
const Aws::String & GetName() const
void SetExecutionRoleArn(const char *value)
const Aws::String & GetExecutionRoleArn() const
void SetId(const Aws::String &value)
bool StatusHasBeenSet() const
Step & WithExecutionRoleArn(const Aws::String &value)
Step & WithActionOnFailure(const ActionOnFailure &value)
Step & WithActionOnFailure(ActionOnFailure &&value)
Step & WithConfig(const HadoopStepConfig &value)
const Aws::String & GetId() const
Step & WithStatus(const StepStatus &value)
const HadoopStepConfig & GetConfig() const
void SetExecutionRoleArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue