/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides details about a DynamoDB table.See Also:
AWS
* API Reference
A list of attribute definitions for the table.
*/ inline const Aws::VectorA list of attribute definitions for the table.
*/ inline bool AttributeDefinitionsHasBeenSet() const { return m_attributeDefinitionsHasBeenSet; } /** *A list of attribute definitions for the table.
*/ inline void SetAttributeDefinitions(const Aws::VectorA list of attribute definitions for the table.
*/ inline void SetAttributeDefinitions(Aws::VectorA list of attribute definitions for the table.
*/ inline AwsDynamoDbTableDetails& WithAttributeDefinitions(const Aws::VectorA list of attribute definitions for the table.
*/ inline AwsDynamoDbTableDetails& WithAttributeDefinitions(Aws::VectorA list of attribute definitions for the table.
*/ inline AwsDynamoDbTableDetails& AddAttributeDefinitions(const AwsDynamoDbTableAttributeDefinition& value) { m_attributeDefinitionsHasBeenSet = true; m_attributeDefinitions.push_back(value); return *this; } /** *A list of attribute definitions for the table.
*/ inline AwsDynamoDbTableDetails& AddAttributeDefinitions(AwsDynamoDbTableAttributeDefinition&& value) { m_attributeDefinitionsHasBeenSet = true; m_attributeDefinitions.push_back(std::move(value)); return *this; } /** *Information about the billing for read/write capacity on the table.
*/ inline const AwsDynamoDbTableBillingModeSummary& GetBillingModeSummary() const{ return m_billingModeSummary; } /** *Information about the billing for read/write capacity on the table.
*/ inline bool BillingModeSummaryHasBeenSet() const { return m_billingModeSummaryHasBeenSet; } /** *Information about the billing for read/write capacity on the table.
*/ inline void SetBillingModeSummary(const AwsDynamoDbTableBillingModeSummary& value) { m_billingModeSummaryHasBeenSet = true; m_billingModeSummary = value; } /** *Information about the billing for read/write capacity on the table.
*/ inline void SetBillingModeSummary(AwsDynamoDbTableBillingModeSummary&& value) { m_billingModeSummaryHasBeenSet = true; m_billingModeSummary = std::move(value); } /** *Information about the billing for read/write capacity on the table.
*/ inline AwsDynamoDbTableDetails& WithBillingModeSummary(const AwsDynamoDbTableBillingModeSummary& value) { SetBillingModeSummary(value); return *this;} /** *Information about the billing for read/write capacity on the table.
*/ inline AwsDynamoDbTableDetails& WithBillingModeSummary(AwsDynamoDbTableBillingModeSummary&& value) { SetBillingModeSummary(std::move(value)); return *this;} /** *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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
List of global secondary indexes for the table.
*/ inline const Aws::VectorList of global secondary indexes for the table.
*/ inline bool GlobalSecondaryIndexesHasBeenSet() const { return m_globalSecondaryIndexesHasBeenSet; } /** *List of global secondary indexes for the table.
*/ inline void SetGlobalSecondaryIndexes(const Aws::VectorList of global secondary indexes for the table.
*/ inline void SetGlobalSecondaryIndexes(Aws::VectorList of global secondary indexes for the table.
*/ inline AwsDynamoDbTableDetails& WithGlobalSecondaryIndexes(const Aws::VectorList of global secondary indexes for the table.
*/ inline AwsDynamoDbTableDetails& WithGlobalSecondaryIndexes(Aws::VectorList of global secondary indexes for the table.
*/ inline AwsDynamoDbTableDetails& AddGlobalSecondaryIndexes(const AwsDynamoDbTableGlobalSecondaryIndex& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes.push_back(value); return *this; } /** *List of global secondary indexes for the table.
*/ inline AwsDynamoDbTableDetails& AddGlobalSecondaryIndexes(AwsDynamoDbTableGlobalSecondaryIndex&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes.push_back(std::move(value)); return *this; } /** *The version of global tables being used.
*/ inline const Aws::String& GetGlobalTableVersion() const{ return m_globalTableVersion; } /** *The version of global tables being used.
*/ inline bool GlobalTableVersionHasBeenSet() const { return m_globalTableVersionHasBeenSet; } /** *The version of global tables being used.
*/ inline void SetGlobalTableVersion(const Aws::String& value) { m_globalTableVersionHasBeenSet = true; m_globalTableVersion = value; } /** *The version of global tables being used.
*/ inline void SetGlobalTableVersion(Aws::String&& value) { m_globalTableVersionHasBeenSet = true; m_globalTableVersion = std::move(value); } /** *The version of global tables being used.
*/ inline void SetGlobalTableVersion(const char* value) { m_globalTableVersionHasBeenSet = true; m_globalTableVersion.assign(value); } /** *The version of global tables being used.
*/ inline AwsDynamoDbTableDetails& WithGlobalTableVersion(const Aws::String& value) { SetGlobalTableVersion(value); return *this;} /** *The version of global tables being used.
*/ inline AwsDynamoDbTableDetails& WithGlobalTableVersion(Aws::String&& value) { SetGlobalTableVersion(std::move(value)); return *this;} /** *The version of global tables being used.
*/ inline AwsDynamoDbTableDetails& WithGlobalTableVersion(const char* value) { SetGlobalTableVersion(value); return *this;} /** *The number of items in the table.
*/ inline int GetItemCount() const{ return m_itemCount; } /** *The number of items in the table.
*/ inline bool ItemCountHasBeenSet() const { return m_itemCountHasBeenSet; } /** *The number of items in the table.
*/ inline void SetItemCount(int value) { m_itemCountHasBeenSet = true; m_itemCount = value; } /** *The number of items in the table.
*/ inline AwsDynamoDbTableDetails& WithItemCount(int value) { SetItemCount(value); return *this;} /** *The primary key structure for the table.
*/ inline const Aws::VectorThe primary key structure for the table.
*/ inline bool KeySchemaHasBeenSet() const { return m_keySchemaHasBeenSet; } /** *The primary key structure for the table.
*/ inline void SetKeySchema(const Aws::VectorThe primary key structure for the table.
*/ inline void SetKeySchema(Aws::VectorThe primary key structure for the table.
*/ inline AwsDynamoDbTableDetails& WithKeySchema(const Aws::VectorThe primary key structure for the table.
*/ inline AwsDynamoDbTableDetails& WithKeySchema(Aws::VectorThe primary key structure for the table.
*/ inline AwsDynamoDbTableDetails& AddKeySchema(const AwsDynamoDbTableKeySchema& value) { m_keySchemaHasBeenSet = true; m_keySchema.push_back(value); return *this; } /** *The primary key structure for the table.
*/ inline AwsDynamoDbTableDetails& AddKeySchema(AwsDynamoDbTableKeySchema&& value) { m_keySchemaHasBeenSet = true; m_keySchema.push_back(std::move(value)); return *this; } /** *The ARN of the latest stream for the table.
*/ inline const Aws::String& GetLatestStreamArn() const{ return m_latestStreamArn; } /** *The ARN of the latest stream for the table.
*/ inline bool LatestStreamArnHasBeenSet() const { return m_latestStreamArnHasBeenSet; } /** *The ARN of the latest stream for the table.
*/ inline void SetLatestStreamArn(const Aws::String& value) { m_latestStreamArnHasBeenSet = true; m_latestStreamArn = value; } /** *The ARN of the latest stream for the table.
*/ inline void SetLatestStreamArn(Aws::String&& value) { m_latestStreamArnHasBeenSet = true; m_latestStreamArn = std::move(value); } /** *The ARN of the latest stream for the table.
*/ inline void SetLatestStreamArn(const char* value) { m_latestStreamArnHasBeenSet = true; m_latestStreamArn.assign(value); } /** *The ARN of the latest stream for the table.
*/ inline AwsDynamoDbTableDetails& WithLatestStreamArn(const Aws::String& value) { SetLatestStreamArn(value); return *this;} /** *The ARN of the latest stream for the table.
*/ inline AwsDynamoDbTableDetails& WithLatestStreamArn(Aws::String&& value) { SetLatestStreamArn(std::move(value)); return *this;} /** *The ARN of the latest stream for the table.
*/ inline AwsDynamoDbTableDetails& WithLatestStreamArn(const char* value) { SetLatestStreamArn(value); return *this;} /** *The label of the latest stream. The label is not a unique identifier.
*/ inline const Aws::String& GetLatestStreamLabel() const{ return m_latestStreamLabel; } /** *The label of the latest stream. The label is not a unique identifier.
*/ inline bool LatestStreamLabelHasBeenSet() const { return m_latestStreamLabelHasBeenSet; } /** *The label of the latest stream. The label is not a unique identifier.
*/ inline void SetLatestStreamLabel(const Aws::String& value) { m_latestStreamLabelHasBeenSet = true; m_latestStreamLabel = value; } /** *The label of the latest stream. The label is not a unique identifier.
*/ inline void SetLatestStreamLabel(Aws::String&& value) { m_latestStreamLabelHasBeenSet = true; m_latestStreamLabel = std::move(value); } /** *The label of the latest stream. The label is not a unique identifier.
*/ inline void SetLatestStreamLabel(const char* value) { m_latestStreamLabelHasBeenSet = true; m_latestStreamLabel.assign(value); } /** *The label of the latest stream. The label is not a unique identifier.
*/ inline AwsDynamoDbTableDetails& WithLatestStreamLabel(const Aws::String& value) { SetLatestStreamLabel(value); return *this;} /** *The label of the latest stream. The label is not a unique identifier.
*/ inline AwsDynamoDbTableDetails& WithLatestStreamLabel(Aws::String&& value) { SetLatestStreamLabel(std::move(value)); return *this;} /** *The label of the latest stream. The label is not a unique identifier.
*/ inline AwsDynamoDbTableDetails& WithLatestStreamLabel(const char* value) { SetLatestStreamLabel(value); return *this;} /** *The list of local secondary indexes for the table.
*/ inline const Aws::VectorThe list of local secondary indexes for the table.
*/ inline bool LocalSecondaryIndexesHasBeenSet() const { return m_localSecondaryIndexesHasBeenSet; } /** *The list of local secondary indexes for the table.
*/ inline void SetLocalSecondaryIndexes(const Aws::VectorThe list of local secondary indexes for the table.
*/ inline void SetLocalSecondaryIndexes(Aws::VectorThe list of local secondary indexes for the table.
*/ inline AwsDynamoDbTableDetails& WithLocalSecondaryIndexes(const Aws::VectorThe list of local secondary indexes for the table.
*/ inline AwsDynamoDbTableDetails& WithLocalSecondaryIndexes(Aws::VectorThe list of local secondary indexes for the table.
*/ inline AwsDynamoDbTableDetails& AddLocalSecondaryIndexes(const AwsDynamoDbTableLocalSecondaryIndex& value) { m_localSecondaryIndexesHasBeenSet = true; m_localSecondaryIndexes.push_back(value); return *this; } /** *The list of local secondary indexes for the table.
*/ inline AwsDynamoDbTableDetails& AddLocalSecondaryIndexes(AwsDynamoDbTableLocalSecondaryIndex&& value) { m_localSecondaryIndexesHasBeenSet = true; m_localSecondaryIndexes.push_back(std::move(value)); return *this; } /** *Information about the provisioned throughput for the table.
*/ inline const AwsDynamoDbTableProvisionedThroughput& GetProvisionedThroughput() const{ return m_provisionedThroughput; } /** *Information about the provisioned throughput for the table.
*/ inline bool ProvisionedThroughputHasBeenSet() const { return m_provisionedThroughputHasBeenSet; } /** *Information about the provisioned throughput for the table.
*/ inline void SetProvisionedThroughput(const AwsDynamoDbTableProvisionedThroughput& value) { m_provisionedThroughputHasBeenSet = true; m_provisionedThroughput = value; } /** *Information about the provisioned throughput for the table.
*/ inline void SetProvisionedThroughput(AwsDynamoDbTableProvisionedThroughput&& value) { m_provisionedThroughputHasBeenSet = true; m_provisionedThroughput = std::move(value); } /** *Information about the provisioned throughput for the table.
*/ inline AwsDynamoDbTableDetails& WithProvisionedThroughput(const AwsDynamoDbTableProvisionedThroughput& value) { SetProvisionedThroughput(value); return *this;} /** *Information about the provisioned throughput for the table.
*/ inline AwsDynamoDbTableDetails& WithProvisionedThroughput(AwsDynamoDbTableProvisionedThroughput&& value) { SetProvisionedThroughput(std::move(value)); return *this;} /** *The list of replicas of this table.
*/ inline const Aws::VectorThe list of replicas of this table.
*/ inline bool ReplicasHasBeenSet() const { return m_replicasHasBeenSet; } /** *The list of replicas of this table.
*/ inline void SetReplicas(const Aws::VectorThe list of replicas of this table.
*/ inline void SetReplicas(Aws::VectorThe list of replicas of this table.
*/ inline AwsDynamoDbTableDetails& WithReplicas(const Aws::VectorThe list of replicas of this table.
*/ inline AwsDynamoDbTableDetails& WithReplicas(Aws::VectorThe list of replicas of this table.
*/ inline AwsDynamoDbTableDetails& AddReplicas(const AwsDynamoDbTableReplica& value) { m_replicasHasBeenSet = true; m_replicas.push_back(value); return *this; } /** *The list of replicas of this table.
*/ inline AwsDynamoDbTableDetails& AddReplicas(AwsDynamoDbTableReplica&& value) { m_replicasHasBeenSet = true; m_replicas.push_back(std::move(value)); return *this; } /** *Information about the restore for the table.
*/ inline const AwsDynamoDbTableRestoreSummary& GetRestoreSummary() const{ return m_restoreSummary; } /** *Information about the restore for the table.
*/ inline bool RestoreSummaryHasBeenSet() const { return m_restoreSummaryHasBeenSet; } /** *Information about the restore for the table.
*/ inline void SetRestoreSummary(const AwsDynamoDbTableRestoreSummary& value) { m_restoreSummaryHasBeenSet = true; m_restoreSummary = value; } /** *Information about the restore for the table.
*/ inline void SetRestoreSummary(AwsDynamoDbTableRestoreSummary&& value) { m_restoreSummaryHasBeenSet = true; m_restoreSummary = std::move(value); } /** *Information about the restore for the table.
*/ inline AwsDynamoDbTableDetails& WithRestoreSummary(const AwsDynamoDbTableRestoreSummary& value) { SetRestoreSummary(value); return *this;} /** *Information about the restore for the table.
*/ inline AwsDynamoDbTableDetails& WithRestoreSummary(AwsDynamoDbTableRestoreSummary&& value) { SetRestoreSummary(std::move(value)); return *this;} /** *Information about the server-side encryption for the table.
*/ inline const AwsDynamoDbTableSseDescription& GetSseDescription() const{ return m_sseDescription; } /** *Information about the server-side encryption for the table.
*/ inline bool SseDescriptionHasBeenSet() const { return m_sseDescriptionHasBeenSet; } /** *Information about the server-side encryption for the table.
*/ inline void SetSseDescription(const AwsDynamoDbTableSseDescription& value) { m_sseDescriptionHasBeenSet = true; m_sseDescription = value; } /** *Information about the server-side encryption for the table.
*/ inline void SetSseDescription(AwsDynamoDbTableSseDescription&& value) { m_sseDescriptionHasBeenSet = true; m_sseDescription = std::move(value); } /** *Information about the server-side encryption for the table.
*/ inline AwsDynamoDbTableDetails& WithSseDescription(const AwsDynamoDbTableSseDescription& value) { SetSseDescription(value); return *this;} /** *Information about the server-side encryption for the table.
*/ inline AwsDynamoDbTableDetails& WithSseDescription(AwsDynamoDbTableSseDescription&& value) { SetSseDescription(std::move(value)); return *this;} /** *The current DynamoDB Streams configuration for the table.
*/ inline const AwsDynamoDbTableStreamSpecification& GetStreamSpecification() const{ return m_streamSpecification; } /** *The current DynamoDB Streams configuration for the table.
*/ inline bool StreamSpecificationHasBeenSet() const { return m_streamSpecificationHasBeenSet; } /** *The current DynamoDB Streams configuration for the table.
*/ inline void SetStreamSpecification(const AwsDynamoDbTableStreamSpecification& value) { m_streamSpecificationHasBeenSet = true; m_streamSpecification = value; } /** *The current DynamoDB Streams configuration for the table.
*/ inline void SetStreamSpecification(AwsDynamoDbTableStreamSpecification&& value) { m_streamSpecificationHasBeenSet = true; m_streamSpecification = std::move(value); } /** *The current DynamoDB Streams configuration for the table.
*/ inline AwsDynamoDbTableDetails& WithStreamSpecification(const AwsDynamoDbTableStreamSpecification& value) { SetStreamSpecification(value); return *this;} /** *The current DynamoDB Streams configuration for the table.
*/ inline AwsDynamoDbTableDetails& WithStreamSpecification(AwsDynamoDbTableStreamSpecification&& value) { SetStreamSpecification(std::move(value)); return *this;} /** *The identifier of the table.
*/ inline const Aws::String& GetTableId() const{ return m_tableId; } /** *The identifier of the table.
*/ inline bool TableIdHasBeenSet() const { return m_tableIdHasBeenSet; } /** *The identifier of the table.
*/ inline void SetTableId(const Aws::String& value) { m_tableIdHasBeenSet = true; m_tableId = value; } /** *The identifier of the table.
*/ inline void SetTableId(Aws::String&& value) { m_tableIdHasBeenSet = true; m_tableId = std::move(value); } /** *The identifier of the table.
*/ inline void SetTableId(const char* value) { m_tableIdHasBeenSet = true; m_tableId.assign(value); } /** *The identifier of the table.
*/ inline AwsDynamoDbTableDetails& WithTableId(const Aws::String& value) { SetTableId(value); return *this;} /** *The identifier of the table.
*/ inline AwsDynamoDbTableDetails& WithTableId(Aws::String&& value) { SetTableId(std::move(value)); return *this;} /** *The identifier of the table.
*/ inline AwsDynamoDbTableDetails& WithTableId(const char* value) { SetTableId(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 AwsDynamoDbTableDetails& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** *The name of the table.
*/ inline AwsDynamoDbTableDetails& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** *The name of the table.
*/ inline AwsDynamoDbTableDetails& WithTableName(const char* value) { SetTableName(value); return *this;} /** *The total size of the table in bytes.
*/ inline long long GetTableSizeBytes() const{ return m_tableSizeBytes; } /** *The total size of the table in bytes.
*/ inline bool TableSizeBytesHasBeenSet() const { return m_tableSizeBytesHasBeenSet; } /** *The total size of the table in bytes.
*/ inline void SetTableSizeBytes(long long value) { m_tableSizeBytesHasBeenSet = true; m_tableSizeBytes = value; } /** *The total size of the table in bytes.
*/ inline AwsDynamoDbTableDetails& WithTableSizeBytes(long long value) { SetTableSizeBytes(value); return *this;} /** *The current status of the table. Valid values are as follows:
ACTIVE
ARCHIVED
ARCHIVING
CREATING
DELETING
* INACCESSIBLE_ENCRYPTION_CREDENTIALS
* UPDATING
The current status of the table. Valid values are as follows:
ACTIVE
ARCHIVED
ARCHIVING
CREATING
DELETING
* INACCESSIBLE_ENCRYPTION_CREDENTIALS
* UPDATING
The current status of the table. Valid values are as follows:
ACTIVE
ARCHIVED
ARCHIVING
CREATING
DELETING
* INACCESSIBLE_ENCRYPTION_CREDENTIALS
* UPDATING
The current status of the table. Valid values are as follows:
ACTIVE
ARCHIVED
ARCHIVING
CREATING
DELETING
* INACCESSIBLE_ENCRYPTION_CREDENTIALS
* UPDATING
The current status of the table. Valid values are as follows:
ACTIVE
ARCHIVED
ARCHIVING
CREATING
DELETING
* INACCESSIBLE_ENCRYPTION_CREDENTIALS
* UPDATING
The current status of the table. Valid values are as follows:
ACTIVE
ARCHIVED
ARCHIVING
CREATING
DELETING
* INACCESSIBLE_ENCRYPTION_CREDENTIALS
* UPDATING
The current status of the table. Valid values are as follows:
ACTIVE
ARCHIVED
ARCHIVING
CREATING
DELETING
* INACCESSIBLE_ENCRYPTION_CREDENTIALS
* UPDATING
The current status of the table. Valid values are as follows:
ACTIVE
ARCHIVED
ARCHIVING
CREATING
DELETING
* INACCESSIBLE_ENCRYPTION_CREDENTIALS
* UPDATING