AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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
133 inline const Aws::String& GetRole() const { return m_role; }
134 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
135 template <typename RoleT = Aws::String>
136 void SetRole(RoleT&& value) {
137 m_roleHasBeenSet = true;
138 m_role = std::forward<RoleT>(value);
139 }
140 template <typename RoleT = Aws::String>
142 SetRole(std::forward<RoleT>(value));
143 return *this;
144 }
146
148
151 inline MaterializedViewRefreshState GetStatus() const { return m_status; }
152 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
154 m_statusHasBeenSet = true;
155 m_status = value;
156 }
158 SetStatus(value);
159 return *this;
160 }
162
164
167 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
168 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
169 template <typename CreationTimeT = Aws::Utils::DateTime>
170 void SetCreationTime(CreationTimeT&& value) {
171 m_creationTimeHasBeenSet = true;
172 m_creationTime = std::forward<CreationTimeT>(value);
173 }
174 template <typename CreationTimeT = Aws::Utils::DateTime>
176 SetCreationTime(std::forward<CreationTimeT>(value));
177 return *this;
178 }
180
182
185 inline const Aws::Utils::DateTime& GetLastUpdated() const { return m_lastUpdated; }
186 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
187 template <typename LastUpdatedT = Aws::Utils::DateTime>
188 void SetLastUpdated(LastUpdatedT&& value) {
189 m_lastUpdatedHasBeenSet = true;
190 m_lastUpdated = std::forward<LastUpdatedT>(value);
191 }
192 template <typename LastUpdatedT = Aws::Utils::DateTime>
194 SetLastUpdated(std::forward<LastUpdatedT>(value));
195 return *this;
196 }
198
200
203 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
204 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
205 template <typename StartTimeT = Aws::Utils::DateTime>
206 void SetStartTime(StartTimeT&& value) {
207 m_startTimeHasBeenSet = true;
208 m_startTime = std::forward<StartTimeT>(value);
209 }
210 template <typename StartTimeT = Aws::Utils::DateTime>
212 SetStartTime(std::forward<StartTimeT>(value));
213 return *this;
214 }
216
218
221 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
222 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
223 template <typename EndTimeT = Aws::Utils::DateTime>
224 void SetEndTime(EndTimeT&& value) {
225 m_endTimeHasBeenSet = true;
226 m_endTime = std::forward<EndTimeT>(value);
227 }
228 template <typename EndTimeT = Aws::Utils::DateTime>
230 SetEndTime(std::forward<EndTimeT>(value));
231 return *this;
232 }
234
236
239 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
240 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
241 template <typename ErrorMessageT = Aws::String>
242 void SetErrorMessage(ErrorMessageT&& value) {
243 m_errorMessageHasBeenSet = true;
244 m_errorMessage = std::forward<ErrorMessageT>(value);
245 }
246 template <typename ErrorMessageT = Aws::String>
248 SetErrorMessage(std::forward<ErrorMessageT>(value));
249 return *this;
250 }
252
254
257 inline double GetDPUSeconds() const { return m_dPUSeconds; }
258 inline bool DPUSecondsHasBeenSet() const { return m_dPUSecondsHasBeenSet; }
259 inline void SetDPUSeconds(double value) {
260 m_dPUSecondsHasBeenSet = true;
261 m_dPUSeconds = value;
262 }
264 SetDPUSeconds(value);
265 return *this;
266 }
268
270
273 inline MaterializedViewRefreshType GetRefreshType() const { return m_refreshType; }
274 inline bool RefreshTypeHasBeenSet() const { return m_refreshTypeHasBeenSet; }
276 m_refreshTypeHasBeenSet = true;
277 m_refreshType = value;
278 }
280 SetRefreshType(value);
281 return *this;
282 }
284
286
290 inline long long GetProcessedBytes() const { return m_processedBytes; }
291 inline bool ProcessedBytesHasBeenSet() const { return m_processedBytesHasBeenSet; }
292 inline void SetProcessedBytes(long long value) {
293 m_processedBytesHasBeenSet = true;
294 m_processedBytes = value;
295 }
297 SetProcessedBytes(value);
298 return *this;
299 }
301 private:
302 Aws::String m_customerId;
303
304 Aws::String m_materializedViewRefreshTaskRunId;
305
306 Aws::String m_databaseName;
307
308 Aws::String m_tableName;
309
310 Aws::String m_catalogId;
311
312 Aws::String m_role;
313
315
316 Aws::Utils::DateTime m_creationTime{};
317
318 Aws::Utils::DateTime m_lastUpdated{};
319
320 Aws::Utils::DateTime m_startTime{};
321
322 Aws::Utils::DateTime m_endTime{};
323
324 Aws::String m_errorMessage;
325
326 double m_dPUSeconds{0.0};
327
329
330 long long m_processedBytes{0};
331 bool m_customerIdHasBeenSet = false;
332 bool m_materializedViewRefreshTaskRunIdHasBeenSet = false;
333 bool m_databaseNameHasBeenSet = false;
334 bool m_tableNameHasBeenSet = false;
335 bool m_catalogIdHasBeenSet = false;
336 bool m_roleHasBeenSet = false;
337 bool m_statusHasBeenSet = false;
338 bool m_creationTimeHasBeenSet = false;
339 bool m_lastUpdatedHasBeenSet = false;
340 bool m_startTimeHasBeenSet = false;
341 bool m_endTimeHasBeenSet = false;
342 bool m_errorMessageHasBeenSet = false;
343 bool m_dPUSecondsHasBeenSet = false;
344 bool m_refreshTypeHasBeenSet = false;
345 bool m_processedBytesHasBeenSet = false;
346};
347
348} // namespace Model
349} // namespace Glue
350} // 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