/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The SessionCommand
that runs the job.See Also:
* AWS
* API Reference
Specifies the name of the SessionCommand. Can be 'glueetl' or * 'gluestreaming'.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *Specifies the name of the SessionCommand. Can be 'glueetl' or * 'gluestreaming'.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *Specifies the name of the SessionCommand. Can be 'glueetl' or * 'gluestreaming'.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *Specifies the name of the SessionCommand. Can be 'glueetl' or * 'gluestreaming'.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *Specifies the name of the SessionCommand. Can be 'glueetl' or * 'gluestreaming'.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *Specifies the name of the SessionCommand. Can be 'glueetl' or * 'gluestreaming'.
*/ inline SessionCommand& WithName(const Aws::String& value) { SetName(value); return *this;} /** *Specifies the name of the SessionCommand. Can be 'glueetl' or * 'gluestreaming'.
*/ inline SessionCommand& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *Specifies the name of the SessionCommand. Can be 'glueetl' or * 'gluestreaming'.
*/ inline SessionCommand& WithName(const char* value) { SetName(value); return *this;} /** *Specifies the Python version. The Python version indicates the version * supported for jobs of type Spark.
*/ inline const Aws::String& GetPythonVersion() const{ return m_pythonVersion; } /** *Specifies the Python version. The Python version indicates the version * supported for jobs of type Spark.
*/ inline bool PythonVersionHasBeenSet() const { return m_pythonVersionHasBeenSet; } /** *Specifies the Python version. The Python version indicates the version * supported for jobs of type Spark.
*/ inline void SetPythonVersion(const Aws::String& value) { m_pythonVersionHasBeenSet = true; m_pythonVersion = value; } /** *Specifies the Python version. The Python version indicates the version * supported for jobs of type Spark.
*/ inline void SetPythonVersion(Aws::String&& value) { m_pythonVersionHasBeenSet = true; m_pythonVersion = std::move(value); } /** *Specifies the Python version. The Python version indicates the version * supported for jobs of type Spark.
*/ inline void SetPythonVersion(const char* value) { m_pythonVersionHasBeenSet = true; m_pythonVersion.assign(value); } /** *Specifies the Python version. The Python version indicates the version * supported for jobs of type Spark.
*/ inline SessionCommand& WithPythonVersion(const Aws::String& value) { SetPythonVersion(value); return *this;} /** *Specifies the Python version. The Python version indicates the version * supported for jobs of type Spark.
*/ inline SessionCommand& WithPythonVersion(Aws::String&& value) { SetPythonVersion(std::move(value)); return *this;} /** *Specifies the Python version. The Python version indicates the version * supported for jobs of type Spark.
*/ inline SessionCommand& WithPythonVersion(const char* value) { SetPythonVersion(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_pythonVersion; bool m_pythonVersionHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws