AWS SDK for C++

AWS SDK for C++ Version 1.11.874

Loading...
Searching...
No Matches
MaterializedViewRefreshTaskRun.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/MaterializedViewRefreshState.h>
11#include <aws/glue/model/MaterializedViewRefreshType.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 MaterializedViewRefreshTaskRun() = default;
37
39
42 inline const Aws::String& GetCustomerId() const { return m_customerId; }
43 inline bool CustomerIdHasBeenSet() const { return m_customerIdHasBeenSet; }
44 template <typename CustomerIdT = Aws::String>
45 void SetCustomerId(CustomerIdT&& value) {
46 m_customerIdHasBeenSet = true;
47 m_customerId = std::forward<CustomerIdT>(value);
48 }
49 template <typename CustomerIdT = Aws::String>
51 SetCustomerId(std::forward<CustomerIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetMaterializedViewRefreshTaskRunId() const { return m_materializedViewRefreshTaskRunId; }
61 inline bool MaterializedViewRefreshTaskRunIdHasBeenSet() const { return m_materializedViewRefreshTaskRunIdHasBeenSet; }
62 template <typename MaterializedViewRefreshTaskRunIdT = Aws::String>
63 void SetMaterializedViewRefreshTaskRunId(MaterializedViewRefreshTaskRunIdT&& value) {
64 m_materializedViewRefreshTaskRunIdHasBeenSet = true;
65 m_materializedViewRefreshTaskRunId = std::forward<MaterializedViewRefreshTaskRunIdT>(value);
66 }
67 template <typename MaterializedViewRefreshTaskRunIdT = Aws::String>
68 MaterializedViewRefreshTaskRun& WithMaterializedViewRefreshTaskRunId(MaterializedViewRefreshTaskRunIdT&& value) {
69 SetMaterializedViewRefreshTaskRunId(std::forward<MaterializedViewRefreshTaskRunIdT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
79 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
80 template <typename DatabaseNameT = Aws::String>
81 void SetDatabaseName(DatabaseNameT&& value) {
82 m_databaseNameHasBeenSet = true;
83 m_databaseName = std::forward<DatabaseNameT>(value);
84 }
85 template <typename DatabaseNameT = Aws::String>
87 SetDatabaseName(std::forward<DatabaseNameT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetTableName() const { return m_tableName; }
97 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
98 template <typename TableNameT = Aws::String>
99 void SetTableName(TableNameT&& value) {
100 m_tableNameHasBeenSet = true;
101 m_tableName = std::forward<TableNameT>(value);
102 }
103 template <typename TableNameT = Aws::String>
105 SetTableName(std::forward<TableNameT>(value));
106 return *this;
107 }
109
111
115 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
116 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
117 template <typename CatalogIdT = Aws::String>
118 void SetCatalogId(CatalogIdT&& value) {
119 m_catalogIdHasBeenSet = true;
120 m_catalogId = std::forward<CatalogIdT>(value);
121 }
122 template <typename CatalogIdT = Aws::String>
124 SetCatalogId(std::forward<CatalogIdT>(value));
125 return *this;
126 }
128
130
134 inline const Aws::String& GetRole() const { return m_role; }
135 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
136 template <typename RoleT = Aws::String>
137 void SetRole(RoleT&& value) {
138 m_roleHasBeenSet = true;
139 m_role = std::forward<RoleT>(value);
140 }
141 template <typename RoleT = Aws::String>
143 SetRole(std::forward<RoleT>(value));
144 return *this;
145 }
147
149
152 inline MaterializedViewRefreshState GetStatus() const { return m_status; }
153 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
155 m_statusHasBeenSet = true;
156 m_status = value;
157 }
159 SetStatus(value);
160 return *this;
161 }
163
165
168 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
169 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
170 template <typename CreationTimeT = Aws::Utils::DateTime>
171 void SetCreationTime(CreationTimeT&& value) {
172 m_creationTimeHasBeenSet = true;
173 m_creationTime = std::forward<CreationTimeT>(value);
174 }
175 template <typename CreationTimeT = Aws::Utils::DateTime>
177 SetCreationTime(std::forward<CreationTimeT>(value));
178 return *this;
179 }
181
183
186 inline const Aws::Utils::DateTime& GetLastUpdated() const { return m_lastUpdated; }
187 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
188 template <typename LastUpdatedT = Aws::Utils::DateTime>
189 void SetLastUpdated(LastUpdatedT&& value) {
190 m_lastUpdatedHasBeenSet = true;
191 m_lastUpdated = std::forward<LastUpdatedT>(value);
192 }
193 template <typename LastUpdatedT = Aws::Utils::DateTime>
195 SetLastUpdated(std::forward<LastUpdatedT>(value));
196 return *this;
197 }
199
201
204 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
205 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
206 template <typename StartTimeT = Aws::Utils::DateTime>
207 void SetStartTime(StartTimeT&& value) {
208 m_startTimeHasBeenSet = true;
209 m_startTime = std::forward<StartTimeT>(value);
210 }
211 template <typename StartTimeT = Aws::Utils::DateTime>
213 SetStartTime(std::forward<StartTimeT>(value));
214 return *this;
215 }
217
219
222 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
223 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
224 template <typename EndTimeT = Aws::Utils::DateTime>
225 void SetEndTime(EndTimeT&& value) {
226 m_endTimeHasBeenSet = true;
227 m_endTime = std::forward<EndTimeT>(value);
228 }
229 template <typename EndTimeT = Aws::Utils::DateTime>
231 SetEndTime(std::forward<EndTimeT>(value));
232 return *this;
233 }
235
237
240 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
241 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
242 template <typename ErrorMessageT = Aws::String>
243 void SetErrorMessage(ErrorMessageT&& value) {
244 m_errorMessageHasBeenSet = true;
245 m_errorMessage = std::forward<ErrorMessageT>(value);
246 }
247 template <typename ErrorMessageT = Aws::String>
249 SetErrorMessage(std::forward<ErrorMessageT>(value));
250 return *this;
251 }
253
255
258 inline double GetDPUSeconds() const { return m_dPUSeconds; }
259 inline bool DPUSecondsHasBeenSet() const { return m_dPUSecondsHasBeenSet; }
260 inline void SetDPUSeconds(double value) {
261 m_dPUSecondsHasBeenSet = true;
262 m_dPUSeconds = value;
263 }
265 SetDPUSeconds(value);
266 return *this;
267 }
269
271
274 inline MaterializedViewRefreshType GetRefreshType() const { return m_refreshType; }
275 inline bool RefreshTypeHasBeenSet() const { return m_refreshTypeHasBeenSet; }
277 m_refreshTypeHasBeenSet = true;
278 m_refreshType = value;
279 }
281 SetRefreshType(value);
282 return *this;
283 }
285
287
291 inline long long GetProcessedBytes() const { return m_processedBytes; }
292 inline bool ProcessedBytesHasBeenSet() const { return m_processedBytesHasBeenSet; }
293 inline void SetProcessedBytes(long long value) {
294 m_processedBytesHasBeenSet = true;
295 m_processedBytes = value;
296 }
298 SetProcessedBytes(value);
299 return *this;
300 }
302 private:
303 Aws::String m_customerId;
304
305 Aws::String m_materializedViewRefreshTaskRunId;
306
307 Aws::String m_databaseName;
308
309 Aws::String m_tableName;
310
311 Aws::String m_catalogId;
312
313 Aws::String m_role;
314
316
317 Aws::Utils::DateTime m_creationTime{};
318
319 Aws::Utils::DateTime m_lastUpdated{};
320
321 Aws::Utils::DateTime m_startTime{};
322
323 Aws::Utils::DateTime m_endTime{};
324
325 Aws::String m_errorMessage;
326
327 double m_dPUSeconds{0.0};
328
330
331 long long m_processedBytes{0};
332 bool m_customerIdHasBeenSet = false;
333 bool m_materializedViewRefreshTaskRunIdHasBeenSet = false;
334 bool m_databaseNameHasBeenSet = false;
335 bool m_tableNameHasBeenSet = false;
336 bool m_catalogIdHasBeenSet = false;
337 bool m_roleHasBeenSet = false;
338 bool m_statusHasBeenSet = false;
339 bool m_creationTimeHasBeenSet = false;
340 bool m_lastUpdatedHasBeenSet = false;
341 bool m_startTimeHasBeenSet = false;
342 bool m_endTimeHasBeenSet = false;
343 bool m_errorMessageHasBeenSet = false;
344 bool m_dPUSecondsHasBeenSet = false;
345 bool m_refreshTypeHasBeenSet = false;
346 bool m_processedBytesHasBeenSet = false;
347};
348
349} // namespace Model
350} // namespace Glue
351} // namespace Aws
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
MaterializedViewRefreshTaskRun & WithDatabaseName(DatabaseNameT &&value)
AWS_GLUE_API MaterializedViewRefreshTaskRun(Aws::Utils::Json::JsonView jsonValue)
MaterializedViewRefreshTaskRun & WithRefreshType(MaterializedViewRefreshType value)
MaterializedViewRefreshTaskRun & WithStatus(MaterializedViewRefreshState value)
void SetMaterializedViewRefreshTaskRunId(MaterializedViewRefreshTaskRunIdT &&value)
MaterializedViewRefreshTaskRun & WithStartTime(StartTimeT &&value)
MaterializedViewRefreshTaskRun & WithEndTime(EndTimeT &&value)
MaterializedViewRefreshTaskRun & WithMaterializedViewRefreshTaskRunId(MaterializedViewRefreshTaskRunIdT &&value)
MaterializedViewRefreshTaskRun & WithLastUpdated(LastUpdatedT &&value)
AWS_GLUE_API MaterializedViewRefreshTaskRun & operator=(Aws::Utils::Json::JsonView jsonValue)
MaterializedViewRefreshTaskRun & WithRole(RoleT &&value)
MaterializedViewRefreshTaskRun & WithCreationTime(CreationTimeT &&value)
MaterializedViewRefreshTaskRun & WithTableName(TableNameT &&value)
MaterializedViewRefreshTaskRun & WithCustomerId(CustomerIdT &&value)
MaterializedViewRefreshTaskRun & WithDPUSeconds(double value)
MaterializedViewRefreshTaskRun & WithCatalogId(CatalogIdT &&value)
MaterializedViewRefreshTaskRun & WithProcessedBytes(long long value)
MaterializedViewRefreshTaskRun & WithErrorMessage(ErrorMessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue