7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/DataQualityRuleResultStatus.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
61 template<
typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
63 template<
typename DescriptionT = Aws::String>
73 template<
typename EvaluationMessageT = Aws::String>
74 void SetEvaluationMessage(EvaluationMessageT&& value) { m_evaluationMessageHasBeenSet =
true; m_evaluationMessage = std::forward<EvaluationMessageT>(value); }
75 template<
typename EvaluationMessageT = Aws::String>
95 template<
typename EvaluatedMetricsT = Aws::Map<Aws::String,
double>>
96 void SetEvaluatedMetrics(EvaluatedMetricsT&& value) { m_evaluatedMetricsHasBeenSet =
true; m_evaluatedMetrics = std::forward<EvaluatedMetricsT>(value); }
97 template<
typename EvaluatedMetricsT = Aws::Map<Aws::String,
double>>
100 m_evaluatedMetricsHasBeenSet =
true; m_evaluatedMetrics.emplace(key, value);
return *
this;
110 template<
typename EvaluatedRuleT = Aws::String>
111 void SetEvaluatedRule(EvaluatedRuleT&& value) { m_evaluatedRuleHasBeenSet =
true; m_evaluatedRule = std::forward<EvaluatedRuleT>(value); }
112 template<
typename EvaluatedRuleT = Aws::String>
123 template<
typename RuleMetricsT = Aws::Map<Aws::String,
double>>
124 void SetRuleMetrics(RuleMetricsT&& value) { m_ruleMetricsHasBeenSet =
true; m_ruleMetrics = std::forward<RuleMetricsT>(value); }
125 template<
typename RuleMetricsT = Aws::Map<Aws::String,
double>>
128 m_ruleMetricsHasBeenSet =
true; m_ruleMetrics.emplace(key, value);
return *
this;
134 bool m_nameHasBeenSet =
false;
137 bool m_descriptionHasBeenSet =
false;
140 bool m_evaluationMessageHasBeenSet =
false;
143 bool m_resultHasBeenSet =
false;
146 bool m_evaluatedMetricsHasBeenSet =
false;
149 bool m_evaluatedRuleHasBeenSet =
false;
152 bool m_ruleMetricsHasBeenSet =
false;
DataQualityRuleResult & WithEvaluationMessage(EvaluationMessageT &&value)
DataQualityRuleResult & AddRuleMetrics(Aws::String key, double value)
void SetRuleMetrics(RuleMetricsT &&value)
DataQualityRuleResult & WithName(NameT &&value)
void SetEvaluationMessage(EvaluationMessageT &&value)
DataQualityRuleResult & WithEvaluatedRule(EvaluatedRuleT &&value)
const Aws::Map< Aws::String, double > & GetRuleMetrics() const
bool EvaluatedMetricsHasBeenSet() const
void SetResult(DataQualityRuleResultStatus value)
AWS_GLUE_API DataQualityRuleResult(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetEvaluatedRule(EvaluatedRuleT &&value)
void SetName(NameT &&value)
DataQualityRuleResult & WithDescription(DescriptionT &&value)
bool EvaluatedRuleHasBeenSet() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
DataQualityRuleResult & WithResult(DataQualityRuleResultStatus value)
bool DescriptionHasBeenSet() const
AWS_GLUE_API DataQualityRuleResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API DataQualityRuleResult()=default
const Aws::String & GetDescription() const
bool EvaluationMessageHasBeenSet() const
bool NameHasBeenSet() const
DataQualityRuleResultStatus GetResult() const
const Aws::String & GetEvaluationMessage() const
void SetDescription(DescriptionT &&value)
DataQualityRuleResult & WithEvaluatedMetrics(EvaluatedMetricsT &&value)
bool ResultHasBeenSet() const
void SetEvaluatedMetrics(EvaluatedMetricsT &&value)
const Aws::Map< Aws::String, double > & GetEvaluatedMetrics() const
DataQualityRuleResult & WithRuleMetrics(RuleMetricsT &&value)
DataQualityRuleResult & AddEvaluatedMetrics(Aws::String key, double value)
const Aws::String & GetEvaluatedRule() const
bool RuleMetricsHasBeenSet() const
DataQualityRuleResultStatus
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue