AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataQualityRuleResult.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GLUE_API DataQualityRuleResult();
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline DataQualityRuleResult& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline DataQualityRuleResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline DataQualityRuleResult& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::String& GetDescription() const{ return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
64 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
65 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
66 inline DataQualityRuleResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 inline DataQualityRuleResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
68 inline DataQualityRuleResult& WithDescription(const char* value) { SetDescription(value); return *this;}
70
72
75 inline const Aws::String& GetEvaluationMessage() const{ return m_evaluationMessage; }
76 inline bool EvaluationMessageHasBeenSet() const { return m_evaluationMessageHasBeenSet; }
77 inline void SetEvaluationMessage(const Aws::String& value) { m_evaluationMessageHasBeenSet = true; m_evaluationMessage = value; }
78 inline void SetEvaluationMessage(Aws::String&& value) { m_evaluationMessageHasBeenSet = true; m_evaluationMessage = std::move(value); }
79 inline void SetEvaluationMessage(const char* value) { m_evaluationMessageHasBeenSet = true; m_evaluationMessage.assign(value); }
80 inline DataQualityRuleResult& WithEvaluationMessage(const Aws::String& value) { SetEvaluationMessage(value); return *this;}
81 inline DataQualityRuleResult& WithEvaluationMessage(Aws::String&& value) { SetEvaluationMessage(std::move(value)); return *this;}
82 inline DataQualityRuleResult& WithEvaluationMessage(const char* value) { SetEvaluationMessage(value); return *this;}
84
86
89 inline const DataQualityRuleResultStatus& GetResult() const{ return m_result; }
90 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
91 inline void SetResult(const DataQualityRuleResultStatus& value) { m_resultHasBeenSet = true; m_result = value; }
92 inline void SetResult(DataQualityRuleResultStatus&& value) { m_resultHasBeenSet = true; m_result = std::move(value); }
93 inline DataQualityRuleResult& WithResult(const DataQualityRuleResultStatus& value) { SetResult(value); return *this;}
94 inline DataQualityRuleResult& WithResult(DataQualityRuleResultStatus&& value) { SetResult(std::move(value)); return *this;}
96
98
101 inline const Aws::Map<Aws::String, double>& GetEvaluatedMetrics() const{ return m_evaluatedMetrics; }
102 inline bool EvaluatedMetricsHasBeenSet() const { return m_evaluatedMetricsHasBeenSet; }
103 inline void SetEvaluatedMetrics(const Aws::Map<Aws::String, double>& value) { m_evaluatedMetricsHasBeenSet = true; m_evaluatedMetrics = value; }
104 inline void SetEvaluatedMetrics(Aws::Map<Aws::String, double>&& value) { m_evaluatedMetricsHasBeenSet = true; m_evaluatedMetrics = std::move(value); }
107 inline DataQualityRuleResult& AddEvaluatedMetrics(const Aws::String& key, double value) { m_evaluatedMetricsHasBeenSet = true; m_evaluatedMetrics.emplace(key, value); return *this; }
108 inline DataQualityRuleResult& AddEvaluatedMetrics(Aws::String&& key, double value) { m_evaluatedMetricsHasBeenSet = true; m_evaluatedMetrics.emplace(std::move(key), value); return *this; }
109 inline DataQualityRuleResult& AddEvaluatedMetrics(const char* key, double value) { m_evaluatedMetricsHasBeenSet = true; m_evaluatedMetrics.emplace(key, value); return *this; }
111
113
116 inline const Aws::String& GetEvaluatedRule() const{ return m_evaluatedRule; }
117 inline bool EvaluatedRuleHasBeenSet() const { return m_evaluatedRuleHasBeenSet; }
118 inline void SetEvaluatedRule(const Aws::String& value) { m_evaluatedRuleHasBeenSet = true; m_evaluatedRule = value; }
119 inline void SetEvaluatedRule(Aws::String&& value) { m_evaluatedRuleHasBeenSet = true; m_evaluatedRule = std::move(value); }
120 inline void SetEvaluatedRule(const char* value) { m_evaluatedRuleHasBeenSet = true; m_evaluatedRule.assign(value); }
121 inline DataQualityRuleResult& WithEvaluatedRule(const Aws::String& value) { SetEvaluatedRule(value); return *this;}
122 inline DataQualityRuleResult& WithEvaluatedRule(Aws::String&& value) { SetEvaluatedRule(std::move(value)); return *this;}
123 inline DataQualityRuleResult& WithEvaluatedRule(const char* value) { SetEvaluatedRule(value); return *this;}
125 private:
126
127 Aws::String m_name;
128 bool m_nameHasBeenSet = false;
129
130 Aws::String m_description;
131 bool m_descriptionHasBeenSet = false;
132
133 Aws::String m_evaluationMessage;
134 bool m_evaluationMessageHasBeenSet = false;
135
137 bool m_resultHasBeenSet = false;
138
139 Aws::Map<Aws::String, double> m_evaluatedMetrics;
140 bool m_evaluatedMetricsHasBeenSet = false;
141
142 Aws::String m_evaluatedRule;
143 bool m_evaluatedRuleHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace Glue
148} // namespace Aws
DataQualityRuleResult & WithDescription(Aws::String &&value)
void SetEvaluationMessage(const Aws::String &value)
DataQualityRuleResult & WithEvaluatedRule(const Aws::String &value)
void SetDescription(const Aws::String &value)
DataQualityRuleResult & WithName(Aws::String &&value)
DataQualityRuleResult & WithDescription(const char *value)
void SetEvaluatedRule(const Aws::String &value)
DataQualityRuleResult & WithEvaluatedRule(const char *value)
void SetEvaluatedMetrics(const Aws::Map< Aws::String, double > &value)
AWS_GLUE_API DataQualityRuleResult(Aws::Utils::Json::JsonView jsonValue)
void SetEvaluatedMetrics(Aws::Map< Aws::String, double > &&value)
DataQualityRuleResult & WithEvaluatedRule(Aws::String &&value)
DataQualityRuleResult & WithEvaluationMessage(const char *value)
DataQualityRuleResult & WithEvaluatedMetrics(Aws::Map< Aws::String, double > &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
DataQualityRuleResult & WithDescription(const Aws::String &value)
DataQualityRuleResult & WithEvaluatedMetrics(const Aws::Map< Aws::String, double > &value)
DataQualityRuleResult & AddEvaluatedMetrics(Aws::String &&key, double value)
AWS_GLUE_API DataQualityRuleResult & operator=(Aws::Utils::Json::JsonView jsonValue)
DataQualityRuleResult & WithResult(const DataQualityRuleResultStatus &value)
DataQualityRuleResult & AddEvaluatedMetrics(const char *key, double value)
DataQualityRuleResult & WithName(const char *value)
DataQualityRuleResult & AddEvaluatedMetrics(const Aws::String &key, double value)
const Aws::String & GetEvaluationMessage() const
DataQualityRuleResult & WithResult(DataQualityRuleResultStatus &&value)
void SetResult(const DataQualityRuleResultStatus &value)
const Aws::Map< Aws::String, double > & GetEvaluatedMetrics() const
DataQualityRuleResult & WithEvaluationMessage(const Aws::String &value)
DataQualityRuleResult & WithEvaluationMessage(Aws::String &&value)
const DataQualityRuleResultStatus & GetResult() const
DataQualityRuleResult & WithName(const Aws::String &value)
void SetResult(DataQualityRuleResultStatus &&value)
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