AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
StatisticSummary.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/Glue_EXPORTS.h>
12#include <aws/glue/model/RunIdentifier.h>
13#include <aws/glue/model/StatisticEvaluationLevel.h>
14#include <aws/glue/model/TimestampedInclusionAnnotation.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Glue {
26namespace Model {
27
34 public:
35 AWS_GLUE_API StatisticSummary() = default;
39
41
44 inline const Aws::String& GetStatisticId() const { return m_statisticId; }
45 inline bool StatisticIdHasBeenSet() const { return m_statisticIdHasBeenSet; }
46 template <typename StatisticIdT = Aws::String>
47 void SetStatisticId(StatisticIdT&& value) {
48 m_statisticIdHasBeenSet = true;
49 m_statisticId = std::forward<StatisticIdT>(value);
50 }
51 template <typename StatisticIdT = Aws::String>
52 StatisticSummary& WithStatisticId(StatisticIdT&& value) {
53 SetStatisticId(std::forward<StatisticIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetProfileId() const { return m_profileId; }
63 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
64 template <typename ProfileIdT = Aws::String>
65 void SetProfileId(ProfileIdT&& value) {
66 m_profileIdHasBeenSet = true;
67 m_profileId = std::forward<ProfileIdT>(value);
68 }
69 template <typename ProfileIdT = Aws::String>
70 StatisticSummary& WithProfileId(ProfileIdT&& value) {
71 SetProfileId(std::forward<ProfileIdT>(value));
72 return *this;
73 }
75
77
80 inline const RunIdentifier& GetRunIdentifier() const { return m_runIdentifier; }
81 inline bool RunIdentifierHasBeenSet() const { return m_runIdentifierHasBeenSet; }
82 template <typename RunIdentifierT = RunIdentifier>
83 void SetRunIdentifier(RunIdentifierT&& value) {
84 m_runIdentifierHasBeenSet = true;
85 m_runIdentifier = std::forward<RunIdentifierT>(value);
86 }
87 template <typename RunIdentifierT = RunIdentifier>
88 StatisticSummary& WithRunIdentifier(RunIdentifierT&& value) {
89 SetRunIdentifier(std::forward<RunIdentifierT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetStatisticName() const { return m_statisticName; }
99 inline bool StatisticNameHasBeenSet() const { return m_statisticNameHasBeenSet; }
100 template <typename StatisticNameT = Aws::String>
101 void SetStatisticName(StatisticNameT&& value) {
102 m_statisticNameHasBeenSet = true;
103 m_statisticName = std::forward<StatisticNameT>(value);
104 }
105 template <typename StatisticNameT = Aws::String>
106 StatisticSummary& WithStatisticName(StatisticNameT&& value) {
107 SetStatisticName(std::forward<StatisticNameT>(value));
108 return *this;
109 }
111
113
116 inline double GetDoubleValue() const { return m_doubleValue; }
117 inline bool DoubleValueHasBeenSet() const { return m_doubleValueHasBeenSet; }
118 inline void SetDoubleValue(double value) {
119 m_doubleValueHasBeenSet = true;
120 m_doubleValue = value;
121 }
122 inline StatisticSummary& WithDoubleValue(double value) {
123 SetDoubleValue(value);
124 return *this;
125 }
127
129
133 inline StatisticEvaluationLevel GetEvaluationLevel() const { return m_evaluationLevel; }
134 inline bool EvaluationLevelHasBeenSet() const { return m_evaluationLevelHasBeenSet; }
136 m_evaluationLevelHasBeenSet = true;
137 m_evaluationLevel = value;
138 }
140 SetEvaluationLevel(value);
141 return *this;
142 }
144
146
149 inline const Aws::Vector<Aws::String>& GetColumnsReferenced() const { return m_columnsReferenced; }
150 inline bool ColumnsReferencedHasBeenSet() const { return m_columnsReferencedHasBeenSet; }
151 template <typename ColumnsReferencedT = Aws::Vector<Aws::String>>
152 void SetColumnsReferenced(ColumnsReferencedT&& value) {
153 m_columnsReferencedHasBeenSet = true;
154 m_columnsReferenced = std::forward<ColumnsReferencedT>(value);
155 }
156 template <typename ColumnsReferencedT = Aws::Vector<Aws::String>>
157 StatisticSummary& WithColumnsReferenced(ColumnsReferencedT&& value) {
158 SetColumnsReferenced(std::forward<ColumnsReferencedT>(value));
159 return *this;
160 }
161 template <typename ColumnsReferencedT = Aws::String>
162 StatisticSummary& AddColumnsReferenced(ColumnsReferencedT&& value) {
163 m_columnsReferencedHasBeenSet = true;
164 m_columnsReferenced.emplace_back(std::forward<ColumnsReferencedT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::Vector<Aws::String>& GetReferencedDatasets() const { return m_referencedDatasets; }
174 inline bool ReferencedDatasetsHasBeenSet() const { return m_referencedDatasetsHasBeenSet; }
175 template <typename ReferencedDatasetsT = Aws::Vector<Aws::String>>
176 void SetReferencedDatasets(ReferencedDatasetsT&& value) {
177 m_referencedDatasetsHasBeenSet = true;
178 m_referencedDatasets = std::forward<ReferencedDatasetsT>(value);
179 }
180 template <typename ReferencedDatasetsT = Aws::Vector<Aws::String>>
181 StatisticSummary& WithReferencedDatasets(ReferencedDatasetsT&& value) {
182 SetReferencedDatasets(std::forward<ReferencedDatasetsT>(value));
183 return *this;
184 }
185 template <typename ReferencedDatasetsT = Aws::String>
186 StatisticSummary& AddReferencedDatasets(ReferencedDatasetsT&& value) {
187 m_referencedDatasetsHasBeenSet = true;
188 m_referencedDatasets.emplace_back(std::forward<ReferencedDatasetsT>(value));
189 return *this;
190 }
192
194
198 inline const Aws::Map<Aws::String, Aws::String>& GetStatisticProperties() const { return m_statisticProperties; }
199 inline bool StatisticPropertiesHasBeenSet() const { return m_statisticPropertiesHasBeenSet; }
200 template <typename StatisticPropertiesT = Aws::Map<Aws::String, Aws::String>>
201 void SetStatisticProperties(StatisticPropertiesT&& value) {
202 m_statisticPropertiesHasBeenSet = true;
203 m_statisticProperties = std::forward<StatisticPropertiesT>(value);
204 }
205 template <typename StatisticPropertiesT = Aws::Map<Aws::String, Aws::String>>
206 StatisticSummary& WithStatisticProperties(StatisticPropertiesT&& value) {
207 SetStatisticProperties(std::forward<StatisticPropertiesT>(value));
208 return *this;
209 }
210 template <typename StatisticPropertiesKeyT = Aws::String, typename StatisticPropertiesValueT = Aws::String>
211 StatisticSummary& AddStatisticProperties(StatisticPropertiesKeyT&& key, StatisticPropertiesValueT&& value) {
212 m_statisticPropertiesHasBeenSet = true;
213 m_statisticProperties.emplace(std::forward<StatisticPropertiesKeyT>(key), std::forward<StatisticPropertiesValueT>(value));
214 return *this;
215 }
217
219
222 inline const Aws::Utils::DateTime& GetRecordedOn() const { return m_recordedOn; }
223 inline bool RecordedOnHasBeenSet() const { return m_recordedOnHasBeenSet; }
224 template <typename RecordedOnT = Aws::Utils::DateTime>
225 void SetRecordedOn(RecordedOnT&& value) {
226 m_recordedOnHasBeenSet = true;
227 m_recordedOn = std::forward<RecordedOnT>(value);
228 }
229 template <typename RecordedOnT = Aws::Utils::DateTime>
230 StatisticSummary& WithRecordedOn(RecordedOnT&& value) {
231 SetRecordedOn(std::forward<RecordedOnT>(value));
232 return *this;
233 }
235
237
240 inline const TimestampedInclusionAnnotation& GetInclusionAnnotation() const { return m_inclusionAnnotation; }
241 inline bool InclusionAnnotationHasBeenSet() const { return m_inclusionAnnotationHasBeenSet; }
242 template <typename InclusionAnnotationT = TimestampedInclusionAnnotation>
243 void SetInclusionAnnotation(InclusionAnnotationT&& value) {
244 m_inclusionAnnotationHasBeenSet = true;
245 m_inclusionAnnotation = std::forward<InclusionAnnotationT>(value);
246 }
247 template <typename InclusionAnnotationT = TimestampedInclusionAnnotation>
248 StatisticSummary& WithInclusionAnnotation(InclusionAnnotationT&& value) {
249 SetInclusionAnnotation(std::forward<InclusionAnnotationT>(value));
250 return *this;
251 }
253 private:
254 Aws::String m_statisticId;
255
256 Aws::String m_profileId;
257
258 RunIdentifier m_runIdentifier;
259
260 Aws::String m_statisticName;
261
262 double m_doubleValue{0.0};
263
265
266 Aws::Vector<Aws::String> m_columnsReferenced;
267
268 Aws::Vector<Aws::String> m_referencedDatasets;
269
270 Aws::Map<Aws::String, Aws::String> m_statisticProperties;
271
272 Aws::Utils::DateTime m_recordedOn{};
273
274 TimestampedInclusionAnnotation m_inclusionAnnotation;
275 bool m_statisticIdHasBeenSet = false;
276 bool m_profileIdHasBeenSet = false;
277 bool m_runIdentifierHasBeenSet = false;
278 bool m_statisticNameHasBeenSet = false;
279 bool m_doubleValueHasBeenSet = false;
280 bool m_evaluationLevelHasBeenSet = false;
281 bool m_columnsReferencedHasBeenSet = false;
282 bool m_referencedDatasetsHasBeenSet = false;
283 bool m_statisticPropertiesHasBeenSet = false;
284 bool m_recordedOnHasBeenSet = false;
285 bool m_inclusionAnnotationHasBeenSet = false;
286};
287
288} // namespace Model
289} // namespace Glue
290} // namespace Aws
void SetColumnsReferenced(ColumnsReferencedT &&value)
void SetRunIdentifier(RunIdentifierT &&value)
StatisticSummary & WithStatisticId(StatisticIdT &&value)
const Aws::Vector< Aws::String > & GetColumnsReferenced() const
StatisticSummary & WithRecordedOn(RecordedOnT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
StatisticEvaluationLevel GetEvaluationLevel() const
StatisticSummary & WithEvaluationLevel(StatisticEvaluationLevel value)
StatisticSummary & AddReferencedDatasets(ReferencedDatasetsT &&value)
StatisticSummary & WithDoubleValue(double value)
AWS_GLUE_API StatisticSummary()=default
void SetEvaluationLevel(StatisticEvaluationLevel value)
StatisticSummary & WithProfileId(ProfileIdT &&value)
const Aws::Utils::DateTime & GetRecordedOn() const
StatisticSummary & WithReferencedDatasets(ReferencedDatasetsT &&value)
void SetProfileId(ProfileIdT &&value)
StatisticSummary & WithInclusionAnnotation(InclusionAnnotationT &&value)
const Aws::String & GetStatisticName() const
const RunIdentifier & GetRunIdentifier() const
StatisticSummary & WithColumnsReferenced(ColumnsReferencedT &&value)
StatisticSummary & WithRunIdentifier(RunIdentifierT &&value)
StatisticSummary & AddStatisticProperties(StatisticPropertiesKeyT &&key, StatisticPropertiesValueT &&value)
void SetStatisticId(StatisticIdT &&value)
StatisticSummary & WithStatisticProperties(StatisticPropertiesT &&value)
void SetInclusionAnnotation(InclusionAnnotationT &&value)
const Aws::Vector< Aws::String > & GetReferencedDatasets() const
AWS_GLUE_API StatisticSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API StatisticSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetProfileId() const
StatisticSummary & WithStatisticName(StatisticNameT &&value)
void SetReferencedDatasets(ReferencedDatasetsT &&value)
const TimestampedInclusionAnnotation & GetInclusionAnnotation() const
StatisticSummary & AddColumnsReferenced(ColumnsReferencedT &&value)
void SetRecordedOn(RecordedOnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetStatisticProperties() const
void SetStatisticName(StatisticNameT &&value)
void SetStatisticProperties(StatisticPropertiesT &&value)
const Aws::String & GetStatisticId() const
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue