AWS SDK for C++  1.8.96
AWS SDK for C++
Public Member Functions | List of all members
Aws::Glue::Model::JobCommand Class Reference

#include <JobCommand.h>

Public Member Functions

 JobCommand ()
 
 JobCommand (Aws::Utils::Json::JsonView jsonValue)
 
JobCommandoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
JobCommandWithName (const Aws::String &value)
 
JobCommandWithName (Aws::String &&value)
 
JobCommandWithName (const char *value)
 
const Aws::StringGetScriptLocation () const
 
bool ScriptLocationHasBeenSet () const
 
void SetScriptLocation (const Aws::String &value)
 
void SetScriptLocation (Aws::String &&value)
 
void SetScriptLocation (const char *value)
 
JobCommandWithScriptLocation (const Aws::String &value)
 
JobCommandWithScriptLocation (Aws::String &&value)
 
JobCommandWithScriptLocation (const char *value)
 
const Aws::StringGetPythonVersion () const
 
bool PythonVersionHasBeenSet () const
 
void SetPythonVersion (const Aws::String &value)
 
void SetPythonVersion (Aws::String &&value)
 
void SetPythonVersion (const char *value)
 
JobCommandWithPythonVersion (const Aws::String &value)
 
JobCommandWithPythonVersion (Aws::String &&value)
 
JobCommandWithPythonVersion (const char *value)
 

Detailed Description

Specifies code executed when a job is run.

See Also:

AWS API Reference

Definition at line 31 of file JobCommand.h.

Constructor & Destructor Documentation

◆ JobCommand() [1/2]

Aws::Glue::Model::JobCommand::JobCommand ( )

◆ JobCommand() [2/2]

Aws::Glue::Model::JobCommand::JobCommand ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetName()

const Aws::String& Aws::Glue::Model::JobCommand::GetName ( ) const
inline

The name of the job command. For an Apache Spark ETL job, this must be glueetl. For a Python shell job, it must be pythonshell. For an Apache Spark streaming ETL job, this must be gluestreaming.

Definition at line 46 of file JobCommand.h.

◆ GetPythonVersion()

const Aws::String& Aws::Glue::Model::JobCommand::GetPythonVersion ( ) const
inline

The Python version being used to execute a Python shell job. Allowed values are 2 or 3.

Definition at line 158 of file JobCommand.h.

◆ GetScriptLocation()

const Aws::String& Aws::Glue::Model::JobCommand::GetScriptLocation ( ) const
inline

Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job.

Definition at line 109 of file JobCommand.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Glue::Model::JobCommand::Jsonize ( ) const

◆ NameHasBeenSet()

bool Aws::Glue::Model::JobCommand::NameHasBeenSet ( ) const
inline

The name of the job command. For an Apache Spark ETL job, this must be glueetl. For a Python shell job, it must be pythonshell. For an Apache Spark streaming ETL job, this must be gluestreaming.

Definition at line 54 of file JobCommand.h.

◆ operator=()

JobCommand& Aws::Glue::Model::JobCommand::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PythonVersionHasBeenSet()

bool Aws::Glue::Model::JobCommand::PythonVersionHasBeenSet ( ) const
inline

The Python version being used to execute a Python shell job. Allowed values are 2 or 3.

Definition at line 164 of file JobCommand.h.

◆ ScriptLocationHasBeenSet()

bool Aws::Glue::Model::JobCommand::ScriptLocationHasBeenSet ( ) const
inline

Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job.

Definition at line 115 of file JobCommand.h.

◆ SetName() [1/3]

void Aws::Glue::Model::JobCommand::SetName ( const Aws::String value)
inline

The name of the job command. For an Apache Spark ETL job, this must be glueetl. For a Python shell job, it must be pythonshell. For an Apache Spark streaming ETL job, this must be gluestreaming.

Definition at line 62 of file JobCommand.h.

◆ SetName() [2/3]

void Aws::Glue::Model::JobCommand::SetName ( Aws::String &&  value)
inline

The name of the job command. For an Apache Spark ETL job, this must be glueetl. For a Python shell job, it must be pythonshell. For an Apache Spark streaming ETL job, this must be gluestreaming.

Definition at line 70 of file JobCommand.h.

◆ SetName() [3/3]

void Aws::Glue::Model::JobCommand::SetName ( const char *  value)
inline

