/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Glue { namespace Model { /** */ class GetDataflowGraphRequest : public GlueRequest { public: AWS_GLUE_API GetDataflowGraphRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetDataflowGraph"; } AWS_GLUE_API Aws::String SerializePayload() const override; AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Python script to transform.

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

The Python script to transform.

*/ inline bool PythonScriptHasBeenSet() const { return m_pythonScriptHasBeenSet; } /** *

The Python script to transform.

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

The Python script to transform.

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

The Python script to transform.

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

The Python script to transform.

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

The Python script to transform.

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

The Python script to transform.

*/ inline GetDataflowGraphRequest& WithPythonScript(const char* value) { SetPythonScript(value); return *this;} private: Aws::String m_pythonScript; bool m_pythonScriptHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws