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>
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>
97 template<
typename StatusT = StepStatus>
98 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
99 template<
typename StatusT = StepStatus>
105 bool m_idHasBeenSet =
false;
108 bool m_nameHasBeenSet =
false;
111 bool m_configHasBeenSet =
false;
114 bool m_actionOnFailureHasBeenSet =
false;
117 bool m_statusHasBeenSet =
false;
const Aws::String & GetId() const
AWS_EMR_API StepSummary()=default
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
ActionOnFailure GetActionOnFailure() const
const StepStatus & GetStatus() const
StepSummary & WithConfig(ConfigT &&value)
const Aws::String & GetName() const
void SetName(NameT &&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 StatusHasBeenSet() 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