AWS SDK for C++

AWS SDK for C++ Version 1.11.912

Loading...
Searching...
No Matches
DataQualityResultsV2Description.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/DataSource.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue {
23namespace Model {
24
32 public:
33 AWS_GLUE_API DataQualityResultsV2Description() = default;
37
39
42 inline const Aws::String& GetResultId() const { return m_resultId; }
43 inline bool ResultIdHasBeenSet() const { return m_resultIdHasBeenSet; }
44 template <typename ResultIdT = Aws::String>
45 void SetResultId(ResultIdT&& value) {
46 m_resultIdHasBeenSet = true;
47 m_resultId = std::forward<ResultIdT>(value);
48 }
49 template <typename ResultIdT = Aws::String>
51 SetResultId(std::forward<ResultIdT>(value));
52 return *this;
53 }
55
57
60 inline const DataSource& GetDataSource() const { return m_dataSource; }
61 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
62 template <typename DataSourceT = DataSource>
63 void SetDataSource(DataSourceT&& value) {
64 m_dataSourceHasBeenSet = true;
65 m_dataSource = std::forward<DataSourceT>(value);
66 }
67 template <typename DataSourceT = DataSource>
69 SetDataSource(std::forward<DataSourceT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Utils::DateTime& GetResultPublishedOn() const { return m_resultPublishedOn; }
79 inline bool ResultPublishedOnHasBeenSet() const { return m_resultPublishedOnHasBeenSet; }
80 template <typename ResultPublishedOnT = Aws::Utils::DateTime>
81 void SetResultPublishedOn(ResultPublishedOnT&& value) {
82 m_resultPublishedOnHasBeenSet = true;
83 m_resultPublishedOn = std::forward<ResultPublishedOnT>(value);
84 }
85 template <typename ResultPublishedOnT = Aws::Utils::DateTime>
87 SetResultPublishedOn(std::forward<ResultPublishedOnT>(value));
88 return *this;
89 }
91
93
98 inline const Aws::Map<Aws::String, Aws::String>& GetDimensions() const { return m_dimensions; }
99 inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; }
100 template <typename DimensionsT = Aws::Map<Aws::String, Aws::String>>
101 void SetDimensions(DimensionsT&& value) {
102 m_dimensionsHasBeenSet = true;
103 m_dimensions = std::forward<DimensionsT>(value);
104 }
105 template <typename DimensionsT = Aws::Map<Aws::String, Aws::String>>
107 SetDimensions(std::forward<DimensionsT>(value));
108 return *this;
109 }
110 template <typename DimensionsKeyT = Aws::String, typename DimensionsValueT = Aws::String>
111 DataQualityResultsV2Description& AddDimensions(DimensionsKeyT&& key, DimensionsValueT&& value) {
112 m_dimensionsHasBeenSet = true;
113 m_dimensions.emplace(std::forward<DimensionsKeyT>(key), std::forward<DimensionsValueT>(value));
114 return *this;
115 }
117
119
123 inline const Aws::String& GetEvaluationContext() const { return m_evaluationContext; }
124 inline bool EvaluationContextHasBeenSet() const { return m_evaluationContextHasBeenSet; }
125 template <typename EvaluationContextT = Aws::String>
126 void SetEvaluationContext(EvaluationContextT&& value) {
127 m_evaluationContextHasBeenSet = true;
128 m_evaluationContext = std::forward<EvaluationContextT>(value);
129 }
130 template <typename EvaluationContextT = Aws::String>
132 SetEvaluationContext(std::forward<EvaluationContextT>(value));
133 return *this;
134 }
136
138
143 inline const Aws::Map<Aws::String, Aws::String>& GetDescriptors() const { return m_descriptors; }
144 inline bool DescriptorsHasBeenSet() const { return m_descriptorsHasBeenSet; }
145 template <typename DescriptorsT = Aws::Map<Aws::String, Aws::String>>
146 void SetDescriptors(DescriptorsT&& value) {
147 m_descriptorsHasBeenSet = true;
148 m_descriptors = std::forward<DescriptorsT>(value);
149 }
150 template <typename DescriptorsT = Aws::Map<Aws::String, Aws::String>>
152 SetDescriptors(std::forward<DescriptorsT>(value));
153 return *this;
154 }
155 template <typename DescriptorsKeyT = Aws::String, typename DescriptorsValueT = Aws::String>
156 DataQualityResultsV2Description& AddDescriptors(DescriptorsKeyT&& key, DescriptorsValueT&& value) {
157 m_descriptorsHasBeenSet = true;
158 m_descriptors.emplace(std::forward<DescriptorsKeyT>(key), std::forward<DescriptorsValueT>(value));
159 return *this;
160 }
162 private:
163 Aws::String m_resultId;
164
165 DataSource m_dataSource;
166
167 Aws::Utils::DateTime m_resultPublishedOn{};
168
170
171 Aws::String m_evaluationContext;
172
174 bool m_resultIdHasBeenSet = false;
175 bool m_dataSourceHasBeenSet = false;
176 bool m_resultPublishedOnHasBeenSet = false;
177 bool m_dimensionsHasBeenSet = false;
178 bool m_evaluationContextHasBeenSet = false;
179 bool m_descriptorsHasBeenSet = false;
180};
181
182} // namespace Model
183} // namespace Glue
184} // namespace Aws
DataQualityResultsV2Description & WithResultId(ResultIdT &&value)
AWS_GLUE_API DataQualityResultsV2Description & operator=(Aws::Utils::Json::JsonView jsonValue)
DataQualityResultsV2Description & AddDimensions(DimensionsKeyT &&key, DimensionsValueT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
DataQualityResultsV2Description & AddDescriptors(DescriptorsKeyT &&key, DescriptorsValueT &&value)
DataQualityResultsV2Description & WithResultPublishedOn(ResultPublishedOnT &&value)
AWS_GLUE_API DataQualityResultsV2Description(Aws::Utils::Json::JsonView jsonValue)
DataQualityResultsV2Description & WithDescriptors(DescriptorsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetDimensions() const
DataQualityResultsV2Description & WithDataSource(DataSourceT &&value)
DataQualityResultsV2Description & WithEvaluationContext(EvaluationContextT &&value)
const Aws::Map< Aws::String, Aws::String > & GetDescriptors() const
DataQualityResultsV2Description & WithDimensions(DimensionsT &&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