/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An entity describing an executable that runs on a cluster.See
* Also:
AWS
* API Reference
The name of the command.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the command.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the command.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the command.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the command.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the command.
*/ inline Command& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the command.
*/ inline Command& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the command.
*/ inline Command& WithName(const char* value) { SetName(value); return *this;} /** *The Amazon S3 location of the command script.
*/ inline const Aws::String& GetScriptPath() const{ return m_scriptPath; } /** *The Amazon S3 location of the command script.
*/ inline bool ScriptPathHasBeenSet() const { return m_scriptPathHasBeenSet; } /** *The Amazon S3 location of the command script.
*/ inline void SetScriptPath(const Aws::String& value) { m_scriptPathHasBeenSet = true; m_scriptPath = value; } /** *The Amazon S3 location of the command script.
*/ inline void SetScriptPath(Aws::String&& value) { m_scriptPathHasBeenSet = true; m_scriptPath = std::move(value); } /** *The Amazon S3 location of the command script.
*/ inline void SetScriptPath(const char* value) { m_scriptPathHasBeenSet = true; m_scriptPath.assign(value); } /** *The Amazon S3 location of the command script.
*/ inline Command& WithScriptPath(const Aws::String& value) { SetScriptPath(value); return *this;} /** *The Amazon S3 location of the command script.
*/ inline Command& WithScriptPath(Aws::String&& value) { SetScriptPath(std::move(value)); return *this;} /** *The Amazon S3 location of the command script.
*/ inline Command& WithScriptPath(const char* value) { SetScriptPath(value); return *this;} /** *Arguments for Amazon EMR to pass to the command for execution.
*/ inline const Aws::VectorArguments for Amazon EMR to pass to the command for execution.
*/ inline bool ArgsHasBeenSet() const { return m_argsHasBeenSet; } /** *Arguments for Amazon EMR to pass to the command for execution.
*/ inline void SetArgs(const Aws::VectorArguments for Amazon EMR to pass to the command for execution.
*/ inline void SetArgs(Aws::VectorArguments for Amazon EMR to pass to the command for execution.
*/ inline Command& WithArgs(const Aws::VectorArguments for Amazon EMR to pass to the command for execution.
*/ inline Command& WithArgs(Aws::VectorArguments for Amazon EMR to pass to the command for execution.
*/ inline Command& AddArgs(const Aws::String& value) { m_argsHasBeenSet = true; m_args.push_back(value); return *this; } /** *Arguments for Amazon EMR to pass to the command for execution.
*/ inline Command& AddArgs(Aws::String&& value) { m_argsHasBeenSet = true; m_args.push_back(std::move(value)); return *this; } /** *Arguments for Amazon EMR to pass to the command for execution.
*/ inline Command& AddArgs(const char* value) { m_argsHasBeenSet = true; m_args.push_back(value); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_scriptPath; bool m_scriptPathHasBeenSet = false; Aws::Vector