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>
37 AWS_EMR_API
Step() =
default;
49 template<
typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
51 template<
typename IdT = Aws::String>
61 template<
typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
63 template<
typename NameT = Aws::String>
73 template<
typename ConfigT = HadoopStepConfig>
74 void SetConfig(ConfigT&& value) { m_configHasBeenSet =
true; m_config = std::forward<ConfigT>(value); }
75 template<
typename ConfigT = HadoopStepConfig>
109 template<
typename StatusT = StepStatus>
110 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
111 template<
typename StatusT = StepStatus>
126 template<
typename ExecutionRoleArnT = Aws::String>
127 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
128 template<
typename ExecutionRoleArnT = Aws::String>
134 bool m_idHasBeenSet =
false;
137 bool m_nameHasBeenSet =
false;
140 bool m_configHasBeenSet =
false;
143 bool m_actionOnFailureHasBeenSet =
false;
146 bool m_statusHasBeenSet =
false;
149 bool m_executionRoleArnHasBeenSet =
false;
Step & WithId(IdT &&value)
const StepStatus & GetStatus() const
Step & WithActionOnFailure(ActionOnFailure value)
void SetName(NameT &&value)
AWS_EMR_API Step(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API Step()=default
void SetActionOnFailure(ActionOnFailure value)
Step & WithExecutionRoleArn(ExecutionRoleArnT &&value)
bool NameHasBeenSet() const
Step & WithConfig(ConfigT &&value)
void SetConfig(ConfigT &&value)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
bool ActionOnFailureHasBeenSet() const
AWS_EMR_API Step & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ExecutionRoleArnHasBeenSet() const
bool ConfigHasBeenSet() const
Step & WithName(NameT &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
Step & WithStatus(StatusT &&value)
bool IdHasBeenSet() const
const Aws::String & GetName() const
void SetStatus(StatusT &&value)
const Aws::String & GetExecutionRoleArn() const
bool StatusHasBeenSet() const
ActionOnFailure GetActionOnFailure() const
const Aws::String & GetId() const
const HadoopStepConfig & GetConfig() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue