7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticmapreduce/EMR_EXPORTS.h>
9#include <aws/elasticmapreduce/model/ActionOnFailure.h>
10#include <aws/elasticmapreduce/model/HadoopStepConfig.h>
11#include <aws/elasticmapreduce/model/StepStatus.h>
32 AWS_EMR_API
Step() =
default;
43 template <
typename IdT = Aws::String>
45 m_idHasBeenSet =
true;
46 m_id = std::forward<IdT>(value);
48 template <
typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
61 template <
typename NameT = Aws::String>
63 m_nameHasBeenSet =
true;
64 m_name = std::forward<NameT>(value);
66 template <
typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
79 template <
typename ConfigT = HadoopStepConfig>
81 m_configHasBeenSet =
true;
82 m_config = std::forward<ConfigT>(value);
84 template <
typename ConfigT = HadoopStepConfig>
112 m_actionOnFailureHasBeenSet =
true;
113 m_actionOnFailure = value;
127 template <
typename StatusT = StepStatus>
129 m_statusHasBeenSet =
true;
130 m_status = std::forward<StatusT>(value);
132 template <
typename StatusT = StepStatus>
150 template <
typename ExecutionRoleArnT = Aws::String>
152 m_executionRoleArnHasBeenSet =
true;
153 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
155 template <
typename ExecutionRoleArnT = Aws::String>
168 template <
typename LogUriT = Aws::String>
170 m_logUriHasBeenSet =
true;
171 m_logUri = std::forward<LogUriT>(value);
173 template <
typename LogUriT = Aws::String>
187 template <
typename EncryptionKeyArnT = Aws::String>
189 m_encryptionKeyArnHasBeenSet =
true;
190 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
192 template <
typename EncryptionKeyArnT = Aws::String>
214 bool m_idHasBeenSet =
false;
215 bool m_nameHasBeenSet =
false;
216 bool m_configHasBeenSet =
false;
217 bool m_actionOnFailureHasBeenSet =
false;
218 bool m_statusHasBeenSet =
false;
219 bool m_executionRoleArnHasBeenSet =
false;
220 bool m_logUriHasBeenSet =
false;
221 bool m_encryptionKeyArnHasBeenSet =
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 SetEncryptionKeyArn(EncryptionKeyArnT &&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
Step & WithLogUri(LogUriT &&value)
bool ConfigHasBeenSet() const
Step & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
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
const Aws::String & GetLogUri() const
bool StatusHasBeenSet() const
ActionOnFailure GetActionOnFailure() const
bool EncryptionKeyArnHasBeenSet() const
const Aws::String & GetEncryptionKeyArn() const
const Aws::String & GetId() const
void SetLogUri(LogUriT &&value)
const HadoopStepConfig & GetConfig() const
bool LogUriHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue