AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StatisticSummary.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/RunIdentifier.h>
10#include <aws/glue/model/StatisticEvaluationLevel.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/glue/model/TimestampedInclusionAnnotation.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Glue
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_GLUE_API StatisticSummary() = default;
44
45
47
50 inline const Aws::String& GetStatisticId() const { return m_statisticId; }
51 inline bool StatisticIdHasBeenSet() const { return m_statisticIdHasBeenSet; }
52 template<typename StatisticIdT = Aws::String>
53 void SetStatisticId(StatisticIdT&& value) { m_statisticIdHasBeenSet = true; m_statisticId = std::forward<StatisticIdT>(value); }
54 template<typename StatisticIdT = Aws::String>
55 StatisticSummary& WithStatisticId(StatisticIdT&& value) { SetStatisticId(std::forward<StatisticIdT>(value)); return *this;}
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) { m_profileIdHasBeenSet = true; m_profileId = std::forward<ProfileIdT>(value); }
66 template<typename ProfileIdT = Aws::String>
67 StatisticSummary& WithProfileId(ProfileIdT&& value) { SetProfileId(std::forward<ProfileIdT>(value)); return *this;}
69
71
74 inline const RunIdentifier& GetRunIdentifier() const { return m_runIdentifier; }
75 inline bool RunIdentifierHasBeenSet() const { return m_runIdentifierHasBeenSet; }
76 template<typename RunIdentifierT = RunIdentifier>
77 void SetRunIdentifier(RunIdentifierT&& value) { m_runIdentifierHasBeenSet = true; m_runIdentifier = std::forward<RunIdentifierT>(value); }
78 template<typename RunIdentifierT = RunIdentifier>
79 StatisticSummary& WithRunIdentifier(RunIdentifierT&& value) { SetRunIdentifier(std::forward<RunIdentifierT>(value)); return *this;}
81
83
86 inline const Aws::String& GetStatisticName() const { return m_statisticName; }
87 inline bool StatisticNameHasBeenSet() const { return m_statisticNameHasBeenSet; }
88 template<typename StatisticNameT = Aws::String>
89 void SetStatisticName(StatisticNameT&& value) { m_statisticNameHasBeenSet = true; m_statisticName = std::forward<StatisticNameT>(value); }
90 template<typename StatisticNameT = Aws::String>
91 StatisticSummary& WithStatisticName(StatisticNameT&& value) { SetStatisticName(std::forward<StatisticNameT>(value)); return *this;}
93
95
98 inline double GetDoubleValue() const { return m_doubleValue; }
99 inline bool DoubleValueHasBeenSet() const { return m_doubleValueHasBeenSet; }
100 inline void SetDoubleValue(double value) { m_doubleValueHasBeenSet = true; m_doubleValue = value; }
101 inline StatisticSummary& WithDoubleValue(double value) { SetDoubleValue(value); return *this;}
103
105
109 inline StatisticEvaluationLevel GetEvaluationLevel() const { return m_evaluationLevel; }
110 inline bool EvaluationLevelHasBeenSet() const { return m_evaluationLevelHasBeenSet; }
111 inline void SetEvaluationLevel(StatisticEvaluationLevel value) { m_evaluationLevelHasBeenSet = true; m_evaluationLevel = value; }
114
116
119 inline const Aws::Vector<Aws::String>& GetColumnsReferenced() const { return m_columnsReferenced; }
120 inline bool ColumnsReferencedHasBeenSet() const { return m_columnsReferencedHasBeenSet; }
121 template<typename ColumnsReferencedT = Aws::Vector<Aws::String>>
122 void SetColumnsReferenced(ColumnsReferencedT&& value) { m_columnsReferencedHasBeenSet = true; m_columnsReferenced = std::forward<ColumnsReferencedT>(value); }
123 template<typename ColumnsReferencedT = Aws::Vector<Aws::String>>
124 StatisticSummary& WithColumnsReferenced(ColumnsReferencedT&& value) { SetColumnsReferenced(std::forward<ColumnsReferencedT>(value)); return *this;}
125 template<typename ColumnsReferencedT = Aws::String>
126 StatisticSummary& AddColumnsReferenced(ColumnsReferencedT&& value) { m_columnsReferencedHasBeenSet = true; m_columnsReferenced.emplace_back(std::forward<ColumnsReferencedT>(value)); return *this; }
128
130
133 inline const Aws::Vector<Aws::String>& GetReferencedDatasets() const { return m_referencedDatasets; }
134 inline bool ReferencedDatasetsHasBeenSet() const { return m_referencedDatasetsHasBeenSet; }
135 template<typename ReferencedDatasetsT = Aws::Vector<Aws::String>>
136 void SetReferencedDatasets(ReferencedDatasetsT&& value) { m_referencedDatasetsHasBeenSet = true; m_referencedDatasets = std::forward<ReferencedDatasetsT>(value); }
137 template<typename ReferencedDatasetsT = Aws::Vector<Aws::String>>
138 StatisticSummary& WithReferencedDatasets(ReferencedDatasetsT&& value) { SetReferencedDatasets(std::forward<ReferencedDatasetsT>(value)); return *this;}
139 template<typename ReferencedDatasetsT = Aws::String>
140 StatisticSummary& AddReferencedDatasets(ReferencedDatasetsT&& value) { m_referencedDatasetsHasBeenSet = true; m_referencedDatasets.emplace_back(std::forward<ReferencedDatasetsT>(value)); return *this; }
142
144
148 inline const Aws::Map<Aws::String, Aws::String>& GetStatisticProperties() const { return m_statisticProperties; }
149 inline bool StatisticPropertiesHasBeenSet() const { return m_statisticPropertiesHasBeenSet; }
150 template<typename StatisticPropertiesT = Aws::Map<Aws::String, Aws::String>>
151 void SetStatisticProperties(StatisticPropertiesT&& value) { m_statisticPropertiesHasBeenSet = true; m_statisticProperties = std::forward<StatisticPropertiesT>(value); }
152 template<typename StatisticPropertiesT = Aws::Map<Aws::String, Aws::String>>
153 StatisticSummary& WithStatisticProperties(StatisticPropertiesT&& value) { SetStatisticProperties(std::forward<StatisticPropertiesT>(value)); return *this;}
154 template<typename StatisticPropertiesKeyT = Aws::String, typename StatisticPropertiesValueT = Aws::String>
155 StatisticSummary& AddStatisticProperties(StatisticPropertiesKeyT&& key, StatisticPropertiesValueT&& value) {
156 m_statisticPropertiesHasBeenSet = true; m_statisticProperties.emplace(std::forward<StatisticPropertiesKeyT>(key), std::forward<StatisticPropertiesValueT>(value)); return *this;
157 }
159
161
164 inline const Aws::Utils::DateTime& GetRecordedOn() const { return m_recordedOn; }
165 inline bool RecordedOnHasBeenSet() const { return m_recordedOnHasBeenSet; }
166 template<typename RecordedOnT = Aws::Utils::DateTime>
167 void SetRecordedOn(RecordedOnT&& value) { m_recordedOnHasBeenSet = true; m_recordedOn = std::forward<RecordedOnT>(value); }
168 template<typename RecordedOnT = Aws::Utils::DateTime>
169 StatisticSummary& WithRecordedOn(RecordedOnT&& value) { SetRecordedOn(std::forward<RecordedOnT>(value)); return *this;}
171
173
176 inline const TimestampedInclusionAnnotation& GetInclusionAnnotation() const { return m_inclusionAnnotation; }
177 inline bool InclusionAnnotationHasBeenSet() const { return m_inclusionAnnotationHasBeenSet; }
178 template<typename InclusionAnnotationT = TimestampedInclusionAnnotation>
179 void SetInclusionAnnotation(InclusionAnnotationT&& value) { m_inclusionAnnotationHasBeenSet = true; m_inclusionAnnotation = std::forward<InclusionAnnotationT>(value); }
180 template<typename InclusionAnnotationT = TimestampedInclusionAnnotation>
181 StatisticSummary& WithInclusionAnnotation(InclusionAnnotationT&& value) { SetInclusionAnnotation(std::forward<InclusionAnnotationT>(value)); return *this;}
183 private:
184
185 Aws::String m_statisticId;
186 bool m_statisticIdHasBeenSet = false;
187
188 Aws::String m_profileId;
189 bool m_profileIdHasBeenSet = false;
190
191 RunIdentifier m_runIdentifier;
192 bool m_runIdentifierHasBeenSet = false;
193
194 Aws::String m_statisticName;
195 bool m_statisticNameHasBeenSet = false;
196
197 double m_doubleValue{0.0};
198 bool m_doubleValueHasBeenSet = false;
199
201 bool m_evaluationLevelHasBeenSet = false;
202
203 Aws::Vector<Aws::String> m_columnsReferenced;
204 bool m_columnsReferencedHasBeenSet = false;
205
206 Aws::Vector<Aws::String> m_referencedDatasets;
207 bool m_referencedDatasetsHasBeenSet = false;
208
209 Aws::Map<Aws::String, Aws::String> m_statisticProperties;
210 bool m_statisticPropertiesHasBeenSet = false;
211
212 Aws::Utils::DateTime m_recordedOn{};
213 bool m_recordedOnHasBeenSet = false;
214
215 TimestampedInclusionAnnotation m_inclusionAnnotation;
216 bool m_inclusionAnnotationHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace Glue
221} // 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