/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

Specifies a transform that locates records in the dataset that have missing * values and adds a new field with a value determined by imputation. The input * data set is used to train the machine learning model that determines what the * missing value should be.

See Also:

AWS * API Reference

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

The name of the transform node.

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

The name of the transform node.

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

The name of the transform node.

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

The name of the transform node.

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

The name of the transform node.

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

The name of the transform node.

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

The name of the transform node.

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

The name of the transform node.

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

The data inputs identified by their node names.

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

The data inputs identified by their node names.

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

The data inputs identified by their node names.

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

The data inputs identified by their node names.

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

The data inputs identified by their node names.

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

The data inputs identified by their node names.

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

The data inputs identified by their node names.

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

The data inputs identified by their node names.

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

The data inputs identified by their node names.

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

A JSON path to a variable in the data structure for the dataset that is * imputed.

*/ inline const Aws::String& GetImputedPath() const{ return m_imputedPath; } /** *

A JSON path to a variable in the data structure for the dataset that is * imputed.

*/ inline bool ImputedPathHasBeenSet() const { return m_imputedPathHasBeenSet; } /** *

A JSON path to a variable in the data structure for the dataset that is * imputed.

*/ inline void SetImputedPath(const Aws::String& value) { m_imputedPathHasBeenSet = true; m_imputedPath = value; } /** *

A JSON path to a variable in the data structure for the dataset that is * imputed.

*/ inline void SetImputedPath(Aws::String&& value) { m_imputedPathHasBeenSet = true; m_imputedPath = std::move(value); } /** *

A JSON path to a variable in the data structure for the dataset that is * imputed.

*/ inline void SetImputedPath(const char* value) { m_imputedPathHasBeenSet = true; m_imputedPath.assign(value); } /** *

A JSON path to a variable in the data structure for the dataset that is * imputed.

*/ inline FillMissingValues& WithImputedPath(const Aws::String& value) { SetImputedPath(value); return *this;} /** *

A JSON path to a variable in the data structure for the dataset that is * imputed.

*/ inline FillMissingValues& WithImputedPath(Aws::String&& value) { SetImputedPath(std::move(value)); return *this;} /** *

A JSON path to a variable in the data structure for the dataset that is * imputed.

*/ inline FillMissingValues& WithImputedPath(const char* value) { SetImputedPath(value); return *this;} /** *

A JSON path to a variable in the data structure for the dataset that is * filled.

*/ inline const Aws::String& GetFilledPath() const{ return m_filledPath; } /** *

A JSON path to a variable in the data structure for the dataset that is * filled.

*/ inline bool FilledPathHasBeenSet() const { return m_filledPathHasBeenSet; } /** *

A JSON path to a variable in the data structure for the dataset that is * filled.

*/ inline void SetFilledPath(const Aws::String& value) { m_filledPathHasBeenSet = true; m_filledPath = value; } /** *

A JSON path to a variable in the data structure for the dataset that is * filled.

*/ inline void SetFilledPath(Aws::String&& value) { m_filledPathHasBeenSet = true; m_filledPath = std::move(value); } /** *

A JSON path to a variable in the data structure for the dataset that is * filled.

*/ inline void SetFilledPath(const char* value) { m_filledPathHasBeenSet = true; m_filledPath.assign(value); } /** *

A JSON path to a variable in the data structure for the dataset that is * filled.

*/ inline FillMissingValues& WithFilledPath(const Aws::String& value) { SetFilledPath(value); return *this;} /** *

A JSON path to a variable in the data structure for the dataset that is * filled.

*/ inline FillMissingValues& WithFilledPath(Aws::String&& value) { SetFilledPath(std::move(value)); return *this;} /** *

A JSON path to a variable in the data structure for the dataset that is * filled.

*/ inline FillMissingValues& WithFilledPath(const char* value) { SetFilledPath(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector m_inputs; bool m_inputsHasBeenSet = false; Aws::String m_imputedPath; bool m_imputedPathHasBeenSet = false; Aws::String m_filledPath; bool m_filledPathHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws