7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticmapreduce/EMR_EXPORTS.h>
10#include <aws/elasticmapreduce/model/KeyValue.h>
45 template <
typename PropertiesT = Aws::Vector<KeyValue>>
47 m_propertiesHasBeenSet =
true;
48 m_properties = std::forward<PropertiesT>(value);
50 template <
typename PropertiesT = Aws::Vector<KeyValue>>
55 template <
typename PropertiesT = KeyValue>
57 m_propertiesHasBeenSet =
true;
58 m_properties.emplace_back(std::forward<PropertiesT>(value));
69 template <
typename JarT = Aws::String>
71 m_jarHasBeenSet =
true;
72 m_jar = std::forward<JarT>(value);
74 template <
typename JarT = Aws::String>
76 SetJar(std::forward<JarT>(value));
88 template <
typename MainClassT = Aws::String>
90 m_mainClassHasBeenSet =
true;
91 m_mainClass = std::forward<MainClassT>(value);
93 template <
typename MainClassT = Aws::String>
107 template <
typename ArgsT = Aws::Vector<Aws::String>>
109 m_argsHasBeenSet =
true;
110 m_args = std::forward<ArgsT>(value);
112 template <
typename ArgsT = Aws::Vector<Aws::String>>
114 SetArgs(std::forward<ArgsT>(value));
117 template <
typename ArgsT = Aws::String>
119 m_argsHasBeenSet =
true;
120 m_args.emplace_back(std::forward<ArgsT>(value));
132 bool m_propertiesHasBeenSet =
false;
133 bool m_jarHasBeenSet =
false;
134 bool m_mainClassHasBeenSet =
false;
135 bool m_argsHasBeenSet =
false;
void SetProperties(PropertiesT &&value)
AWS_EMR_API HadoopJarStepConfig(Aws::Utils::Json::JsonView jsonValue)
HadoopJarStepConfig & WithArgs(ArgsT &&value)
bool ArgsHasBeenSet() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
HadoopJarStepConfig & WithJar(JarT &&value)
AWS_EMR_API HadoopJarStepConfig()=default
const Aws::String & GetMainClass() const
const Aws::Vector< Aws::String > & GetArgs() const
void SetMainClass(MainClassT &&value)
HadoopJarStepConfig & AddArgs(ArgsT &&value)
bool MainClassHasBeenSet() const
bool PropertiesHasBeenSet() const
const Aws::Vector< KeyValue > & GetProperties() const
bool JarHasBeenSet() const
HadoopJarStepConfig & WithProperties(PropertiesT &&value)
AWS_EMR_API HadoopJarStepConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArgs(ArgsT &&value)
void SetJar(JarT &&value)
HadoopJarStepConfig & AddProperties(PropertiesT &&value)
HadoopJarStepConfig & WithMainClass(MainClassT &&value)
const Aws::String & GetJar() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue