/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Configuration for data quality validation. Used to select the Rulesets and
* Validation Mode to be used in the profile job. When ValidationConfiguration is
* null, the profile job will run without data quality validation.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) for the ruleset to be validated in the profile * job. The TargetArn of the selected ruleset should be the same as the Amazon * Resource Name (ARN) of the dataset that is associated with the profile job.
*/ inline const Aws::String& GetRulesetArn() const{ return m_rulesetArn; } /** *The Amazon Resource Name (ARN) for the ruleset to be validated in the profile * job. The TargetArn of the selected ruleset should be the same as the Amazon * Resource Name (ARN) of the dataset that is associated with the profile job.
*/ inline bool RulesetArnHasBeenSet() const { return m_rulesetArnHasBeenSet; } /** *The Amazon Resource Name (ARN) for the ruleset to be validated in the profile * job. The TargetArn of the selected ruleset should be the same as the Amazon * Resource Name (ARN) of the dataset that is associated with the profile job.
*/ inline void SetRulesetArn(const Aws::String& value) { m_rulesetArnHasBeenSet = true; m_rulesetArn = value; } /** *The Amazon Resource Name (ARN) for the ruleset to be validated in the profile * job. The TargetArn of the selected ruleset should be the same as the Amazon * Resource Name (ARN) of the dataset that is associated with the profile job.
*/ inline void SetRulesetArn(Aws::String&& value) { m_rulesetArnHasBeenSet = true; m_rulesetArn = std::move(value); } /** *The Amazon Resource Name (ARN) for the ruleset to be validated in the profile * job. The TargetArn of the selected ruleset should be the same as the Amazon * Resource Name (ARN) of the dataset that is associated with the profile job.
*/ inline void SetRulesetArn(const char* value) { m_rulesetArnHasBeenSet = true; m_rulesetArn.assign(value); } /** *The Amazon Resource Name (ARN) for the ruleset to be validated in the profile * job. The TargetArn of the selected ruleset should be the same as the Amazon * Resource Name (ARN) of the dataset that is associated with the profile job.
*/ inline ValidationConfiguration& WithRulesetArn(const Aws::String& value) { SetRulesetArn(value); return *this;} /** *The Amazon Resource Name (ARN) for the ruleset to be validated in the profile * job. The TargetArn of the selected ruleset should be the same as the Amazon * Resource Name (ARN) of the dataset that is associated with the profile job.
*/ inline ValidationConfiguration& WithRulesetArn(Aws::String&& value) { SetRulesetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) for the ruleset to be validated in the profile * job. The TargetArn of the selected ruleset should be the same as the Amazon * Resource Name (ARN) of the dataset that is associated with the profile job.
*/ inline ValidationConfiguration& WithRulesetArn(const char* value) { SetRulesetArn(value); return *this;} /** *Mode of data quality validation. Default mode is “CHECK_ALL” which verifies * all rules defined in the selected ruleset.
*/ inline const ValidationMode& GetValidationMode() const{ return m_validationMode; } /** *Mode of data quality validation. Default mode is “CHECK_ALL” which verifies * all rules defined in the selected ruleset.
*/ inline bool ValidationModeHasBeenSet() const { return m_validationModeHasBeenSet; } /** *Mode of data quality validation. Default mode is “CHECK_ALL” which verifies * all rules defined in the selected ruleset.
*/ inline void SetValidationMode(const ValidationMode& value) { m_validationModeHasBeenSet = true; m_validationMode = value; } /** *Mode of data quality validation. Default mode is “CHECK_ALL” which verifies * all rules defined in the selected ruleset.
*/ inline void SetValidationMode(ValidationMode&& value) { m_validationModeHasBeenSet = true; m_validationMode = std::move(value); } /** *Mode of data quality validation. Default mode is “CHECK_ALL” which verifies * all rules defined in the selected ruleset.
*/ inline ValidationConfiguration& WithValidationMode(const ValidationMode& value) { SetValidationMode(value); return *this;} /** *Mode of data quality validation. Default mode is “CHECK_ALL” which verifies * all rules defined in the selected ruleset.
*/ inline ValidationConfiguration& WithValidationMode(ValidationMode&& value) { SetValidationMode(std::move(value)); return *this;} private: Aws::String m_rulesetArn; bool m_rulesetArnHasBeenSet = false; ValidationMode m_validationMode; bool m_validationModeHasBeenSet = false; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws