7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/DataQualityRuleResultStatus.h>
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
79 template <
typename EvaluationMessageT = Aws::String>
81 m_evaluationMessageHasBeenSet =
true;
82 m_evaluationMessage = std::forward<EvaluationMessageT>(value);
84 template <
typename EvaluationMessageT = Aws::String>
98 m_resultHasBeenSet =
true;
113 template <
typename EvaluatedMetricsT = Aws::Map<Aws::String,
double>>
115 m_evaluatedMetricsHasBeenSet =
true;
116 m_evaluatedMetrics = std::forward<EvaluatedMetricsT>(value);
118 template <
typename EvaluatedMetricsT = Aws::Map<Aws::String,
double>>
124 m_evaluatedMetricsHasBeenSet =
true;
125 m_evaluatedMetrics.emplace(key, value);
136 template <
typename EvaluatedRuleT = Aws::String>
138 m_evaluatedRuleHasBeenSet =
true;
139 m_evaluatedRule = std::forward<EvaluatedRuleT>(value);
141 template <
typename EvaluatedRuleT = Aws::String>
155 template <
typename RuleMetricsT = Aws::Map<Aws::String,
double>>
157 m_ruleMetricsHasBeenSet =
true;
158 m_ruleMetrics = std::forward<RuleMetricsT>(value);
160 template <
typename RuleMetricsT = Aws::Map<Aws::String,
double>>
166 m_ruleMetricsHasBeenSet =
true;
167 m_ruleMetrics.emplace(key, value);
178 template <
typename LabelsT = Aws::Map<Aws::String, Aws::String>>
180 m_labelsHasBeenSet =
true;
181 m_labels = std::forward<LabelsT>(value);
183 template <
typename LabelsT = Aws::Map<Aws::String, Aws::String>>
188 template <
typename LabelsKeyT = Aws::String,
typename LabelsValueT = Aws::String>
190 m_labelsHasBeenSet =
true;
191 m_labels.emplace(std::forward<LabelsKeyT>(key), std::forward<LabelsValueT>(value));
197 bool m_nameHasBeenSet =
false;
200 bool m_descriptionHasBeenSet =
false;
203 bool m_evaluationMessageHasBeenSet =
false;
206 bool m_resultHasBeenSet =
false;
209 bool m_evaluatedMetricsHasBeenSet =
false;
212 bool m_evaluatedRuleHasBeenSet =
false;
215 bool m_ruleMetricsHasBeenSet =
false;
218 bool m_labelsHasBeenSet =
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 LabelsHasBeenSet() const
bool EvaluatedMetricsHasBeenSet() const
void SetResult(DataQualityRuleResultStatus value)
const Aws::Map< Aws::String, Aws::String > & GetLabels() const
DataQualityRuleResult & AddLabels(LabelsKeyT &&key, LabelsValueT &&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)
DataQualityRuleResult & WithLabels(LabelsT &&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
void SetLabels(LabelsT &&value)
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