/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 your data quality evaluation criteria.

See Also:

* AWS * API Reference

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

The name of the data quality evaluation.

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

The name of the data quality evaluation.

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

The name of the data quality evaluation.

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

The name of the data quality evaluation.

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

The name of the data quality evaluation.

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

The name of the data quality evaluation.

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

The name of the data quality evaluation.

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

The name of the data quality evaluation.

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

The inputs of your data quality evaluation.

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

The inputs of your data quality evaluation.

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

The inputs of your data quality evaluation.

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

The inputs of your data quality evaluation.

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

The inputs of your data quality evaluation.

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

The inputs of your data quality evaluation.

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

The inputs of your data quality evaluation.

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

The inputs of your data quality evaluation.

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

The inputs of your data quality evaluation.

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

The ruleset for your data quality evaluation.

*/ inline const Aws::String& GetRuleset() const{ return m_ruleset; } /** *

The ruleset for your data quality evaluation.

*/ inline bool RulesetHasBeenSet() const { return m_rulesetHasBeenSet; } /** *

The ruleset for your data quality evaluation.

*/ inline void SetRuleset(const Aws::String& value) { m_rulesetHasBeenSet = true; m_ruleset = value; } /** *

The ruleset for your data quality evaluation.

*/ inline void SetRuleset(Aws::String&& value) { m_rulesetHasBeenSet = true; m_ruleset = std::move(value); } /** *

The ruleset for your data quality evaluation.

*/ inline void SetRuleset(const char* value) { m_rulesetHasBeenSet = true; m_ruleset.assign(value); } /** *

The ruleset for your data quality evaluation.

*/ inline EvaluateDataQuality& WithRuleset(const Aws::String& value) { SetRuleset(value); return *this;} /** *

The ruleset for your data quality evaluation.

*/ inline EvaluateDataQuality& WithRuleset(Aws::String&& value) { SetRuleset(std::move(value)); return *this;} /** *

The ruleset for your data quality evaluation.

*/ inline EvaluateDataQuality& WithRuleset(const char* value) { SetRuleset(value); return *this;} /** *

The output of your data quality evaluation.

*/ inline const DQTransformOutput& GetOutput() const{ return m_output; } /** *

The output of your data quality evaluation.

*/ inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; } /** *

The output of your data quality evaluation.

*/ inline void SetOutput(const DQTransformOutput& value) { m_outputHasBeenSet = true; m_output = value; } /** *

The output of your data quality evaluation.

*/ inline void SetOutput(DQTransformOutput&& value) { m_outputHasBeenSet = true; m_output = std::move(value); } /** *

The output of your data quality evaluation.

*/ inline EvaluateDataQuality& WithOutput(const DQTransformOutput& value) { SetOutput(value); return *this;} /** *

The output of your data quality evaluation.

*/ inline EvaluateDataQuality& WithOutput(DQTransformOutput&& value) { SetOutput(std::move(value)); return *this;} /** *

Options to configure how your results are published.

*/ inline const DQResultsPublishingOptions& GetPublishingOptions() const{ return m_publishingOptions; } /** *

Options to configure how your results are published.

*/ inline bool PublishingOptionsHasBeenSet() const { return m_publishingOptionsHasBeenSet; } /** *

Options to configure how your results are published.

*/ inline void SetPublishingOptions(const DQResultsPublishingOptions& value) { m_publishingOptionsHasBeenSet = true; m_publishingOptions = value; } /** *

Options to configure how your results are published.

*/ inline void SetPublishingOptions(DQResultsPublishingOptions&& value) { m_publishingOptionsHasBeenSet = true; m_publishingOptions = std::move(value); } /** *

Options to configure how your results are published.

*/ inline EvaluateDataQuality& WithPublishingOptions(const DQResultsPublishingOptions& value) { SetPublishingOptions(value); return *this;} /** *

Options to configure how your results are published.

*/ inline EvaluateDataQuality& WithPublishingOptions(DQResultsPublishingOptions&& value) { SetPublishingOptions(std::move(value)); return *this;} /** *

Options to configure how your job will stop if your data quality evaluation * fails.

*/ inline const DQStopJobOnFailureOptions& GetStopJobOnFailureOptions() const{ return m_stopJobOnFailureOptions; } /** *

Options to configure how your job will stop if your data quality evaluation * fails.

*/ inline bool StopJobOnFailureOptionsHasBeenSet() const { return m_stopJobOnFailureOptionsHasBeenSet; } /** *

Options to configure how your job will stop if your data quality evaluation * fails.

*/ inline void SetStopJobOnFailureOptions(const DQStopJobOnFailureOptions& value) { m_stopJobOnFailureOptionsHasBeenSet = true; m_stopJobOnFailureOptions = value; } /** *

Options to configure how your job will stop if your data quality evaluation * fails.

*/ inline void SetStopJobOnFailureOptions(DQStopJobOnFailureOptions&& value) { m_stopJobOnFailureOptionsHasBeenSet = true; m_stopJobOnFailureOptions = std::move(value); } /** *

Options to configure how your job will stop if your data quality evaluation * fails.

*/ inline EvaluateDataQuality& WithStopJobOnFailureOptions(const DQStopJobOnFailureOptions& value) { SetStopJobOnFailureOptions(value); return *this;} /** *

Options to configure how your job will stop if your data quality evaluation * fails.

*/ inline EvaluateDataQuality& WithStopJobOnFailureOptions(DQStopJobOnFailureOptions&& value) { SetStopJobOnFailureOptions(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector m_inputs; bool m_inputsHasBeenSet = false; Aws::String m_ruleset; bool m_rulesetHasBeenSet = false; DQTransformOutput m_output; bool m_outputHasBeenSet = false; DQResultsPublishingOptions m_publishingOptions; bool m_publishingOptionsHasBeenSet = false; DQStopJobOnFailureOptions m_stopJobOnFailureOptions; bool m_stopJobOnFailureOptionsHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws