/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the dms-2016-01-01.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.DatabaseMigrationService.Model { /// /// Provides a collection of table statistics in response to a request by the DescribeTableStatistics /// operation. /// public partial class TableStatistics { private long? _appliedDdls; private long? _appliedDeletes; private long? _appliedInserts; private long? _appliedUpdates; private long? _ddls; private long? _deletes; private long? _fullLoadCondtnlChkFailedRows; private DateTime? _fullLoadEndTime; private long? _fullLoadErrorRows; private bool? _fullLoadReloaded; private long? _fullLoadRows; private DateTime? _fullLoadStartTime; private long? _inserts; private DateTime? _lastUpdateTime; private string _schemaName; private string _tableName; private string _tableState; private long? _updates; private long? _validationFailedRecords; private long? _validationPendingRecords; private string _validationState; private string _validationStateDetails; private long? _validationSuspendedRecords; /// /// Gets and sets the property AppliedDdls. /// /// The number of data definition language (DDL) statements used to build and modify the /// structure of your tables applied on the target. /// /// public long AppliedDdls { get { return this._appliedDdls.GetValueOrDefault(); } set { this._appliedDdls = value; } } // Check to see if AppliedDdls property is set internal bool IsSetAppliedDdls() { return this._appliedDdls.HasValue; } /// /// Gets and sets the property AppliedDeletes. /// /// The number of delete actions applied on a target table. /// /// public long AppliedDeletes { get { return this._appliedDeletes.GetValueOrDefault(); } set { this._appliedDeletes = value; } } // Check to see if AppliedDeletes property is set internal bool IsSetAppliedDeletes() { return this._appliedDeletes.HasValue; } /// /// Gets and sets the property AppliedInserts. /// /// The number of insert actions applied on a target table. /// /// public long AppliedInserts { get { return this._appliedInserts.GetValueOrDefault(); } set { this._appliedInserts = value; } } // Check to see if AppliedInserts property is set internal bool IsSetAppliedInserts() { return this._appliedInserts.HasValue; } /// /// Gets and sets the property AppliedUpdates. /// /// The number of update actions applied on a target table. /// /// public long AppliedUpdates { get { return this._appliedUpdates.GetValueOrDefault(); } set { this._appliedUpdates = value; } } // Check to see if AppliedUpdates property is set internal bool IsSetAppliedUpdates() { return this._appliedUpdates.HasValue; } /// /// Gets and sets the property Ddls. /// /// The data definition language (DDL) used to build and modify the structure of your /// tables. /// /// public long Ddls { get { return this._ddls.GetValueOrDefault(); } set { this._ddls = value; } } // Check to see if Ddls property is set internal bool IsSetDdls() { return this._ddls.HasValue; } /// /// Gets and sets the property Deletes. /// /// The number of delete actions performed on a table. /// /// public long Deletes { get { return this._deletes.GetValueOrDefault(); } set { this._deletes = value; } } // Check to see if Deletes property is set internal bool IsSetDeletes() { return this._deletes.HasValue; } /// /// Gets and sets the property FullLoadCondtnlChkFailedRows. /// /// The number of rows that failed conditional checks during the full load operation (valid /// only for migrations where DynamoDB is the target). /// /// public long FullLoadCondtnlChkFailedRows { get { return this._fullLoadCondtnlChkFailedRows.GetValueOrDefault(); } set { this._fullLoadCondtnlChkFailedRows = value; } } // Check to see if FullLoadCondtnlChkFailedRows property is set internal bool IsSetFullLoadCondtnlChkFailedRows() { return this._fullLoadCondtnlChkFailedRows.HasValue; } /// /// Gets and sets the property FullLoadEndTime. /// /// The time when the full load operation completed. /// /// public DateTime FullLoadEndTime { get { return this._fullLoadEndTime.GetValueOrDefault(); } set { this._fullLoadEndTime = value; } } // Check to see if FullLoadEndTime property is set internal bool IsSetFullLoadEndTime() { return this._fullLoadEndTime.HasValue; } /// /// Gets and sets the property FullLoadErrorRows. /// /// The number of rows that failed to load during the full load operation (valid only /// for migrations where DynamoDB is the target). /// /// public long FullLoadErrorRows { get { return this._fullLoadErrorRows.GetValueOrDefault(); } set { this._fullLoadErrorRows = value; } } // Check to see if FullLoadErrorRows property is set internal bool IsSetFullLoadErrorRows() { return this._fullLoadErrorRows.HasValue; } /// /// Gets and sets the property FullLoadReloaded. /// /// A value that indicates if the table was reloaded (true) or loaded as /// part of a new full load operation (false). /// /// public bool FullLoadReloaded { get { return this._fullLoadReloaded.GetValueOrDefault(); } set { this._fullLoadReloaded = value; } } // Check to see if FullLoadReloaded property is set internal bool IsSetFullLoadReloaded() { return this._fullLoadReloaded.HasValue; } /// /// Gets and sets the property FullLoadRows. /// /// The number of rows added during the full load operation. /// /// public long FullLoadRows { get { return this._fullLoadRows.GetValueOrDefault(); } set { this._fullLoadRows = value; } } // Check to see if FullLoadRows property is set internal bool IsSetFullLoadRows() { return this._fullLoadRows.HasValue; } /// /// Gets and sets the property FullLoadStartTime. /// /// The time when the full load operation started. /// /// public DateTime FullLoadStartTime { get { return this._fullLoadStartTime.GetValueOrDefault(); } set { this._fullLoadStartTime = value; } } // Check to see if FullLoadStartTime property is set internal bool IsSetFullLoadStartTime() { return this._fullLoadStartTime.HasValue; } /// /// Gets and sets the property Inserts. /// /// The number of insert actions performed on a table. /// /// public long Inserts { get { return this._inserts.GetValueOrDefault(); } set { this._inserts = value; } } // Check to see if Inserts property is set internal bool IsSetInserts() { return this._inserts.HasValue; } /// /// Gets and sets the property LastUpdateTime. /// /// The last time a table was updated. /// /// public DateTime LastUpdateTime { get { return this._lastUpdateTime.GetValueOrDefault(); } set { this._lastUpdateTime = value; } } // Check to see if LastUpdateTime property is set internal bool IsSetLastUpdateTime() { return this._lastUpdateTime.HasValue; } /// /// Gets and sets the property SchemaName. /// /// The schema name. /// /// public string SchemaName { get { return this._schemaName; } set { this._schemaName = value; } } // Check to see if SchemaName property is set internal bool IsSetSchemaName() { return this._schemaName != null; } /// /// Gets and sets the property TableName. /// /// The name of the table. /// /// public string TableName { get { return this._tableName; } set { this._tableName = value; } } // Check to see if TableName property is set internal bool IsSetTableName() { return this._tableName != null; } /// /// Gets and sets the property 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 /// /// public string TableState { get { return this._tableState; } set { this._tableState = value; } } // Check to see if TableState property is set internal bool IsSetTableState() { return this._tableState != null; } /// /// Gets and sets the property Updates. /// /// The number of update actions performed on a table. /// /// public long Updates { get { return this._updates.GetValueOrDefault(); } set { this._updates = value; } } // Check to see if Updates property is set internal bool IsSetUpdates() { return this._updates.HasValue; } /// /// Gets and sets the property ValidationFailedRecords. /// /// The number of records that failed validation. /// /// public long ValidationFailedRecords { get { return this._validationFailedRecords.GetValueOrDefault(); } set { this._validationFailedRecords = value; } } // Check to see if ValidationFailedRecords property is set internal bool IsSetValidationFailedRecords() { return this._validationFailedRecords.HasValue; } /// /// Gets and sets the property ValidationPendingRecords. /// /// The number of records that have yet to be validated. /// /// public long ValidationPendingRecords { get { return this._validationPendingRecords.GetValueOrDefault(); } set { this._validationPendingRecords = value; } } // Check to see if ValidationPendingRecords property is set internal bool IsSetValidationPendingRecords() { return this._validationPendingRecords.HasValue; } /// /// Gets and sets the property ValidationState. /// /// The validation state of the table. /// /// /// /// This parameter can have the following values: /// /// /// public string ValidationState { get { return this._validationState; } set { this._validationState = value; } } // Check to see if ValidationState property is set internal bool IsSetValidationState() { return this._validationState != null; } /// /// Gets and sets the property ValidationStateDetails. /// /// Additional details about the state of validation. /// /// public string ValidationStateDetails { get { return this._validationStateDetails; } set { this._validationStateDetails = value; } } // Check to see if ValidationStateDetails property is set internal bool IsSetValidationStateDetails() { return this._validationStateDetails != null; } /// /// Gets and sets the property ValidationSuspendedRecords. /// /// The number of records that couldn't be validated. /// /// public long ValidationSuspendedRecords { get { return this._validationSuspendedRecords.GetValueOrDefault(); } set { this._validationSuspendedRecords = value; } } // Check to see if ValidationSuspendedRecords property is set internal bool IsSetValidationSuspendedRecords() { return this._validationSuspendedRecords.HasValue; } } }