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/HadoopJarStepConfig.h>
11#include <aws/elasticmapreduce/model/StepMonitoringConfiguration.h>
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
80 m_actionOnFailureHasBeenSet =
true;
81 m_actionOnFailure = value;
95 template <
typename HadoopJarStepT = HadoopJarStepConfig>
97 m_hadoopJarStepHasBeenSet =
true;
98 m_hadoopJarStep = std::forward<HadoopJarStepT>(value);
100 template <
typename HadoopJarStepT = HadoopJarStepConfig>
113 template <
typename StepMonitoringConfigurationT = StepMonitoringConfiguration>
115 m_stepMonitoringConfigurationHasBeenSet =
true;
116 m_stepMonitoringConfiguration = std::forward<StepMonitoringConfigurationT>(value);
118 template <
typename StepMonitoringConfigurationT = StepMonitoringConfiguration>
129 HadoopJarStepConfig m_hadoopJarStep;
131 StepMonitoringConfiguration m_stepMonitoringConfiguration;
132 bool m_nameHasBeenSet =
false;
133 bool m_actionOnFailureHasBeenSet =
false;
134 bool m_hadoopJarStepHasBeenSet =
false;
135 bool m_stepMonitoringConfigurationHasBeenSet =
false;
void SetActionOnFailure(ActionOnFailure value)
bool ActionOnFailureHasBeenSet() const
AWS_EMR_API StepConfig(Aws::Utils::Json::JsonView jsonValue)
void SetHadoopJarStep(HadoopJarStepT &&value)
StepConfig & WithName(NameT &&value)
ActionOnFailure GetActionOnFailure() const
AWS_EMR_API StepConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool HadoopJarStepHasBeenSet() const
StepConfig & WithActionOnFailure(ActionOnFailure value)
const StepMonitoringConfiguration & GetStepMonitoringConfiguration() const
StepConfig & WithHadoopJarStep(HadoopJarStepT &&value)
const HadoopJarStepConfig & GetHadoopJarStep() const
void SetName(NameT &&value)
bool NameHasBeenSet() const
bool StepMonitoringConfigurationHasBeenSet() const
AWS_EMR_API StepConfig()=default
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
StepConfig & WithStepMonitoringConfiguration(StepMonitoringConfigurationT &&value)
void SetStepMonitoringConfiguration(StepMonitoringConfigurationT &&value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue