AWS SDK for C++

AWS SDK for C++ Version 1.11.856

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/DistributionData.h>
13#include <aws/glue/model/RunIdentifier.h>
14#include <aws/glue/model/StatisticEvaluationLevel.h>
15#include <aws/glue/model/TimestampedInclusionAnnotation.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Glue {
27namespace Model {
28
35 public:
36 AWS_GLUE_API StatisticSummary() = default;
40
42
45 inline const Aws::String& GetStatisticId() const { return m_statisticId; }
46 inline bool StatisticIdHasBeenSet() const { return m_statisticIdHasBeenSet; }
47 template <typename StatisticIdT = Aws::String>
48 void SetStatisticId(StatisticIdT&& value) {
49 m_statisticIdHasBeenSet = true;
50 m_statisticId = std::forward<StatisticIdT>(value);
51 }
52 template <typename StatisticIdT = Aws::String>
53 StatisticSummary& WithStatisticId(StatisticIdT&& value) {
54 SetStatisticId(std::forward<StatisticIdT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetProfileId() const { return m_profileId; }
64 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
65 template <typename ProfileIdT = Aws::String>
66 void SetProfileId(ProfileIdT&& value) {
67 m_profileIdHasBeenSet = true;
68 m_profileId = std::forward<ProfileIdT>(value);
69 }
70 template <typename ProfileIdT = Aws::String>
71 StatisticSummary& WithProfileId(ProfileIdT&& value) {
72 SetProfileId(std::forward<ProfileIdT>(value));
73 return *this;
74 }
76
78
81 inline const RunIdentifier& GetRunIdentifier() const { return m_runIdentifier; }
82 inline bool RunIdentifierHasBeenSet() const { return m_runIdentifierHasBeenSet; }
83 template <typename RunIdentifierT = RunIdentifier>
84 void SetRunIdentifier(RunIdentifierT&& value) {
85 m_runIdentifierHasBeenSet = true;
86 m_runIdentifier = std::forward<RunIdentifierT>(value);
87 }
88 template <typename RunIdentifierT = RunIdentifier>
89 StatisticSummary& WithRunIdentifier(RunIdentifierT&& value) {
90 SetRunIdentifier(std::forward<RunIdentifierT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::String& GetStatisticName() const { return m_statisticName; }
100 inline bool StatisticNameHasBeenSet() const { return m_statisticNameHasBeenSet; }
101 template <typename StatisticNameT = Aws::String>
102 void SetStatisticName(StatisticNameT&& value) {
103 m_statisticNameHasBeenSet = true;
104 m_statisticName = std::forward<StatisticNameT>(value);
105 }
106 template <typename StatisticNameT = Aws::String>
107 StatisticSummary& WithStatisticName(StatisticNameT&& value) {
108 SetStatisticName(std::forward<StatisticNameT>(value));
109 return *this;
110 }
112
114
117 inline double GetDoubleValue() const { return m_doubleValue; }
118 inline bool DoubleValueHasBeenSet() const { return m_doubleValueHasBeenSet; }
119 inline void SetDoubleValue(double value) {
120 m_doubleValueHasBeenSet = true;
121 m_doubleValue = value;
122 }
123 inline StatisticSummary& WithDoubleValue(double value) {
124 SetDoubleValue(value);
125 return *this;
126 }
128
130
133 inline const DistributionData& GetDistributionValue() const { return m_distributionValue; }
134 inline bool DistributionValueHasBeenSet() const { return m_distributionValueHasBeenSet; }
135 template <typename DistributionValueT = DistributionData>
136 void SetDistributionValue(DistributionValueT&& value) {
137 m_distributionValueHasBeenSet = true;
138 m_distributionValue = std::forward<DistributionValueT>(value);
139 }
140 template <typename DistributionValueT = DistributionData>
141 StatisticSummary& WithDistributionValue(DistributionValueT&& value) {
142 SetDistributionValue(std::forward<DistributionValueT>(value));
143 return *this;
144 }
146
148
152 inline StatisticEvaluationLevel GetEvaluationLevel() const { return m_evaluationLevel; }
153 inline bool EvaluationLevelHasBeenSet() const { return m_evaluationLevelHasBeenSet; }
155 m_evaluationLevelHasBeenSet = true;
156 m_evaluationLevel = value;
157 }
159 SetEvaluationLevel(value);
160 return *this;
161 }
163
165
168 inline const Aws::Vector<Aws::String>& GetColumnsReferenced() const { return m_columnsReferenced; }
169 inline bool ColumnsReferencedHasBeenSet() const { return m_columnsReferencedHasBeenSet; }
170 template <typename ColumnsReferencedT = Aws::Vector<Aws::String>>
171 void SetColumnsReferenced(ColumnsReferencedT&& value) {
172 m_columnsReferencedHasBeenSet = true;
173 m_columnsReferenced = std::forward<ColumnsReferencedT>(value);
174 }
175 template <typename ColumnsReferencedT = Aws::Vector<Aws::String>>
176 StatisticSummary& WithColumnsReferenced(ColumnsReferencedT&& value) {
177 SetColumnsReferenced(std::forward<ColumnsReferencedT>(value));
178 return *this;
179 }
180 template <typename ColumnsReferencedT = Aws::String>
181 StatisticSummary& AddColumnsReferenced(ColumnsReferencedT&& value) {
182 m_columnsReferencedHasBeenSet = true;
183 m_columnsReferenced.emplace_back(std::forward<ColumnsReferencedT>(value));
184 return *this;
185 }
187
189
192 inline const Aws::Vector<Aws::String>& GetReferencedDatasets() const { return m_referencedDatasets; }
193 inline bool ReferencedDatasetsHasBeenSet() const { return m_referencedDatasetsHasBeenSet; }
194 template <typename ReferencedDatasetsT = Aws::Vector<Aws::String>>
195 void SetReferencedDatasets(ReferencedDatasetsT&& value) {
196 m_referencedDatasetsHasBeenSet = true;
197 m_referencedDatasets = std::forward<ReferencedDatasetsT>(value);
198 }
199 template <typename ReferencedDatasetsT = Aws::Vector<Aws::String>>
200 StatisticSummary& WithReferencedDatasets(ReferencedDatasetsT&& value) {
201 SetReferencedDatasets(std::forward<ReferencedDatasetsT>(value));
202 return *this;
203 }
204 template <typename ReferencedDatasetsT = Aws::String>
205 StatisticSummary& AddReferencedDatasets(ReferencedDatasetsT&& value) {
206 m_referencedDatasetsHasBeenSet = true;
207 m_referencedDatasets.emplace_back(std::forward<ReferencedDatasetsT>(value));
208 return *this;
209 }
211
213
217 inline const Aws::Map<Aws::String, Aws::String>& GetStatisticProperties() const { return m_statisticProperties; }
218 inline bool StatisticPropertiesHasBeenSet() const { return m_statisticPropertiesHasBeenSet; }
219 template <typename StatisticPropertiesT = Aws::Map<Aws::String, Aws::String>>
220 void SetStatisticProperties(StatisticPropertiesT&& value) {
221 m_statisticPropertiesHasBeenSet = true;
222 m_statisticProperties = std::forward<StatisticPropertiesT>(value);
223 }
224 template <typename StatisticPropertiesT = Aws::Map<Aws::String, Aws::String>>
225 StatisticSummary& WithStatisticProperties(StatisticPropertiesT&& value) {
226 SetStatisticProperties(std::forward<StatisticPropertiesT>(value));
227 return *this;
228 }
229 template <typename StatisticPropertiesKeyT = Aws::String, typename StatisticPropertiesValueT = Aws::String>
230 StatisticSummary& AddStatisticProperties(StatisticPropertiesKeyT&& key, StatisticPropertiesValueT&& value) {
231 m_statisticPropertiesHasBeenSet = true;
232 m_statisticProperties.emplace(std::forward<StatisticPropertiesKeyT>(key), std::forward<StatisticPropertiesValueT>(value));
233 return *this;
234 }
236
238
241 inline const Aws::Utils::DateTime& GetRecordedOn() const { return m_recordedOn; }
242 inline bool RecordedOnHasBeenSet() const { return m_recordedOnHasBeenSet; }
243 template <typename RecordedOnT = Aws::Utils::DateTime>
244 void SetRecordedOn(RecordedOnT&& value) {
245 m_recordedOnHasBeenSet = true;
246 m_recordedOn = std::forward<RecordedOnT>(value);
247 }
248 template <typename RecordedOnT = Aws::Utils::DateTime>
249 StatisticSummary& WithRecordedOn(RecordedOnT&& value) {
250 SetRecordedOn(std::forward<RecordedOnT>(value));
251 return *this;
252 }
254
256
259 inline const TimestampedInclusionAnnotation& GetInclusionAnnotation() const { return m_inclusionAnnotation; }
260 inline bool InclusionAnnotationHasBeenSet() const { return m_inclusionAnnotationHasBeenSet; }
261 template <typename InclusionAnnotationT = TimestampedInclusionAnnotation>
262 void SetInclusionAnnotation(InclusionAnnotationT&& value) {
263 m_inclusionAnnotationHasBeenSet = true;
264 m_inclusionAnnotation = std::forward<InclusionAnnotationT>(value);
265 }
266 template <typename InclusionAnnotationT = TimestampedInclusionAnnotation>
267 StatisticSummary& WithInclusionAnnotation(InclusionAnnotationT&& value) {
268 SetInclusionAnnotation(std::forward<InclusionAnnotationT>(value));
269 return *this;
270 }
272 private:
273 Aws::String m_statisticId;
274
275 Aws::String m_profileId;
276
277 RunIdentifier m_runIdentifier;
278
279 Aws::String m_statisticName;
280
281 double m_doubleValue{0.0};
282
283 DistributionData m_distributionValue;
284
286
287 Aws::Vector<Aws::String> m_columnsReferenced;
288
289 Aws::Vector<Aws::String> m_referencedDatasets;
290
291 Aws::Map<Aws::String, Aws::String> m_statisticProperties;
292
293 Aws::Utils::DateTime m_recordedOn{};
294
295 TimestampedInclusionAnnotation m_inclusionAnnotation;
296 bool m_statisticIdHasBeenSet = false;
297 bool m_profileIdHasBeenSet = false;
298 bool m_runIdentifierHasBeenSet = false;
299 bool m_statisticNameHasBeenSet = false;
300 bool m_doubleValueHasBeenSet = false;
301 bool m_distributionValueHasBeenSet = false;
302 bool m_evaluationLevelHasBeenSet = false;
303 bool m_columnsReferencedHasBeenSet = false;
304 bool m_referencedDatasetsHasBeenSet = false;
305 bool m_statisticPropertiesHasBeenSet = false;
306 bool m_recordedOnHasBeenSet = false;
307 bool m_inclusionAnnotationHasBeenSet = false;
308};
309
310} // namespace Model
311} // namespace Glue
312} // namespace Aws
void SetColumnsReferenced(ColumnsReferencedT &&value)
void SetRunIdentifier(RunIdentifierT &&value)
StatisticSummary & WithDistributionValue(DistributionValueT &&value)
StatisticSummary & WithStatisticId(StatisticIdT &&value)
const Aws::Vector< Aws::String > & GetColumnsReferenced() const
StatisticSummary & WithRecordedOn(RecordedOnT &&value)
void SetDistributionValue(DistributionValueT &&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
const DistributionData & GetDistributionValue() 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