AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DataQualityAnalyzerResult.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API DataQualityAnalyzerResult() = default;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 DataQualityAnalyzerResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template<typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
62 template<typename DescriptionT = Aws::String>
63 DataQualityAnalyzerResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
65
67
70 inline const Aws::String& GetEvaluationMessage() const { return m_evaluationMessage; }
71 inline bool EvaluationMessageHasBeenSet() const { return m_evaluationMessageHasBeenSet; }
72 template<typename EvaluationMessageT = Aws::String>
73 void SetEvaluationMessage(EvaluationMessageT&& value) { m_evaluationMessageHasBeenSet = true; m_evaluationMessage = std::forward<EvaluationMessageT>(value); }
74 template<typename EvaluationMessageT = Aws::String>
75 DataQualityAnalyzerResult& WithEvaluationMessage(EvaluationMessageT&& value) { SetEvaluationMessage(std::forward<EvaluationMessageT>(value)); return *this;}
77
79
82 inline const Aws::Map<Aws::String, double>& GetEvaluatedMetrics() const { return m_evaluatedMetrics; }
83 inline bool EvaluatedMetricsHasBeenSet() const { return m_evaluatedMetricsHasBeenSet; }
84 template<typename EvaluatedMetricsT = Aws::Map<Aws::String, double>>
85 void SetEvaluatedMetrics(EvaluatedMetricsT&& value) { m_evaluatedMetricsHasBeenSet = true; m_evaluatedMetrics = std::forward<EvaluatedMetricsT>(value); }
86 template<typename EvaluatedMetricsT = Aws::Map<Aws::String, double>>
87 DataQualityAnalyzerResult& WithEvaluatedMetrics(EvaluatedMetricsT&& value) { SetEvaluatedMetrics(std::forward<EvaluatedMetricsT>(value)); return *this;}
89 m_evaluatedMetricsHasBeenSet = true; m_evaluatedMetrics.emplace(key, value); return *this;
90 }
92 private:
93
94 Aws::String m_name;
95 bool m_nameHasBeenSet = false;
96
97 Aws::String m_description;
98 bool m_descriptionHasBeenSet = false;
99
100 Aws::String m_evaluationMessage;
101 bool m_evaluationMessageHasBeenSet = false;
102
103 Aws::Map<Aws::String, double> m_evaluatedMetrics;
104 bool m_evaluatedMetricsHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Glue
109} // namespace Aws
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API DataQualityAnalyzerResult()=default
DataQualityAnalyzerResult & WithEvaluatedMetrics(EvaluatedMetricsT &&value)
DataQualityAnalyzerResult & WithDescription(DescriptionT &&value)
AWS_GLUE_API DataQualityAnalyzerResult(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, double > & GetEvaluatedMetrics() const
DataQualityAnalyzerResult & WithEvaluationMessage(EvaluationMessageT &&value)
DataQualityAnalyzerResult & WithName(NameT &&value)
DataQualityAnalyzerResult & AddEvaluatedMetrics(Aws::String key, double value)
AWS_GLUE_API DataQualityAnalyzerResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEvaluationMessage(EvaluationMessageT &&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