/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Glue { namespace Model { class AWS_GLUE_API CreateScriptResult { public: CreateScriptResult(); CreateScriptResult(const Aws::AmazonWebServiceResult& result); CreateScriptResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Python script generated from the DAG.

*/ inline const Aws::String& GetPythonScript() const{ return m_pythonScript; } /** *

The Python script generated from the DAG.

*/ inline void SetPythonScript(const Aws::String& value) { m_pythonScript = value; } /** *

The Python script generated from the DAG.

*/ inline void SetPythonScript(Aws::String&& value) { m_pythonScript = std::move(value); } /** *

The Python script generated from the DAG.

*/ inline void SetPythonScript(const char* value) { m_pythonScript.assign(value); } /** *

The Python script generated from the DAG.

*/ inline CreateScriptResult& WithPythonScript(const Aws::String& value) { SetPythonScript(value); return *this;} /** *

The Python script generated from the DAG.

*/ inline CreateScriptResult& WithPythonScript(Aws::String&& value) { SetPythonScript(std::move(value)); return *this;} /** *

The Python script generated from the DAG.

*/ inline CreateScriptResult& WithPythonScript(const char* value) { SetPythonScript(value); return *this;} /** *

The Scala code generated from the DAG.

*/ inline const Aws::String& GetScalaCode() const{ return m_scalaCode; } /** *

The Scala code generated from the DAG.

*/ inline void SetScalaCode(const Aws::String& value) { m_scalaCode = value; } /** *

The Scala code generated from the DAG.

*/ inline void SetScalaCode(Aws::String&& value) { m_scalaCode = std::move(value); } /** *

The Scala code generated from the DAG.

*/ inline void SetScalaCode(const char* value) { m_scalaCode.assign(value); } /** *

The Scala code generated from the DAG.

*/ inline CreateScriptResult& WithScalaCode(const Aws::String& value) { SetScalaCode(value); return *this;} /** *

The Scala code generated from the DAG.

*/ inline CreateScriptResult& WithScalaCode(Aws::String&& value) { SetScalaCode(std::move(value)); return *this;} /** *

The Scala code generated from the DAG.

*/ inline CreateScriptResult& WithScalaCode(const char* value) { SetScalaCode(value); return *this;} private: Aws::String m_pythonScript; Aws::String m_scalaCode; }; } // namespace Model } // namespace Glue } // namespace Aws