The name of the job command. For an Apache Spark ETL job, this must be glueetl. For a Python shell job, it must be pythonshell. For an Apache Spark streaming ETL job, this must be gluestreaming.

Definition at line 78 of file JobCommand.h.

◆ SetPythonVersion() [1/3]

void Aws::Glue::Model::JobCommand::SetPythonVersion ( const Aws::String value)
inline

The Python version being used to execute a Python shell job. Allowed values are 2 or 3.

Definition at line 170 of file JobCommand.h.

◆ SetPythonVersion() [2/3]

void Aws::Glue::Model::JobCommand::SetPythonVersion ( Aws::String &&  value)
inline

The Python version being used to execute a Python shell job. Allowed values are 2 or 3.

Definition at line 176 of file JobCommand.h.

◆ SetPythonVersion() [3/3]

void Aws::Glue::Model::JobCommand::SetPythonVersion ( const char *  value)
inline

The Python version being used to execute a Python shell job. Allowed values are 2 or 3.

Definition at line 182 of file JobCommand.h.

◆ SetScriptLocation() [1/3]

void Aws::Glue::Model::JobCommand::SetScriptLocation ( const Aws::String value)
inline

Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job.

Definition at line 121 of file JobCommand.h.

◆ SetScriptLocation() [2/3]

void Aws::Glue::Model::JobCommand::SetScriptLocation ( Aws::String &&  value)
inline

Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job.

Definition at line 127 of file JobCommand.h.

◆ SetScriptLocation() [3/3]

void Aws::Glue::Model::JobCommand::SetScriptLocation ( const char *  value)
inline

Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job.

Definition at line 133 of file JobCommand.h.

◆ WithName() [1/3]

JobCommand& Aws::Glue::Model::JobCommand::WithName ( const Aws::String value)
inline

The name of the job command. For an Apache Spark ETL job, this must be glueetl. For a Python shell job, it must be pythonshell. For an Apache Spark streaming ETL job, this must be gluestreaming.

Definition at line 86 of file JobCommand.h.

◆ WithName() [2/3]

JobCommand& Aws::Glue::Model::JobCommand::WithName ( Aws::String &&  value)
inline

The name of the job command. For an Apache Spark ETL job, this must be glueetl. For a Python shell job, it must be pythonshell. For an Apache Spark streaming ETL job, this must be gluestreaming.

Definition at line 94 of file JobCommand.h.

◆ WithName() [3/3]

JobCommand& Aws::Glue::Model::JobCommand::WithName ( const char *  value)
inline

The name of the job command. For an Apache Spark ETL job, this must be glueetl. For a Python shell job, it must be pythonshell. For an Apache Spark streaming ETL job, this must be gluestreaming.

Definition at line 102 of file JobCommand.h.

◆ WithPythonVersion() [1/3]

JobCommand& Aws::Glue::Model::JobCommand::WithPythonVersion ( const Aws::String value)
inline

The Python version being used to execute a Python shell job. Allowed values are 2 or 3.

Definition at line 188 of file JobCommand.h.

◆ WithPythonVersion() [2/3]

JobCommand& Aws::Glue::Model::JobCommand::WithPythonVersion ( Aws::String &&  value)
inline

The Python version being used to execute a Python shell job. Allowed values are 2 or 3.

Definition at line 194 of file JobCommand.h.

◆ WithPythonVersion() [3/3]

JobCommand& Aws::Glue::Model::JobCommand::WithPythonVersion ( const char *  value)
inline

The Python version being used to execute a Python shell job. Allowed values are 2 or 3.

Definition at line 200 of file JobCommand.h.

◆ WithScriptLocation() [1/3]

JobCommand& Aws::Glue::Model::JobCommand::WithScriptLocation ( const Aws::String value)
inline

Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job.

Definition at line 139 of file JobCommand.h.

◆ WithScriptLocation() [2/3]

JobCommand& Aws::Glue::Model::JobCommand::WithScriptLocation ( Aws::String &&  value)
inline

Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job.

Definition at line 145 of file JobCommand.h.

◆ WithScriptLocation() [3/3]

JobCommand& Aws::Glue::Model::JobCommand::WithScriptLocation ( const char *  value)
inline

Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job.

Definition at line 151 of file JobCommand.h.


The documentation for this class was generated from the following file: