AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DataQualityAnalyzerResult.h
1
6#pragma once
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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
30 public:
31 AWS_GLUE_API DataQualityAnalyzerResult() = default;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
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) {
62 m_descriptionHasBeenSet = true;
63 m_description = std::forward<DescriptionT>(value);
64 }
65 template <typename DescriptionT = Aws::String>
67 SetDescription(std::forward<DescriptionT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetEvaluationMessage() const { return m_evaluationMessage; }
77 inline bool EvaluationMessageHasBeenSet() const { return m_evaluationMessageHasBeenSet; }
78 template <typename EvaluationMessageT = Aws::String>
79 void SetEvaluationMessage(EvaluationMessageT&& value) {
80 m_evaluationMessageHasBeenSet = true;
81 m_evaluationMessage = std::forward<EvaluationMessageT>(value);
82 }
83 template <typename EvaluationMessageT = Aws::String>
84 DataQualityAnalyzerResult& WithEvaluationMessage(EvaluationMessageT&& value) {
85 SetEvaluationMessage(std::forward<EvaluationMessageT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Map<Aws::String, double>& GetEvaluatedMetrics() const { return m_evaluatedMetrics; }
95 inline bool EvaluatedMetricsHasBeenSet() const { return m_evaluatedMetricsHasBeenSet; }
96 template <typename EvaluatedMetricsT = Aws::Map<Aws::String, double>>
97 void SetEvaluatedMetrics(EvaluatedMetricsT&& value) {
98 m_evaluatedMetricsHasBeenSet = true;
99 m_evaluatedMetrics = std::forward<EvaluatedMetricsT>(value);
100 }
101 template <typename EvaluatedMetricsT = Aws::Map<Aws::String, double>>
103 SetEvaluatedMetrics(std::forward<EvaluatedMetricsT>(value));
104 return *this;
105 }
107 m_evaluatedMetricsHasBeenSet = true;
108 m_evaluatedMetrics.emplace(key, value);
109 return *this;
110 }
112 private:
113 Aws::String m_name;
114
115 Aws::String m_description;
116
117 Aws::String m_evaluationMessage;
118
119 Aws::Map<Aws::String, double> m_evaluatedMetrics;
120 bool m_nameHasBeenSet = false;
121 bool m_descriptionHasBeenSet = false;
122 bool m_evaluationMessageHasBeenSet = false;
123 bool m_evaluatedMetricsHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace Glue
128} // 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