/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

Specifies the set of parameters needed to perform the dynamic * transform.

See Also:

AWS * API Reference

*/ class DynamicTransform { public: AWS_GLUE_API DynamicTransform(); AWS_GLUE_API DynamicTransform(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API DynamicTransform& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Specifies the name of the dynamic transform.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

Specifies the name of the dynamic transform.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

Specifies the name of the dynamic transform.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

Specifies the name of the dynamic transform.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

Specifies the name of the dynamic transform.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

Specifies the name of the dynamic transform.

*/ inline DynamicTransform& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

Specifies the name of the dynamic transform.

*/ inline DynamicTransform& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

Specifies the name of the dynamic transform.

*/ inline DynamicTransform& WithName(const char* value) { SetName(value); return *this;} /** *

Specifies the name of the dynamic transform as it appears in the Glue Studio * visual editor.

*/ inline const Aws::String& GetTransformName() const{ return m_transformName; } /** *

Specifies the name of the dynamic transform as it appears in the Glue Studio * visual editor.

*/ inline bool TransformNameHasBeenSet() const { return m_transformNameHasBeenSet; } /** *

Specifies the name of the dynamic transform as it appears in the Glue Studio * visual editor.

*/ inline void SetTransformName(const Aws::String& value) { m_transformNameHasBeenSet = true; m_transformName = value; } /** *

Specifies the name of the dynamic transform as it appears in the Glue Studio * visual editor.

*/ inline void SetTransformName(Aws::String&& value) { m_transformNameHasBeenSet = true; m_transformName = std::move(value); } /** *

Specifies the name of the dynamic transform as it appears in the Glue Studio * visual editor.

*/ inline void SetTransformName(const char* value) { m_transformNameHasBeenSet = true; m_transformName.assign(value); } /** *

Specifies the name of the dynamic transform as it appears in the Glue Studio * visual editor.

*/ inline DynamicTransform& WithTransformName(const Aws::String& value) { SetTransformName(value); return *this;} /** *

Specifies the name of the dynamic transform as it appears in the Glue Studio * visual editor.

*/ inline DynamicTransform& WithTransformName(Aws::String&& value) { SetTransformName(std::move(value)); return *this;} /** *

Specifies the name of the dynamic transform as it appears in the Glue Studio * visual editor.

*/ inline DynamicTransform& WithTransformName(const char* value) { SetTransformName(value); return *this;} /** *

Specifies the inputs for the dynamic transform that are required.

*/ inline const Aws::Vector& GetInputs() const{ return m_inputs; } /** *

Specifies the inputs for the dynamic transform that are required.

*/ inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; } /** *

Specifies the inputs for the dynamic transform that are required.

*/ inline void SetInputs(const Aws::Vector& value) { m_inputsHasBeenSet = true; m_inputs = value; } /** *

Specifies the inputs for the dynamic transform that are required.

*/ inline void SetInputs(Aws::Vector&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); } /** *

Specifies the inputs for the dynamic transform that are required.

*/ inline DynamicTransform& WithInputs(const Aws::Vector& value) { SetInputs(value); return *this;} /** *

Specifies the inputs for the dynamic transform that are required.

*/ inline DynamicTransform& WithInputs(Aws::Vector&& value) { SetInputs(std::move(value)); return *this;} /** *

Specifies the inputs for the dynamic transform that are required.

*/ inline DynamicTransform& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; } /** *

Specifies the inputs for the dynamic transform that are required.

*/ inline DynamicTransform& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; } /** *

Specifies the inputs for the dynamic transform that are required.

*/ inline DynamicTransform& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; } /** *

Specifies the parameters of the dynamic transform.

*/ inline const Aws::Vector& GetParameters() const{ return m_parameters; } /** *

Specifies the parameters of the dynamic transform.

*/ inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } /** *

Specifies the parameters of the dynamic transform.

*/ inline void SetParameters(const Aws::Vector& value) { m_parametersHasBeenSet = true; m_parameters = value; } /** *

Specifies the parameters of the dynamic transform.

*/ inline void SetParameters(Aws::Vector&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } /** *

Specifies the parameters of the dynamic transform.

*/ inline DynamicTransform& WithParameters(const Aws::Vector& value) { SetParameters(value); return *this;} /** *

Specifies the parameters of the dynamic transform.

*/ inline DynamicTransform& WithParameters(Aws::Vector&& value) { SetParameters(std::move(value)); return *this;} /** *

Specifies the parameters of the dynamic transform.

*/ inline DynamicTransform& AddParameters(const TransformConfigParameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; } /** *

Specifies the parameters of the dynamic transform.

*/ inline DynamicTransform& AddParameters(TransformConfigParameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; } /** *

Specifies the name of the function of the dynamic transform.

*/ inline const Aws::String& GetFunctionName() const{ return m_functionName; } /** *

Specifies the name of the function of the dynamic transform.

*/ inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; } /** *

Specifies the name of the function of the dynamic transform.

*/ inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; } /** *

Specifies the name of the function of the dynamic transform.

*/ inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); } /** *

Specifies the name of the function of the dynamic transform.

*/ inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); } /** *

Specifies the name of the function of the dynamic transform.

*/ inline DynamicTransform& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;} /** *

Specifies the name of the function of the dynamic transform.

*/ inline DynamicTransform& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;} /** *

Specifies the name of the function of the dynamic transform.

*/ inline DynamicTransform& WithFunctionName(const char* value) { SetFunctionName(value); return *this;} /** *

Specifies the path of the dynamic transform source and config files.

*/ inline const Aws::String& GetPath() const{ return m_path; } /** *

Specifies the path of the dynamic transform source and config files.

*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *

Specifies the path of the dynamic transform source and config files.

*/ inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } /** *

Specifies the path of the dynamic transform source and config files.

*/ inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *

Specifies the path of the dynamic transform source and config files.

*/ inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } /** *

Specifies the path of the dynamic transform source and config files.

*/ inline DynamicTransform& WithPath(const Aws::String& value) { SetPath(value); return *this;} /** *

Specifies the path of the dynamic transform source and config files.

*/ inline DynamicTransform& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} /** *

Specifies the path of the dynamic transform source and config files.

*/ inline DynamicTransform& WithPath(const char* value) { SetPath(value); return *this;} /** *

This field is not used and will be deprecated in future release.

*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *

This field is not used and will be deprecated in future release.

*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *

This field is not used and will be deprecated in future release.

*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *

This field is not used and will be deprecated in future release.

*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *

This field is not used and will be deprecated in future release.

*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *

This field is not used and will be deprecated in future release.

*/ inline DynamicTransform& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *

This field is not used and will be deprecated in future release.

*/ inline DynamicTransform& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *

This field is not used and will be deprecated in future release.

*/ inline DynamicTransform& WithVersion(const char* value) { SetVersion(value); return *this;} /** *

Specifies the data schema for the dynamic transform.

*/ inline const Aws::Vector& GetOutputSchemas() const{ return m_outputSchemas; } /** *

Specifies the data schema for the dynamic transform.

*/ inline bool OutputSchemasHasBeenSet() const { return m_outputSchemasHasBeenSet; } /** *

Specifies the data schema for the dynamic transform.

*/ inline void SetOutputSchemas(const Aws::Vector& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas = value; } /** *

Specifies the data schema for the dynamic transform.

*/ inline void SetOutputSchemas(Aws::Vector&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas = std::move(value); } /** *

Specifies the data schema for the dynamic transform.

*/ inline DynamicTransform& WithOutputSchemas(const Aws::Vector& value) { SetOutputSchemas(value); return *this;} /** *

Specifies the data schema for the dynamic transform.

*/ inline DynamicTransform& WithOutputSchemas(Aws::Vector&& value) { SetOutputSchemas(std::move(value)); return *this;} /** *

Specifies the data schema for the dynamic transform.

*/ inline DynamicTransform& AddOutputSchemas(const GlueSchema& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(value); return *this; } /** *

Specifies the data schema for the dynamic transform.

*/ inline DynamicTransform& AddOutputSchemas(GlueSchema&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(std::move(value)); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_transformName; bool m_transformNameHasBeenSet = false; Aws::Vector m_inputs; bool m_inputsHasBeenSet = false; Aws::Vector m_parameters; bool m_parametersHasBeenSet = false; Aws::String m_functionName; bool m_functionNameHasBeenSet = false; Aws::String m_path; bool m_pathHasBeenSet = false; Aws::String m_version; bool m_versionHasBeenSet = false; Aws::Vector m_outputSchemas; bool m_outputSchemasHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws