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>
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
60 template <
typename ScriptPathT = Aws::String>
62 m_scriptPathHasBeenSet =
true;
63 m_scriptPath = std::forward<ScriptPathT>(value);
65 template <
typename ScriptPathT = Aws::String>
78 template <
typename ArgsT = Aws::Vector<Aws::String>>
80 m_argsHasBeenSet =
true;
81 m_args = std::forward<ArgsT>(value);
83 template <
typename ArgsT = Aws::Vector<Aws::String>>
85 SetArgs(std::forward<ArgsT>(value));
88 template <
typename ArgsT = Aws::String>
90 m_argsHasBeenSet =
true;
91 m_args.emplace_back(std::forward<ArgsT>(value));
101 bool m_nameHasBeenSet =
false;
102 bool m_scriptPathHasBeenSet =
false;
103 bool m_argsHasBeenSet =
false;
bool ArgsHasBeenSet() const
Command & WithScriptPath(ScriptPathT &&value)
bool NameHasBeenSet() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetArgs() const
void SetScriptPath(ScriptPathT &&value)
Command & WithName(NameT &&value)
AWS_EMR_API Command(Aws::Utils::Json::JsonView jsonValue)
bool ScriptPathHasBeenSet() const
void SetArgs(ArgsT &&value)
void SetName(NameT &&value)
Command & WithArgs(ArgsT &&value)
Command & AddArgs(ArgsT &&value)
const Aws::String & GetScriptPath() const
AWS_EMR_API Command & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API Command()=default
const Aws::String & GetName() 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