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>
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>
100 m_actionOnFailureHasBeenSet =
true;
101 m_actionOnFailure = value;
115 template <
typename StatusT = StepStatus>
117 m_statusHasBeenSet =
true;
118 m_status = std::forward<StatusT>(value);
120 template <
typename StatusT = StepStatus>
133 template <
typename LogUriT = Aws::String>
135 m_logUriHasBeenSet =
true;
136 m_logUri = std::forward<LogUriT>(value);
138 template <
typename LogUriT = Aws::String>
152 template <
typename EncryptionKeyArnT = Aws::String>
154 m_encryptionKeyArnHasBeenSet =
true;
155 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
157 template <
typename EncryptionKeyArnT = Aws::String>
177 bool m_idHasBeenSet =
false;
178 bool m_nameHasBeenSet =
false;
179 bool m_configHasBeenSet =
false;
180 bool m_actionOnFailureHasBeenSet =
false;
181 bool m_statusHasBeenSet =
false;
182 bool m_logUriHasBeenSet =
false;
183 bool m_encryptionKeyArnHasBeenSet =
false;
StepSummary & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
const Aws::String & GetEncryptionKeyArn() const
const Aws::String & GetId() const
AWS_EMR_API StepSummary()=default
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLogUri(LogUriT &&value)
ActionOnFailure GetActionOnFailure() const
StepSummary & WithLogUri(LogUriT &&value)
const StepStatus & GetStatus() const
StepSummary & WithConfig(ConfigT &&value)
const Aws::String & GetName() const
void SetName(NameT &&value)
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
StepSummary & WithActionOnFailure(ActionOnFailure value)
void SetActionOnFailure(ActionOnFailure value)
bool ActionOnFailureHasBeenSet() const
AWS_EMR_API StepSummary(Aws::Utils::Json::JsonView jsonValue)
StepSummary & WithId(IdT &&value)
AWS_EMR_API StepSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(StatusT &&value)
bool NameHasBeenSet() const
bool ConfigHasBeenSet() const
StepSummary & WithStatus(StatusT &&value)
StepSummary & WithName(NameT &&value)
bool EncryptionKeyArnHasBeenSet() const
const Aws::String & GetLogUri() const
bool StatusHasBeenSet() const
bool LogUriHasBeenSet() const
void SetConfig(ConfigT &&value)
bool IdHasBeenSet() const
const HadoopStepConfig & GetConfig() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue