7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
60 template<
typename ScriptPathT = Aws::String>
61 void SetScriptPath(ScriptPathT&& value) { m_scriptPathHasBeenSet =
true; m_scriptPath = std::forward<ScriptPathT>(value); }
62 template<
typename ScriptPathT = Aws::String>
72 template<
typename ArgsT = Aws::Vector<Aws::String>>
73 void SetArgs(ArgsT&& value) { m_argsHasBeenSet =
true; m_args = std::forward<ArgsT>(value); }
74 template<
typename ArgsT = Aws::Vector<Aws::String>>
76 template<
typename ArgsT = Aws::String>
77 Command&
AddArgs(ArgsT&& value) { m_argsHasBeenSet =
true; m_args.emplace_back(std::forward<ArgsT>(value));
return *
this; }
82 bool m_nameHasBeenSet =
false;
85 bool m_scriptPathHasBeenSet =
false;
88 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