/* * 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 securityhub-2018-10-26.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.SecurityHub.Model { /// /// Provides details about a DynamoDB table. /// public partial class AwsDynamoDbTableDetails { private List _attributeDefinitions = new List(); private AwsDynamoDbTableBillingModeSummary _billingModeSummary; private string _creationDateTime; private List _globalSecondaryIndexes = new List(); private string _globalTableVersion; private int? _itemCount; private List _keySchema = new List(); private string _latestStreamArn; private string _latestStreamLabel; private List _localSecondaryIndexes = new List(); private AwsDynamoDbTableProvisionedThroughput _provisionedThroughput; private List _replicas = new List(); private AwsDynamoDbTableRestoreSummary _restoreSummary; private AwsDynamoDbTableSseDescription _sseDescription; private AwsDynamoDbTableStreamSpecification _streamSpecification; private string _tableId; private string _tableName; private long? _tableSizeBytes; private string _tableStatus; /// /// Gets and sets the property AttributeDefinitions. /// /// A list of attribute definitions for the table. /// /// public List AttributeDefinitions { get { return this._attributeDefinitions; } set { this._attributeDefinitions = value; } } // Check to see if AttributeDefinitions property is set internal bool IsSetAttributeDefinitions() { return this._attributeDefinitions != null && this._attributeDefinitions.Count > 0; } /// /// Gets and sets the property BillingModeSummary. /// /// Information about the billing for read/write capacity on the table. /// /// public AwsDynamoDbTableBillingModeSummary BillingModeSummary { get { return this._billingModeSummary; } set { this._billingModeSummary = value; } } // Check to see if BillingModeSummary property is set internal bool IsSetBillingModeSummary() { return this._billingModeSummary != null; } /// /// Gets and sets the property CreationDateTime. /// /// Indicates when the table was created. /// /// /// /// Uses the date-time format specified in RFC /// 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, /// and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z. /// /// public string CreationDateTime { get { return this._creationDateTime; } set { this._creationDateTime = value; } } // Check to see if CreationDateTime property is set internal bool IsSetCreationDateTime() { return this._creationDateTime != null; } /// /// Gets and sets the property GlobalSecondaryIndexes. /// /// List of global secondary indexes for the table. /// /// public List GlobalSecondaryIndexes { get { return this._globalSecondaryIndexes; } set { this._globalSecondaryIndexes = value; } } // Check to see if GlobalSecondaryIndexes property is set internal bool IsSetGlobalSecondaryIndexes() { return this._globalSecondaryIndexes != null && this._globalSecondaryIndexes.Count > 0; } /// /// Gets and sets the property GlobalTableVersion. /// /// The version of global tables being used. /// /// public string GlobalTableVersion { get { return this._globalTableVersion; } set { this._globalTableVersion = value; } } // Check to see if GlobalTableVersion property is set internal bool IsSetGlobalTableVersion() { return this._globalTableVersion != null; } /// /// Gets and sets the property ItemCount. /// /// The number of items in the table. /// /// public int ItemCount { get { return this._itemCount.GetValueOrDefault(); } set { this._itemCount = value; } } // Check to see if ItemCount property is set internal bool IsSetItemCount() { return this._itemCount.HasValue; } /// /// Gets and sets the property KeySchema. /// /// The primary key structure for the table. /// /// public List KeySchema { get { return this._keySchema; } set { this._keySchema = value; } } // Check to see if KeySchema property is set internal bool IsSetKeySchema() { return this._keySchema != null && this._keySchema.Count > 0; } /// /// Gets and sets the property LatestStreamArn. /// /// The ARN of the latest stream for the table. /// /// public string LatestStreamArn { get { return this._latestStreamArn; } set { this._latestStreamArn = value; } } // Check to see if LatestStreamArn property is set internal bool IsSetLatestStreamArn() { return this._latestStreamArn != null; } /// /// Gets and sets the property LatestStreamLabel. /// /// The label of the latest stream. The label is not a unique identifier. /// /// public string LatestStreamLabel { get { return this._latestStreamLabel; } set { this._latestStreamLabel = value; } } // Check to see if LatestStreamLabel property is set internal bool IsSetLatestStreamLabel() { return this._latestStreamLabel != null; } /// /// Gets and sets the property LocalSecondaryIndexes. /// /// The list of local secondary indexes for the table. /// /// public List LocalSecondaryIndexes { get { return this._localSecondaryIndexes; } set { this._localSecondaryIndexes = value; } } // Check to see if LocalSecondaryIndexes property is set internal bool IsSetLocalSecondaryIndexes() { return this._localSecondaryIndexes != null && this._localSecondaryIndexes.Count > 0; } /// /// Gets and sets the property ProvisionedThroughput. /// /// Information about the provisioned throughput for the table. /// /// public AwsDynamoDbTableProvisionedThroughput ProvisionedThroughput { get { return this._provisionedThroughput; } set { this._provisionedThroughput = value; } } // Check to see if ProvisionedThroughput property is set internal bool IsSetProvisionedThroughput() { return this._provisionedThroughput != null; } /// /// Gets and sets the property Replicas. /// /// The list of replicas of this table. /// /// public List Replicas { get { return this._replicas; } set { this._replicas = value; } } // Check to see if Replicas property is set internal bool IsSetReplicas() { return this._replicas != null && this._replicas.Count > 0; } /// /// Gets and sets the property RestoreSummary. /// /// Information about the restore for the table. /// /// public AwsDynamoDbTableRestoreSummary RestoreSummary { get { return this._restoreSummary; } set { this._restoreSummary = value; } } // Check to see if RestoreSummary property is set internal bool IsSetRestoreSummary() { return this._restoreSummary != null; } /// /// Gets and sets the property SseDescription. /// /// Information about the server-side encryption for the table. /// /// public AwsDynamoDbTableSseDescription SseDescription { get { return this._sseDescription; } set { this._sseDescription = value; } } // Check to see if SseDescription property is set internal bool IsSetSseDescription() { return this._sseDescription != null; } /// /// Gets and sets the property StreamSpecification. /// /// The current DynamoDB Streams configuration for the table. /// /// public AwsDynamoDbTableStreamSpecification StreamSpecification { get { return this._streamSpecification; } set { this._streamSpecification = value; } } // Check to see if StreamSpecification property is set internal bool IsSetStreamSpecification() { return this._streamSpecification != null; } /// /// Gets and sets the property TableId. /// /// The identifier of the table. /// /// public string TableId { get { return this._tableId; } set { this._tableId = value; } } // Check to see if TableId property is set internal bool IsSetTableId() { return this._tableId != 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 TableSizeBytes. /// /// The total size of the table in bytes. /// /// public long TableSizeBytes { get { return this._tableSizeBytes.GetValueOrDefault(); } set { this._tableSizeBytes = value; } } // Check to see if TableSizeBytes property is set internal bool IsSetTableSizeBytes() { return this._tableSizeBytes.HasValue; } /// /// Gets and sets the property TableStatus. /// /// The current status of the table. Valid values are as follows: /// ///
  • /// /// ACTIVE /// ///
  • /// /// ARCHIVED /// ///
  • /// /// ARCHIVING /// ///
  • /// /// CREATING /// ///
  • /// /// DELETING /// ///
  • /// /// INACCESSIBLE_ENCRYPTION_CREDENTIALS /// ///
  • /// /// UPDATING /// ///
///
public string TableStatus { get { return this._tableStatus; } set { this._tableStatus = value; } } // Check to see if TableStatus property is set internal bool IsSetTableStatus() { return this._tableStatus != null; } } }