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>
50 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
64 inline void SetScriptPath(
const char* value) { m_scriptPathHasBeenSet =
true; m_scriptPath.assign(value); }
82 inline Command&
AddArgs(
const char* value) { m_argsHasBeenSet =
true; m_args.push_back(value);
return *
this; }
87 bool m_nameHasBeenSet =
false;
90 bool m_scriptPathHasBeenSet =
false;
93 bool m_argsHasBeenSet =
false;
bool ArgsHasBeenSet() const
Command & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
Command & AddArgs(Aws::String &&value)
void SetArgs(Aws::Vector< Aws::String > &&value)
Command & AddArgs(const char *value)
Command & WithArgs(const Aws::Vector< Aws::String > &value)
Command & WithName(const char *value)
bool NameHasBeenSet() const
void SetScriptPath(const char *value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetArgs() const
Command & AddArgs(const Aws::String &value)
void SetName(const char *value)
Command & WithName(const Aws::String &value)
Command & WithArgs(Aws::Vector< Aws::String > &&value)
void SetName(Aws::String &&value)
AWS_EMR_API Command(Aws::Utils::Json::JsonView jsonValue)
Command & WithScriptPath(const char *value)
bool ScriptPathHasBeenSet() const
void SetScriptPath(const Aws::String &value)
void SetArgs(const Aws::Vector< Aws::String > &value)
Command & WithScriptPath(Aws::String &&value)
const Aws::String & GetScriptPath() const
AWS_EMR_API Command & operator=(Aws::Utils::Json::JsonView jsonValue)
Command & WithScriptPath(const Aws::String &value)
const Aws::String & GetName() const
void SetScriptPath(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue