/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DatabaseMigrationService { namespace Model { /** *

Provides a collection of table statistics in response to a request by the * DescribeTableStatistics operation.

See Also:

AWS * API Reference

*/ class TableStatistics { public: AWS_DATABASEMIGRATIONSERVICE_API TableStatistics(); AWS_DATABASEMIGRATIONSERVICE_API TableStatistics(Aws::Utils::Json::JsonView jsonValue); AWS_DATABASEMIGRATIONSERVICE_API TableStatistics& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The schema name.

*/ inline const Aws::String& GetSchemaName() const{ return m_schemaName; } /** *

The schema name.

*/ inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; } /** *

The schema name.

*/ inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; } /** *

The schema name.

*/ inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); } /** *

The schema name.

*/ inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); } /** *

The schema name.

*/ inline TableStatistics& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;} /** *

The schema name.

*/ inline TableStatistics& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;} /** *

The schema name.

*/ inline TableStatistics& WithSchemaName(const char* value) { SetSchemaName(value); return *this;} /** *

The name of the table.

*/ inline const Aws::String& GetTableName() const{ return m_tableName; } /** *

The name of the table.

*/ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** *

The name of the table.

*/ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** *

The name of the table.

*/ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** *

The name of the table.

*/ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** *

The name of the table.

*/ inline TableStatistics& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** *

The name of the table.

*/ inline TableStatistics& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** *

The name of the table.

*/ inline TableStatistics& WithTableName(const char* value) { SetTableName(value); return *this;} /** *

The number of insert actions performed on a table.

*/ inline long long GetInserts() const{ return m_inserts; } /** *

The number of insert actions performed on a table.

*/ inline bool InsertsHasBeenSet() const { return m_insertsHasBeenSet; } /** *

The number of insert actions performed on a table.

*/ inline void SetInserts(long long value) { m_insertsHasBeenSet = true; m_inserts = value; } /** *

The number of insert actions performed on a table.

*/ inline TableStatistics& WithInserts(long long value) { SetInserts(value); return *this;} /** *

The number of delete actions performed on a table.

*/ inline long long GetDeletes() const{ return m_deletes; } /** *

The number of delete actions performed on a table.

*/ inline bool DeletesHasBeenSet() const { return m_deletesHasBeenSet; } /** *

The number of delete actions performed on a table.

*/ inline void SetDeletes(long long value) { m_deletesHasBeenSet = true; m_deletes = value; } /** *

The number of delete actions performed on a table.

*/ inline TableStatistics& WithDeletes(long long value) { SetDeletes(value); return *this;} /** *

The number of update actions performed on a table.

*/ inline long long GetUpdates() const{ return m_updates; } /** *

The number of update actions performed on a table.

*/ inline bool UpdatesHasBeenSet() const { return m_updatesHasBeenSet; } /** *

The number of update actions performed on a table.

*/ inline void SetUpdates(long long value) { m_updatesHasBeenSet = true; m_updates = value; } /** *

The number of update actions performed on a table.

*/ inline TableStatistics& WithUpdates(long long value) { SetUpdates(value); return *this;} /** *

The data definition language (DDL) used to build and modify the structure of * your tables.

*/ inline long long GetDdls() const{ return m_ddls; } /** *

The data definition language (DDL) used to build and modify the structure of * your tables.

*/ inline bool DdlsHasBeenSet() const { return m_ddlsHasBeenSet; } /** *

The data definition language (DDL) used to build and modify the structure of * your tables.

*/ inline void SetDdls(long long value) { m_ddlsHasBeenSet = true; m_ddls = value; } /** *

The data definition language (DDL) used to build and modify the structure of * your tables.

*/ inline TableStatistics& WithDdls(long long value) { SetDdls(value); return *this;} /** *

The number of insert actions applied on a target table.

*/ inline long long GetAppliedInserts() const{ return m_appliedInserts; } /** *

The number of insert actions applied on a target table.

*/ inline bool AppliedInsertsHasBeenSet() const { return m_appliedInsertsHasBeenSet; } /** *

The number of insert actions applied on a target table.

*/ inline void SetAppliedInserts(long long value) { m_appliedInsertsHasBeenSet = true; m_appliedInserts = value; } /** *

The number of insert actions applied on a target table.

*/ inline TableStatistics& WithAppliedInserts(long long value) { SetAppliedInserts(value); return *this;} /** *

The number of delete actions applied on a target table.

*/ inline long long GetAppliedDeletes() const{ return m_appliedDeletes; } /** *

The number of delete actions applied on a target table.

*/ inline bool AppliedDeletesHasBeenSet() const { return m_appliedDeletesHasBeenSet; } /** *

The number of delete actions applied on a target table.

*/ inline void SetAppliedDeletes(long long value) { m_appliedDeletesHasBeenSet = true; m_appliedDeletes = value; } /** *

The number of delete actions applied on a target table.

*/ inline TableStatistics& WithAppliedDeletes(long long value) { SetAppliedDeletes(value); return *this;} /** *

The number of update actions applied on a target table.

*/ inline long long GetAppliedUpdates() const{ return m_appliedUpdates; } /** *

The number of update actions applied on a target table.

*/ inline bool AppliedUpdatesHasBeenSet() const { return m_appliedUpdatesHasBeenSet; } /** *

The number of update actions applied on a target table.

*/ inline void SetAppliedUpdates(long long value) { m_appliedUpdatesHasBeenSet = true; m_appliedUpdates = value; } /** *

The number of update actions applied on a target table.

*/ inline TableStatistics& WithAppliedUpdates(long long value) { SetAppliedUpdates(value); return *this;} /** *

The number of data definition language (DDL) statements used to build and * modify the structure of your tables applied on the target.

*/ inline long long GetAppliedDdls() const{ return m_appliedDdls; } /** *

The number of data definition language (DDL) statements used to build and * modify the structure of your tables applied on the target.

*/ inline bool AppliedDdlsHasBeenSet() const { return m_appliedDdlsHasBeenSet; } /** *

The number of data definition language (DDL) statements used to build and * modify the structure of your tables applied on the target.

*/ inline void SetAppliedDdls(long long value) { m_appliedDdlsHasBeenSet = true; m_appliedDdls = value; } /** *

The number of data definition language (DDL) statements used to build and * modify the structure of your tables applied on the target.

*/ inline TableStatistics& WithAppliedDdls(long long value) { SetAppliedDdls(value); return *this;} /** *

The number of rows added during the full load operation.

*/ inline long long GetFullLoadRows() const{ return m_fullLoadRows; } /** *

The number of rows added during the full load operation.

*/ inline bool FullLoadRowsHasBeenSet() const { return m_fullLoadRowsHasBeenSet; } /** *

The number of rows added during the full load operation.

*/ inline void SetFullLoadRows(long long value) { m_fullLoadRowsHasBeenSet = true; m_fullLoadRows = value; } /** *

The number of rows added during the full load operation.

*/ inline TableStatistics& WithFullLoadRows(long long value) { SetFullLoadRows(value); return *this;} /** *

The number of rows that failed conditional checks during the full load * operation (valid only for migrations where DynamoDB is the target).

*/ inline long long GetFullLoadCondtnlChkFailedRows() const{ return m_fullLoadCondtnlChkFailedRows; } /** *

The number of rows that failed conditional checks during the full load * operation (valid only for migrations where DynamoDB is the target).

*/ inline bool FullLoadCondtnlChkFailedRowsHasBeenSet() const { return m_fullLoadCondtnlChkFailedRowsHasBeenSet; } /** *

The number of rows that failed conditional checks during the full load * operation (valid only for migrations where DynamoDB is the target).

*/ inline void SetFullLoadCondtnlChkFailedRows(long long value) { m_fullLoadCondtnlChkFailedRowsHasBeenSet = true; m_fullLoadCondtnlChkFailedRows = value; } /** *

The number of rows that failed conditional checks during the full load * operation (valid only for migrations where DynamoDB is the target).

*/ inline TableStatistics& WithFullLoadCondtnlChkFailedRows(long long value) { SetFullLoadCondtnlChkFailedRows(value); return *this;} /** *

The number of rows that failed to load during the full load operation (valid * only for migrations where DynamoDB is the target).

*/ inline long long GetFullLoadErrorRows() const{ return m_fullLoadErrorRows; } /** *

The number of rows that failed to load during the full load operation (valid * only for migrations where DynamoDB is the target).

*/ inline bool FullLoadErrorRowsHasBeenSet() const { return m_fullLoadErrorRowsHasBeenSet; } /** *

The number of rows that failed to load during the full load operation (valid * only for migrations where DynamoDB is the target).

*/ inline void SetFullLoadErrorRows(long long value) { m_fullLoadErrorRowsHasBeenSet = true; m_fullLoadErrorRows = value; } /** *

The number of rows that failed to load during the full load operation (valid * only for migrations where DynamoDB is the target).

*/ inline TableStatistics& WithFullLoadErrorRows(long long value) { SetFullLoadErrorRows(value); return *this;} /** *

The time when the full load operation started.

*/ inline const Aws::Utils::DateTime& GetFullLoadStartTime() const{ return m_fullLoadStartTime; } /** *

The time when the full load operation started.

*/ inline bool FullLoadStartTimeHasBeenSet() const { return m_fullLoadStartTimeHasBeenSet; } /** *

The time when the full load operation started.

*/ inline void SetFullLoadStartTime(const Aws::Utils::DateTime& value) { m_fullLoadStartTimeHasBeenSet = true; m_fullLoadStartTime = value; } /** *

The time when the full load operation started.

*/ inline void SetFullLoadStartTime(Aws::Utils::DateTime&& value) { m_fullLoadStartTimeHasBeenSet = true; m_fullLoadStartTime = std::move(value); } /** *

The time when the full load operation started.

*/ inline TableStatistics& WithFullLoadStartTime(const Aws::Utils::DateTime& value) { SetFullLoadStartTime(value); return *this;} /** *

The time when the full load operation started.

*/ inline TableStatistics& WithFullLoadStartTime(Aws::Utils::DateTime&& value) { SetFullLoadStartTime(std::move(value)); return *this;} /** *

The time when the full load operation completed.

*/ inline const Aws::Utils::DateTime& GetFullLoadEndTime() const{ return m_fullLoadEndTime; } /** *

The time when the full load operation completed.

*/ inline bool FullLoadEndTimeHasBeenSet() const { return m_fullLoadEndTimeHasBeenSet; } /** *

The time when the full load operation completed.

*/ inline void SetFullLoadEndTime(const Aws::Utils::DateTime& value) { m_fullLoadEndTimeHasBeenSet = true; m_fullLoadEndTime = value; } /** *

The time when the full load operation completed.

*/ inline void SetFullLoadEndTime(Aws::Utils::DateTime&& value) { m_fullLoadEndTimeHasBeenSet = true; m_fullLoadEndTime = std::move(value); } /** *

The time when the full load operation completed.

*/ inline TableStatistics& WithFullLoadEndTime(const Aws::Utils::DateTime& value) { SetFullLoadEndTime(value); return *this;} /** *

The time when the full load operation completed.

*/ inline TableStatistics& WithFullLoadEndTime(Aws::Utils::DateTime&& value) { SetFullLoadEndTime(std::move(value)); return *this;} /** *

A value that indicates if the table was reloaded (true) or * loaded as part of a new full load operation (false).

*/ inline bool GetFullLoadReloaded() const{ return m_fullLoadReloaded; } /** *

A value that indicates if the table was reloaded (true) or * loaded as part of a new full load operation (false).

*/ inline bool FullLoadReloadedHasBeenSet() const { return m_fullLoadReloadedHasBeenSet; } /** *

A value that indicates if the table was reloaded (true) or * loaded as part of a new full load operation (false).

*/ inline void SetFullLoadReloaded(bool value) { m_fullLoadReloadedHasBeenSet = true; m_fullLoadReloaded = value; } /** *

A value that indicates if the table was reloaded (true) or * loaded as part of a new full load operation (false).

*/ inline TableStatistics& WithFullLoadReloaded(bool value) { SetFullLoadReloaded(value); return *this;} /** *

The last time a table was updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; } /** *

The last time a table was updated.

*/ inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; } /** *

The last time a table was updated.

*/ inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; } /** *

The last time a table was updated.

*/ inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); } /** *

The last time a table was updated.

*/ inline TableStatistics& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *

The last time a table was updated.

*/ inline TableStatistics& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;} /** *

The state of the tables described.

Valid states: Table does not exist * | Before load | Full load | Table completed | Table cancelled | Table error | * Table is being reloaded

*/ inline const Aws::String& GetTableState() const{ return m_tableState; } /** *

The state of the tables described.

Valid states: Table does not exist * | Before load | Full load | Table completed | Table cancelled | Table error | * Table is being reloaded

*/ inline bool TableStateHasBeenSet() const { return m_tableStateHasBeenSet; } /** *

The state of the tables described.

Valid states: Table does not exist * | Before load | Full load | Table completed | Table cancelled | Table error | * Table is being reloaded

*/ inline void SetTableState(const Aws::String& value) { m_tableStateHasBeenSet = true; m_tableState = value; } /** *

The state of the tables described.

Valid states: Table does not exist * | Before load | Full load | Table completed | Table cancelled | Table error | * Table is being reloaded

*/ inline void SetTableState(Aws::String&& value) { m_tableStateHasBeenSet = true; m_tableState = std::move(value); } /** *

The state of the tables described.

Valid states: Table does not exist * | Before load | Full load | Table completed | Table cancelled | Table error | * Table is being reloaded

*/ inline void SetTableState(const char* value) { m_tableStateHasBeenSet = true; m_tableState.assign(value); } /** *

The state of the tables described.

Valid states: Table does not exist * | Before load | Full load | Table completed | Table cancelled | Table error | * Table is being reloaded

*/ inline TableStatistics& WithTableState(const Aws::String& value) { SetTableState(value); return *this;} /** *

The state of the tables described.

Valid states: Table does not exist * | Before load | Full load | Table completed | Table cancelled | Table error | * Table is being reloaded

*/ inline TableStatistics& WithTableState(Aws::String&& value) { SetTableState(std::move(value)); return *this;} /** *

The state of the tables described.

Valid states: Table does not exist * | Before load | Full load | Table completed | Table cancelled | Table error | * Table is being reloaded

*/ inline TableStatistics& WithTableState(const char* value) { SetTableState(value); return *this;} /** *

The number of records that have yet to be validated.

*/ inline long long GetValidationPendingRecords() const{ return m_validationPendingRecords; } /** *

The number of records that have yet to be validated.

*/ inline bool ValidationPendingRecordsHasBeenSet() const { return m_validationPendingRecordsHasBeenSet; } /** *

The number of records that have yet to be validated.

*/ inline void SetValidationPendingRecords(long long value) { m_validationPendingRecordsHasBeenSet = true; m_validationPendingRecords = value; } /** *

The number of records that have yet to be validated.

*/ inline TableStatistics& WithValidationPendingRecords(long long value) { SetValidationPendingRecords(value); return *this;} /** *

The number of records that failed validation.

*/ inline long long GetValidationFailedRecords() const{ return m_validationFailedRecords; } /** *

The number of records that failed validation.

*/ inline bool ValidationFailedRecordsHasBeenSet() const { return m_validationFailedRecordsHasBeenSet; } /** *

The number of records that failed validation.

*/ inline void SetValidationFailedRecords(long long value) { m_validationFailedRecordsHasBeenSet = true; m_validationFailedRecords = value; } /** *

The number of records that failed validation.

*/ inline TableStatistics& WithValidationFailedRecords(long long value) { SetValidationFailedRecords(value); return *this;} /** *

The number of records that couldn't be validated.

*/ inline long long GetValidationSuspendedRecords() const{ return m_validationSuspendedRecords; } /** *

The number of records that couldn't be validated.

*/ inline bool ValidationSuspendedRecordsHasBeenSet() const { return m_validationSuspendedRecordsHasBeenSet; } /** *

The number of records that couldn't be validated.

*/ inline void SetValidationSuspendedRecords(long long value) { m_validationSuspendedRecordsHasBeenSet = true; m_validationSuspendedRecords = value; } /** *

The number of records that couldn't be validated.

*/ inline TableStatistics& WithValidationSuspendedRecords(long long value) { SetValidationSuspendedRecords(value); return *this;} /** *

The validation state of the table.

This parameter can have the * following values:

  • Not enabled – Validation isn't enabled for * the table in the migration task.

  • Pending records – Some * records in the table are waiting for validation.

  • Mismatched * records – Some records in the table don't match between the source and * target.

  • Suspended records – Some records in the table couldn't * be validated.

  • No primary key –The table couldn't be validated * because it has no primary key.

  • Table error – The table wasn't * validated because it's in an error state and some data wasn't migrated.

    *
  • Validated – All rows in the table are validated. If the table is * updated, the status can change from Validated.

  • Error – The * table couldn't be validated because of an unexpected error.

  • *

    Pending validation – The table is waiting validation.

  • *

    Preparing table – Preparing the table enabled in the migration task for * validation.

  • Pending revalidation – All rows in the table are * pending validation after the table was updated.

*/ inline const Aws::String& GetValidationState() const{ return m_validationState; } /** *

The validation state of the table.

This parameter can have the * following values:

  • Not enabled – Validation isn't enabled for * the table in the migration task.

  • Pending records – Some * records in the table are waiting for validation.

  • Mismatched * records – Some records in the table don't match between the source and * target.

  • Suspended records – Some records in the table couldn't * be validated.

  • No primary key –The table couldn't be validated * because it has no primary key.

  • Table error – The table wasn't * validated because it's in an error state and some data wasn't migrated.

    *
  • Validated – All rows in the table are validated. If the table is * updated, the status can change from Validated.

  • Error – The * table couldn't be validated because of an unexpected error.

  • *

    Pending validation – The table is waiting validation.

  • *

    Preparing table – Preparing the table enabled in the migration task for * validation.

  • Pending revalidation – All rows in the table are * pending validation after the table was updated.

*/ inline bool ValidationStateHasBeenSet() const { return m_validationStateHasBeenSet; } /** *

The validation state of the table.

This parameter can have the * following values:

  • Not enabled – Validation isn't enabled for * the table in the migration task.

  • Pending records – Some * records in the table are waiting for validation.

  • Mismatched * records – Some records in the table don't match between the source and * target.

  • Suspended records – Some records in the table couldn't * be validated.

  • No primary key –The table couldn't be validated * because it has no primary key.

  • Table error – The table wasn't * validated because it's in an error state and some data wasn't migrated.

    *
  • Validated – All rows in the table are validated. If the table is * updated, the status can change from Validated.

  • Error – The * table couldn't be validated because of an unexpected error.

  • *

    Pending validation – The table is waiting validation.

  • *

    Preparing table – Preparing the table enabled in the migration task for * validation.

  • Pending revalidation – All rows in the table are * pending validation after the table was updated.

*/ inline void SetValidationState(const Aws::String& value) { m_validationStateHasBeenSet = true; m_validationState = value; } /** *

The validation state of the table.

This parameter can have the * following values:

  • Not enabled – Validation isn't enabled for * the table in the migration task.

  • Pending records – Some * records in the table are waiting for validation.

  • Mismatched * records – Some records in the table don't match between the source and * target.

  • Suspended records – Some records in the table couldn't * be validated.

  • No primary key –The table couldn't be validated * because it has no primary key.

  • Table error – The table wasn't * validated because it's in an error state and some data wasn't migrated.

    *
  • Validated – All rows in the table are validated. If the table is * updated, the status can change from Validated.

  • Error – The * table couldn't be validated because of an unexpected error.

  • *

    Pending validation – The table is waiting validation.

  • *

    Preparing table – Preparing the table enabled in the migration task for * validation.

  • Pending revalidation – All rows in the table are * pending validation after the table was updated.

*/ inline void SetValidationState(Aws::String&& value) { m_validationStateHasBeenSet = true; m_validationState = std::move(value); } /** *

The validation state of the table.

This parameter can have the * following values:

  • Not enabled – Validation isn't enabled for * the table in the migration task.

  • Pending records – Some * records in the table are waiting for validation.

  • Mismatched * records – Some records in the table don't match between the source and * target.

  • Suspended records – Some records in the table couldn't * be validated.

  • No primary key –The table couldn't be validated * because it has no primary key.

  • Table error – The table wasn't * validated because it's in an error state and some data wasn't migrated.

    *
  • Validated – All rows in the table are validated. If the table is * updated, the status can change from Validated.

  • Error – The * table couldn't be validated because of an unexpected error.

  • *

    Pending validation – The table is waiting validation.

  • *

    Preparing table – Preparing the table enabled in the migration task for * validation.

  • Pending revalidation – All rows in the table are * pending validation after the table was updated.

*/ inline void SetValidationState(const char* value) { m_validationStateHasBeenSet = true; m_validationState.assign(value); } /** *

The validation state of the table.

This parameter can have the * following values:

  • Not enabled – Validation isn't enabled for * the table in the migration task.

  • Pending records – Some * records in the table are waiting for validation.

  • Mismatched * records – Some records in the table don't match between the source and * target.

  • Suspended records – Some records in the table couldn't * be validated.

  • No primary key –The table couldn't be validated * because it has no primary key.

  • Table error – The table wasn't * validated because it's in an error state and some data wasn't migrated.

    *
  • Validated – All rows in the table are validated. If the table is * updated, the status can change from Validated.

  • Error – The * table couldn't be validated because of an unexpected error.

  • *

    Pending validation – The table is waiting validation.

  • *

    Preparing table – Preparing the table enabled in the migration task for * validation.

  • Pending revalidation – All rows in the table are * pending validation after the table was updated.

*/ inline TableStatistics& WithValidationState(const Aws::String& value) { SetValidationState(value); return *this;} /** *

The validation state of the table.

This parameter can have the * following values:

  • Not enabled – Validation isn't enabled for * the table in the migration task.

  • Pending records – Some * records in the table are waiting for validation.

  • Mismatched * records – Some records in the table don't match between the source and * target.

  • Suspended records – Some records in the table couldn't * be validated.

  • No primary key –The table couldn't be validated * because it has no primary key.

  • Table error – The table wasn't * validated because it's in an error state and some data wasn't migrated.

    *
  • Validated – All rows in the table are validated. If the table is * updated, the status can change from Validated.

  • Error – The * table couldn't be validated because of an unexpected error.

  • *

    Pending validation – The table is waiting validation.

  • *

    Preparing table – Preparing the table enabled in the migration task for * validation.

  • Pending revalidation – All rows in the table are * pending validation after the table was updated.

*/ inline TableStatistics& WithValidationState(Aws::String&& value) { SetValidationState(std::move(value)); return *this;} /** *

The validation state of the table.

This parameter can have the * following values:

  • Not enabled – Validation isn't enabled for * the table in the migration task.

  • Pending records – Some * records in the table are waiting for validation.

  • Mismatched * records – Some records in the table don't match between the source and * target.

  • Suspended records – Some records in the table couldn't * be validated.

  • No primary key –The table couldn't be validated * because it has no primary key.

  • Table error – The table wasn't * validated because it's in an error state and some data wasn't migrated.

    *
  • Validated – All rows in the table are validated. If the table is * updated, the status can change from Validated.

  • Error – The * table couldn't be validated because of an unexpected error.

  • *

    Pending validation – The table is waiting validation.

  • *

    Preparing table – Preparing the table enabled in the migration task for * validation.

  • Pending revalidation – All rows in the table are * pending validation after the table was updated.

*/ inline TableStatistics& WithValidationState(const char* value) { SetValidationState(value); return *this;} /** *

Additional details about the state of validation.

*/ inline const Aws::String& GetValidationStateDetails() const{ return m_validationStateDetails; } /** *

Additional details about the state of validation.

*/ inline bool ValidationStateDetailsHasBeenSet() const { return m_validationStateDetailsHasBeenSet; } /** *

Additional details about the state of validation.

*/ inline void SetValidationStateDetails(const Aws::String& value) { m_validationStateDetailsHasBeenSet = true; m_validationStateDetails = value; } /** *

Additional details about the state of validation.

*/ inline void SetValidationStateDetails(Aws::String&& value) { m_validationStateDetailsHasBeenSet = true; m_validationStateDetails = std::move(value); } /** *

Additional details about the state of validation.

*/ inline void SetValidationStateDetails(const char* value) { m_validationStateDetailsHasBeenSet = true; m_validationStateDetails.assign(value); } /** *

Additional details about the state of validation.

*/ inline TableStatistics& WithValidationStateDetails(const Aws::String& value) { SetValidationStateDetails(value); return *this;} /** *

Additional details about the state of validation.

*/ inline TableStatistics& WithValidationStateDetails(Aws::String&& value) { SetValidationStateDetails(std::move(value)); return *this;} /** *

Additional details about the state of validation.

*/ inline TableStatistics& WithValidationStateDetails(const char* value) { SetValidationStateDetails(value); return *this;} private: Aws::String m_schemaName; bool m_schemaNameHasBeenSet = false; Aws::String m_tableName; bool m_tableNameHasBeenSet = false; long long m_inserts; bool m_insertsHasBeenSet = false; long long m_deletes; bool m_deletesHasBeenSet = false; long long m_updates; bool m_updatesHasBeenSet = false; long long m_ddls; bool m_ddlsHasBeenSet = false; long long m_appliedInserts; bool m_appliedInsertsHasBeenSet = false; long long m_appliedDeletes; bool m_appliedDeletesHasBeenSet = false; long long m_appliedUpdates; bool m_appliedUpdatesHasBeenSet = false; long long m_appliedDdls; bool m_appliedDdlsHasBeenSet = false; long long m_fullLoadRows; bool m_fullLoadRowsHasBeenSet = false; long long m_fullLoadCondtnlChkFailedRows; bool m_fullLoadCondtnlChkFailedRowsHasBeenSet = false; long long m_fullLoadErrorRows; bool m_fullLoadErrorRowsHasBeenSet = false; Aws::Utils::DateTime m_fullLoadStartTime; bool m_fullLoadStartTimeHasBeenSet = false; Aws::Utils::DateTime m_fullLoadEndTime; bool m_fullLoadEndTimeHasBeenSet = false; bool m_fullLoadReloaded; bool m_fullLoadReloadedHasBeenSet = false; Aws::Utils::DateTime m_lastUpdateTime; bool m_lastUpdateTimeHasBeenSet = false; Aws::String m_tableState; bool m_tableStateHasBeenSet = false; long long m_validationPendingRecords; bool m_validationPendingRecordsHasBeenSet = false; long long m_validationFailedRecords; bool m_validationFailedRecordsHasBeenSet = false; long long m_validationSuspendedRecords; bool m_validationSuspendedRecordsHasBeenSet = false; Aws::String m_validationState; bool m_validationStateHasBeenSet = false; Aws::String m_validationStateDetails; bool m_validationStateDetailsHasBeenSet = false; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws