/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the result of the evaluation of a data quality rule.See
* Also:
AWS
* API Reference
The name of the data quality rule.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the data quality rule.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the data quality rule.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the data quality rule.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the data quality rule.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the data quality rule.
*/ inline DataQualityRuleResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the data quality rule.
*/ inline DataQualityRuleResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the data quality rule.
*/ inline DataQualityRuleResult& WithName(const char* value) { SetName(value); return *this;} /** *A description of the data quality rule.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the data quality rule.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the data quality rule.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the data quality rule.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the data quality rule.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the data quality rule.
*/ inline DataQualityRuleResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the data quality rule.
*/ inline DataQualityRuleResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the data quality rule.
*/ inline DataQualityRuleResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *An evaluation message.
*/ inline const Aws::String& GetEvaluationMessage() const{ return m_evaluationMessage; } /** *An evaluation message.
*/ inline bool EvaluationMessageHasBeenSet() const { return m_evaluationMessageHasBeenSet; } /** *An evaluation message.
*/ inline void SetEvaluationMessage(const Aws::String& value) { m_evaluationMessageHasBeenSet = true; m_evaluationMessage = value; } /** *An evaluation message.
*/ inline void SetEvaluationMessage(Aws::String&& value) { m_evaluationMessageHasBeenSet = true; m_evaluationMessage = std::move(value); } /** *An evaluation message.
*/ inline void SetEvaluationMessage(const char* value) { m_evaluationMessageHasBeenSet = true; m_evaluationMessage.assign(value); } /** *An evaluation message.
*/ inline DataQualityRuleResult& WithEvaluationMessage(const Aws::String& value) { SetEvaluationMessage(value); return *this;} /** *An evaluation message.
*/ inline DataQualityRuleResult& WithEvaluationMessage(Aws::String&& value) { SetEvaluationMessage(std::move(value)); return *this;} /** *An evaluation message.
*/ inline DataQualityRuleResult& WithEvaluationMessage(const char* value) { SetEvaluationMessage(value); return *this;} /** *A pass or fail status for the rule.
*/ inline const DataQualityRuleResultStatus& GetResult() const{ return m_result; } /** *A pass or fail status for the rule.
*/ inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; } /** *A pass or fail status for the rule.
*/ inline void SetResult(const DataQualityRuleResultStatus& value) { m_resultHasBeenSet = true; m_result = value; } /** *A pass or fail status for the rule.
*/ inline void SetResult(DataQualityRuleResultStatus&& value) { m_resultHasBeenSet = true; m_result = std::move(value); } /** *A pass or fail status for the rule.
*/ inline DataQualityRuleResult& WithResult(const DataQualityRuleResultStatus& value) { SetResult(value); return *this;} /** *A pass or fail status for the rule.
*/ inline DataQualityRuleResult& WithResult(DataQualityRuleResultStatus&& value) { SetResult(std::move(value)); return *this;} /** *A map of metrics associated with the evaluation of the rule.
*/ inline const Aws::MapA map of metrics associated with the evaluation of the rule.
*/ inline bool EvaluatedMetricsHasBeenSet() const { return m_evaluatedMetricsHasBeenSet; } /** *A map of metrics associated with the evaluation of the rule.
*/ inline void SetEvaluatedMetrics(const Aws::MapA map of metrics associated with the evaluation of the rule.
*/ inline void SetEvaluatedMetrics(Aws::MapA map of metrics associated with the evaluation of the rule.
*/ inline DataQualityRuleResult& WithEvaluatedMetrics(const Aws::MapA map of metrics associated with the evaluation of the rule.
*/ inline DataQualityRuleResult& WithEvaluatedMetrics(Aws::MapA map of metrics associated with the evaluation of the rule.
*/ inline DataQualityRuleResult& AddEvaluatedMetrics(const Aws::String& key, double value) { m_evaluatedMetricsHasBeenSet = true; m_evaluatedMetrics.emplace(key, value); return *this; } /** *A map of metrics associated with the evaluation of the rule.
*/ inline DataQualityRuleResult& AddEvaluatedMetrics(Aws::String&& key, double value) { m_evaluatedMetricsHasBeenSet = true; m_evaluatedMetrics.emplace(std::move(key), value); return *this; } /** *A map of metrics associated with the evaluation of the rule.
*/ inline DataQualityRuleResult& AddEvaluatedMetrics(const char* key, double value) { m_evaluatedMetricsHasBeenSet = true; m_evaluatedMetrics.emplace(key, value); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_evaluationMessage; bool m_evaluationMessageHasBeenSet = false; DataQualityRuleResultStatus m_result; bool m_resultHasBeenSet = false; Aws::Map