7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticmapreduce/EMR_EXPORTS.h>
44 template <
typename JarT = Aws::String>
46 m_jarHasBeenSet =
true;
47 m_jar = std::forward<JarT>(value);
49 template <
typename JarT = Aws::String>
51 SetJar(std::forward<JarT>(value));
63 template <
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
65 m_propertiesHasBeenSet =
true;
66 m_properties = std::forward<PropertiesT>(value);
68 template <
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
73 template <
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = Aws::String>
75 m_propertiesHasBeenSet =
true;
76 m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(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_jarHasBeenSet =
false;
133 bool m_propertiesHasBeenSet =
false;
134 bool m_mainClassHasBeenSet =
false;
135 bool m_argsHasBeenSet =
false;
AWS_EMR_API HadoopStepConfig()=default
bool MainClassHasBeenSet() const
void SetJar(JarT &&value)
HadoopStepConfig & WithJar(JarT &&value)
void SetProperties(PropertiesT &&value)
void SetMainClass(MainClassT &&value)
bool JarHasBeenSet() const
void SetArgs(ArgsT &&value)
AWS_EMR_API HadoopStepConfig(Aws::Utils::Json::JsonView jsonValue)
HadoopStepConfig & WithProperties(PropertiesT &&value)
const Aws::String & GetJar() const
AWS_EMR_API HadoopStepConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
HadoopStepConfig & WithArgs(ArgsT &&value)
const Aws::String & GetMainClass() const
HadoopStepConfig & AddArgs(ArgsT &&value)
bool ArgsHasBeenSet() const
HadoopStepConfig & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
bool PropertiesHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
const Aws::Vector< Aws::String > & GetArgs() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
HadoopStepConfig & WithMainClass(MainClassT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue