AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TableStatistics.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DatabaseMigrationService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATABASEMIGRATIONSERVICE_API TableStatistics();
37 AWS_DATABASEMIGRATIONSERVICE_API TableStatistics(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API TableStatistics& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
47 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
48 inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
49 inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
50 inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
51 inline TableStatistics& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
52 inline TableStatistics& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
53 inline TableStatistics& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
55
57
60 inline const Aws::String& GetTableName() const{ return m_tableName; }
61 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
62 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
63 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
64 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
65 inline TableStatistics& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
66 inline TableStatistics& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
67 inline TableStatistics& WithTableName(const char* value) { SetTableName(value); return *this;}
69
71
74 inline long long GetInserts() const{ return m_inserts; }
75 inline bool InsertsHasBeenSet() const { return m_insertsHasBeenSet; }
76 inline void SetInserts(long long value) { m_insertsHasBeenSet = true; m_inserts = value; }
77 inline TableStatistics& WithInserts(long long value) { SetInserts(value); return *this;}
79
81
84 inline long long GetDeletes() const{ return m_deletes; }
85 inline bool DeletesHasBeenSet() const { return m_deletesHasBeenSet; }
86 inline void SetDeletes(long long value) { m_deletesHasBeenSet = true; m_deletes = value; }
87 inline TableStatistics& WithDeletes(long long value) { SetDeletes(value); return *this;}
89
91
94 inline long long GetUpdates() const{ return m_updates; }
95 inline bool UpdatesHasBeenSet() const { return m_updatesHasBeenSet; }
96 inline void SetUpdates(long long value) { m_updatesHasBeenSet = true; m_updates = value; }
97 inline TableStatistics& WithUpdates(long long value) { SetUpdates(value); return *this;}
99
101
105 inline long long GetDdls() const{ return m_ddls; }
106 inline bool DdlsHasBeenSet() const { return m_ddlsHasBeenSet; }
107 inline void SetDdls(long long value) { m_ddlsHasBeenSet = true; m_ddls = value; }
108 inline TableStatistics& WithDdls(long long value) { SetDdls(value); return *this;}
110
112
115 inline long long GetAppliedInserts() const{ return m_appliedInserts; }
116 inline bool AppliedInsertsHasBeenSet() const { return m_appliedInsertsHasBeenSet; }
117 inline void SetAppliedInserts(long long value) { m_appliedInsertsHasBeenSet = true; m_appliedInserts = value; }
118 inline TableStatistics& WithAppliedInserts(long long value) { SetAppliedInserts(value); return *this;}
120
122
125 inline long long GetAppliedDeletes() const{ return m_appliedDeletes; }
126 inline bool AppliedDeletesHasBeenSet() const { return m_appliedDeletesHasBeenSet; }
127 inline void SetAppliedDeletes(long long value) { m_appliedDeletesHasBeenSet = true; m_appliedDeletes = value; }
128 inline TableStatistics& WithAppliedDeletes(long long value) { SetAppliedDeletes(value); return *this;}
130
132
135 inline long long GetAppliedUpdates() const{ return m_appliedUpdates; }
136 inline bool AppliedUpdatesHasBeenSet() const { return m_appliedUpdatesHasBeenSet; }
137 inline void SetAppliedUpdates(long long value) { m_appliedUpdatesHasBeenSet = true; m_appliedUpdates = value; }
138 inline TableStatistics& WithAppliedUpdates(long long value) { SetAppliedUpdates(value); return *this;}
140
142
146 inline long long GetAppliedDdls() const{ return m_appliedDdls; }
147 inline bool AppliedDdlsHasBeenSet() const { return m_appliedDdlsHasBeenSet; }
148 inline void SetAppliedDdls(long long value) { m_appliedDdlsHasBeenSet = true; m_appliedDdls = value; }
149 inline TableStatistics& WithAppliedDdls(long long value) { SetAppliedDdls(value); return *this;}
151
153
156 inline long long GetFullLoadRows() const{ return m_fullLoadRows; }
157 inline bool FullLoadRowsHasBeenSet() const { return m_fullLoadRowsHasBeenSet; }
158 inline void SetFullLoadRows(long long value) { m_fullLoadRowsHasBeenSet = true; m_fullLoadRows = value; }
159 inline TableStatistics& WithFullLoadRows(long long value) { SetFullLoadRows(value); return *this;}
161
163
167 inline long long GetFullLoadCondtnlChkFailedRows() const{ return m_fullLoadCondtnlChkFailedRows; }
168 inline bool FullLoadCondtnlChkFailedRowsHasBeenSet() const { return m_fullLoadCondtnlChkFailedRowsHasBeenSet; }
169 inline void SetFullLoadCondtnlChkFailedRows(long long value) { m_fullLoadCondtnlChkFailedRowsHasBeenSet = true; m_fullLoadCondtnlChkFailedRows = value; }
172
174
178 inline long long GetFullLoadErrorRows() const{ return m_fullLoadErrorRows; }
179 inline bool FullLoadErrorRowsHasBeenSet() const { return m_fullLoadErrorRowsHasBeenSet; }
180 inline void SetFullLoadErrorRows(long long value) { m_fullLoadErrorRowsHasBeenSet = true; m_fullLoadErrorRows = value; }
181 inline TableStatistics& WithFullLoadErrorRows(long long value) { SetFullLoadErrorRows(value); return *this;}
183
185
188 inline const Aws::Utils::DateTime& GetFullLoadStartTime() const{ return m_fullLoadStartTime; }
189 inline bool FullLoadStartTimeHasBeenSet() const { return m_fullLoadStartTimeHasBeenSet; }
190 inline void SetFullLoadStartTime(const Aws::Utils::DateTime& value) { m_fullLoadStartTimeHasBeenSet = true; m_fullLoadStartTime = value; }
191 inline void SetFullLoadStartTime(Aws::Utils::DateTime&& value) { m_fullLoadStartTimeHasBeenSet = true; m_fullLoadStartTime = std::move(value); }
193 inline TableStatistics& WithFullLoadStartTime(Aws::Utils::DateTime&& value) { SetFullLoadStartTime(std::move(value)); return *this;}
195
197
200 inline const Aws::Utils::DateTime& GetFullLoadEndTime() const{ return m_fullLoadEndTime; }
201 inline bool FullLoadEndTimeHasBeenSet() const { return m_fullLoadEndTimeHasBeenSet; }
202 inline void SetFullLoadEndTime(const Aws::Utils::DateTime& value) { m_fullLoadEndTimeHasBeenSet = true; m_fullLoadEndTime = value; }
203 inline void SetFullLoadEndTime(Aws::Utils::DateTime&& value) { m_fullLoadEndTimeHasBeenSet = true; m_fullLoadEndTime = std::move(value); }
204 inline TableStatistics& WithFullLoadEndTime(const Aws::Utils::DateTime& value) { SetFullLoadEndTime(value); return *this;}
205 inline TableStatistics& WithFullLoadEndTime(Aws::Utils::DateTime&& value) { SetFullLoadEndTime(std::move(value)); return *this;}
207
209
213 inline bool GetFullLoadReloaded() const{ return m_fullLoadReloaded; }
214 inline bool FullLoadReloadedHasBeenSet() const { return m_fullLoadReloadedHasBeenSet; }
215 inline void SetFullLoadReloaded(bool value) { m_fullLoadReloadedHasBeenSet = true; m_fullLoadReloaded = value; }
216 inline TableStatistics& WithFullLoadReloaded(bool value) { SetFullLoadReloaded(value); return *this;}
218
220
223 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
224 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
225 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
226 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
227 inline TableStatistics& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
228 inline TableStatistics& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
230
232
237 inline const Aws::String& GetTableState() const{ return m_tableState; }
238 inline bool TableStateHasBeenSet() const { return m_tableStateHasBeenSet; }
239 inline void SetTableState(const Aws::String& value) { m_tableStateHasBeenSet = true; m_tableState = value; }
240 inline void SetTableState(Aws::String&& value) { m_tableStateHasBeenSet = true; m_tableState = std::move(value); }
241 inline void SetTableState(const char* value) { m_tableStateHasBeenSet = true; m_tableState.assign(value); }
242 inline TableStatistics& WithTableState(const Aws::String& value) { SetTableState(value); return *this;}
243 inline TableStatistics& WithTableState(Aws::String&& value) { SetTableState(std::move(value)); return *this;}
244 inline TableStatistics& WithTableState(const char* value) { SetTableState(value); return *this;}
246
248
251 inline long long GetValidationPendingRecords() const{ return m_validationPendingRecords; }
252 inline bool ValidationPendingRecordsHasBeenSet() const { return m_validationPendingRecordsHasBeenSet; }
253 inline void SetValidationPendingRecords(long long value) { m_validationPendingRecordsHasBeenSet = true; m_validationPendingRecords = value; }
254 inline TableStatistics& WithValidationPendingRecords(long long value) { SetValidationPendingRecords(value); return *this;}
256
258
261 inline long long GetValidationFailedRecords() const{ return m_validationFailedRecords; }
262 inline bool ValidationFailedRecordsHasBeenSet() const { return m_validationFailedRecordsHasBeenSet; }
263 inline void SetValidationFailedRecords(long long value) { m_validationFailedRecordsHasBeenSet = true; m_validationFailedRecords = value; }
264 inline TableStatistics& WithValidationFailedRecords(long long value) { SetValidationFailedRecords(value); return *this;}
266
268
271 inline long long GetValidationSuspendedRecords() const{ return m_validationSuspendedRecords; }
272 inline bool ValidationSuspendedRecordsHasBeenSet() const { return m_validationSuspendedRecordsHasBeenSet; }
273 inline void SetValidationSuspendedRecords(long long value) { m_validationSuspendedRecordsHasBeenSet = true; m_validationSuspendedRecords = value; }
274 inline TableStatistics& WithValidationSuspendedRecords(long long value) { SetValidationSuspendedRecords(value); return *this;}
276
278
296 inline const Aws::String& GetValidationState() const{ return m_validationState; }
297 inline bool ValidationStateHasBeenSet() const { return m_validationStateHasBeenSet; }
298 inline void SetValidationState(const Aws::String& value) { m_validationStateHasBeenSet = true; m_validationState = value; }
299 inline void SetValidationState(Aws::String&& value) { m_validationStateHasBeenSet = true; m_validationState = std::move(value); }
300 inline void SetValidationState(const char* value) { m_validationStateHasBeenSet = true; m_validationState.assign(value); }
301 inline TableStatistics& WithValidationState(const Aws::String& value) { SetValidationState(value); return *this;}
302 inline TableStatistics& WithValidationState(Aws::String&& value) { SetValidationState(std::move(value)); return *this;}
303 inline TableStatistics& WithValidationState(const char* value) { SetValidationState(value); return *this;}
305
307
310 inline const Aws::String& GetValidationStateDetails() const{ return m_validationStateDetails; }
311 inline bool ValidationStateDetailsHasBeenSet() const { return m_validationStateDetailsHasBeenSet; }
312 inline void SetValidationStateDetails(const Aws::String& value) { m_validationStateDetailsHasBeenSet = true; m_validationStateDetails = value; }
313 inline void SetValidationStateDetails(Aws::String&& value) { m_validationStateDetailsHasBeenSet = true; m_validationStateDetails = std::move(value); }
314 inline void SetValidationStateDetails(const char* value) { m_validationStateDetailsHasBeenSet = true; m_validationStateDetails.assign(value); }
316 inline TableStatistics& WithValidationStateDetails(Aws::String&& value) { SetValidationStateDetails(std::move(value)); return *this;}
317 inline TableStatistics& WithValidationStateDetails(const char* value) { SetValidationStateDetails(value); return *this;}
319 private:
320
321 Aws::String m_schemaName;
322 bool m_schemaNameHasBeenSet = false;
323
324 Aws::String m_tableName;
325 bool m_tableNameHasBeenSet = false;
326
327 long long m_inserts;
328 bool m_insertsHasBeenSet = false;
329
330 long long m_deletes;
331 bool m_deletesHasBeenSet = false;
332
333 long long m_updates;
334 bool m_updatesHasBeenSet = false;
335
336 long long m_ddls;
337 bool m_ddlsHasBeenSet = false;
338
339 long long m_appliedInserts;
340 bool m_appliedInsertsHasBeenSet = false;
341
342 long long m_appliedDeletes;
343 bool m_appliedDeletesHasBeenSet = false;
344
345 long long m_appliedUpdates;
346 bool m_appliedUpdatesHasBeenSet = false;
347
348 long long m_appliedDdls;
349 bool m_appliedDdlsHasBeenSet = false;
350
351 long long m_fullLoadRows;
352 bool m_fullLoadRowsHasBeenSet = false;
353
354 long long m_fullLoadCondtnlChkFailedRows;
355 bool m_fullLoadCondtnlChkFailedRowsHasBeenSet = false;
356
357 long long m_fullLoadErrorRows;
358 bool m_fullLoadErrorRowsHasBeenSet = false;
359
360 Aws::Utils::DateTime m_fullLoadStartTime;
361 bool m_fullLoadStartTimeHasBeenSet = false;
362
363 Aws::Utils::DateTime m_fullLoadEndTime;
364 bool m_fullLoadEndTimeHasBeenSet = false;
365
366 bool m_fullLoadReloaded;
367 bool m_fullLoadReloadedHasBeenSet = false;
368
369 Aws::Utils::DateTime m_lastUpdateTime;
370 bool m_lastUpdateTimeHasBeenSet = false;
371
372 Aws::String m_tableState;
373 bool m_tableStateHasBeenSet = false;
374
375 long long m_validationPendingRecords;
376 bool m_validationPendingRecordsHasBeenSet = false;
377
378 long long m_validationFailedRecords;
379 bool m_validationFailedRecordsHasBeenSet = false;
380
381 long long m_validationSuspendedRecords;
382 bool m_validationSuspendedRecordsHasBeenSet = false;
383
384 Aws::String m_validationState;
385 bool m_validationStateHasBeenSet = false;
386
387 Aws::String m_validationStateDetails;
388 bool m_validationStateDetailsHasBeenSet = false;
389 };
390
391} // namespace Model
392} // namespace DatabaseMigrationService
393} // namespace Aws
TableStatistics & WithValidationState(const char *value)
TableStatistics & WithTableName(const char *value)
TableStatistics & WithValidationState(Aws::String &&value)
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
TableStatistics & WithFullLoadStartTime(const Aws::Utils::DateTime &value)
TableStatistics & WithTableState(Aws::String &&value)
void SetFullLoadStartTime(Aws::Utils::DateTime &&value)
void SetFullLoadStartTime(const Aws::Utils::DateTime &value)
TableStatistics & WithValidationStateDetails(const Aws::String &value)
void SetFullLoadEndTime(Aws::Utils::DateTime &&value)
TableStatistics & WithFullLoadEndTime(const Aws::Utils::DateTime &value)
TableStatistics & WithTableName(Aws::String &&value)
TableStatistics & WithValidationStateDetails(Aws::String &&value)
TableStatistics & WithFullLoadRows(long long value)
TableStatistics & WithFullLoadCondtnlChkFailedRows(long long value)
TableStatistics & WithValidationState(const Aws::String &value)
TableStatistics & WithFullLoadEndTime(Aws::Utils::DateTime &&value)
TableStatistics & WithAppliedDeletes(long long value)
TableStatistics & WithValidationStateDetails(const char *value)
TableStatistics & WithLastUpdateTime(Aws::Utils::DateTime &&value)
TableStatistics & WithAppliedInserts(long long value)
TableStatistics & WithValidationFailedRecords(long long value)
TableStatistics & WithValidationSuspendedRecords(long long value)
TableStatistics & WithAppliedUpdates(long long value)
TableStatistics & WithLastUpdateTime(const Aws::Utils::DateTime &value)
TableStatistics & WithValidationPendingRecords(long long value)
TableStatistics & WithFullLoadStartTime(Aws::Utils::DateTime &&value)
TableStatistics & WithTableState(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFullLoadEndTime(const Aws::Utils::DateTime &value)
TableStatistics & WithSchemaName(const Aws::String &value)
TableStatistics & WithAppliedDdls(long long value)
const Aws::Utils::DateTime & GetFullLoadStartTime() const
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
TableStatistics & WithSchemaName(const char *value)
TableStatistics & WithTableName(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API TableStatistics()
AWS_DATABASEMIGRATIONSERVICE_API TableStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetFullLoadEndTime() const
TableStatistics & WithTableState(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API TableStatistics(Aws::Utils::Json::JsonView jsonValue)
TableStatistics & WithFullLoadErrorRows(long long value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
TableStatistics & WithSchemaName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue