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/StepAdditionalInfo.h>
12#include <aws/elasticmapreduce/model/StepStatus.h>
33 AWS_EMR_API
Step() =
default;
44 template <
typename IdT = Aws::String>
46 m_idHasBeenSet =
true;
47 m_id = std::forward<IdT>(value);
49 template <
typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
62 template <
typename NameT = Aws::String>
64 m_nameHasBeenSet =
true;
65 m_name = std::forward<NameT>(value);
67 template <
typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
80 template <
typename ConfigT = HadoopStepConfig>
82 m_configHasBeenSet =
true;
83 m_config = std::forward<ConfigT>(value);
85 template <
typename ConfigT = HadoopStepConfig>
113 m_actionOnFailureHasBeenSet =
true;
114 m_actionOnFailure = value;
128 template <
typename StatusT = StepStatus>
130 m_statusHasBeenSet =
true;
131 m_status = std::forward<StatusT>(value);
133 template <
typename StatusT = StepStatus>
151 template <
typename ExecutionRoleArnT = Aws::String>
153 m_executionRoleArnHasBeenSet =
true;
154 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
156 template <
typename ExecutionRoleArnT = Aws::String>
169 template <
typename LogUriT = Aws::String>
171 m_logUriHasBeenSet =
true;
172 m_logUri = std::forward<LogUriT>(value);
174 template <
typename LogUriT = Aws::String>
188 template <
typename EncryptionKeyArnT = Aws::String>
190 m_encryptionKeyArnHasBeenSet =
true;
191 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
193 template <
typename EncryptionKeyArnT = Aws::String>
207 template <
typename AdditionalInfoT = StepAdditionalInfo>
209 m_additionalInfoHasBeenSet =
true;
210 m_additionalInfo = std::forward<AdditionalInfoT>(value);
212 template <
typename AdditionalInfoT = StepAdditionalInfo>
235 StepAdditionalInfo m_additionalInfo;
236 bool m_idHasBeenSet =
false;
237 bool m_nameHasBeenSet =
false;
238 bool m_configHasBeenSet =
false;
239 bool m_actionOnFailureHasBeenSet =
false;
240 bool m_statusHasBeenSet =
false;
241 bool m_executionRoleArnHasBeenSet =
false;
242 bool m_logUriHasBeenSet =
false;
243 bool m_encryptionKeyArnHasBeenSet =
false;
244 bool m_additionalInfoHasBeenSet =
false;
Step & WithId(IdT &&value)
Step & WithAdditionalInfo(AdditionalInfoT &&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)
const StepAdditionalInfo & GetAdditionalInfo() const
bool NameHasBeenSet() const
Step & WithConfig(ConfigT &&value)
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
void SetConfig(ConfigT &&value)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
bool ActionOnFailureHasBeenSet() const
bool AdditionalInfoHasBeenSet() 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
void SetAdditionalInfo(AdditionalInfoT &&value)
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