/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information abut a global secondary index for the table.See
* Also:
AWS
* API Reference
Whether the index is currently backfilling.
*/ inline bool GetBackfilling() const{ return m_backfilling; } /** *Whether the index is currently backfilling.
*/ inline bool BackfillingHasBeenSet() const { return m_backfillingHasBeenSet; } /** *Whether the index is currently backfilling.
*/ inline void SetBackfilling(bool value) { m_backfillingHasBeenSet = true; m_backfilling = value; } /** *Whether the index is currently backfilling.
*/ inline AwsDynamoDbTableGlobalSecondaryIndex& WithBackfilling(bool value) { SetBackfilling(value); return *this;} /** *The ARN of the index.
*/ inline const Aws::String& GetIndexArn() const{ return m_indexArn; } /** *The ARN of the index.
*/ inline bool IndexArnHasBeenSet() const { return m_indexArnHasBeenSet; } /** *The ARN of the index.
*/ inline void SetIndexArn(const Aws::String& value) { m_indexArnHasBeenSet = true; m_indexArn = value; } /** *The ARN of the index.
*/ inline void SetIndexArn(Aws::String&& value) { m_indexArnHasBeenSet = true; m_indexArn = std::move(value); } /** *The ARN of the index.
*/ inline void SetIndexArn(const char* value) { m_indexArnHasBeenSet = true; m_indexArn.assign(value); } /** *The ARN of the index.
*/ inline AwsDynamoDbTableGlobalSecondaryIndex& WithIndexArn(const Aws::String& value) { SetIndexArn(value); return *this;} /** *The ARN of the index.
*/ inline AwsDynamoDbTableGlobalSecondaryIndex& WithIndexArn(Aws::String&& value) { SetIndexArn(std::move(value)); return *this;} /** *The ARN of the index.
*/ inline AwsDynamoDbTableGlobalSecondaryIndex& WithIndexArn(const char* value) { SetIndexArn(value); return *this;} /** *The name of the index.
*/ inline const Aws::String& GetIndexName() const{ return m_indexName; } /** *The name of the index.
*/ inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; } /** *The name of the index.
*/ inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; } /** *The name of the index.
*/ inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); } /** *The name of the index.
*/ inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); } /** *The name of the index.
*/ inline AwsDynamoDbTableGlobalSecondaryIndex& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} /** *The name of the index.
*/ inline AwsDynamoDbTableGlobalSecondaryIndex& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} /** *The name of the index.
*/ inline AwsDynamoDbTableGlobalSecondaryIndex& WithIndexName(const char* value) { SetIndexName(value); return *this;} /** *The total size in bytes of the index.
*/ inline long long GetIndexSizeBytes() const{ return m_indexSizeBytes; } /** *The total size in bytes of the index.
*/ inline bool IndexSizeBytesHasBeenSet() const { return m_indexSizeBytesHasBeenSet; } /** *The total size in bytes of the index.
*/ inline void SetIndexSizeBytes(long long value) { m_indexSizeBytesHasBeenSet = true; m_indexSizeBytes = value; } /** *The total size in bytes of the index.
*/ inline AwsDynamoDbTableGlobalSecondaryIndex& WithIndexSizeBytes(long long value) { SetIndexSizeBytes(value); return *this;} /** *The current status of the index.
ACTIVE
CREATING
DELETING
*
UPDATING
The current status of the index.
ACTIVE
CREATING
DELETING
*
UPDATING
The current status of the index.
ACTIVE
CREATING
DELETING
*
UPDATING
The current status of the index.
ACTIVE
CREATING
DELETING
*
UPDATING
The current status of the index.
ACTIVE
CREATING
DELETING
*
UPDATING
The current status of the index.
ACTIVE
CREATING
DELETING
*
UPDATING
The current status of the index.
ACTIVE
CREATING
DELETING
*
UPDATING
The current status of the index.
ACTIVE
CREATING
DELETING
*
UPDATING
The number of items in the index.
*/ inline int GetItemCount() const{ return m_itemCount; } /** *The number of items in the index.
*/ inline bool ItemCountHasBeenSet() const { return m_itemCountHasBeenSet; } /** *The number of items in the index.
*/ inline void SetItemCount(int value) { m_itemCountHasBeenSet = true; m_itemCount = value; } /** *The number of items in the index.
*/ inline AwsDynamoDbTableGlobalSecondaryIndex& WithItemCount(int value) { SetItemCount(value); return *this;} /** *The key schema for the index.
*/ inline const Aws::VectorThe key schema for the index.
*/ inline bool KeySchemaHasBeenSet() const { return m_keySchemaHasBeenSet; } /** *The key schema for the index.
*/ inline void SetKeySchema(const Aws::VectorThe key schema for the index.
*/ inline void SetKeySchema(Aws::VectorThe key schema for the index.
*/ inline AwsDynamoDbTableGlobalSecondaryIndex& WithKeySchema(const Aws::VectorThe key schema for the index.
*/ inline AwsDynamoDbTableGlobalSecondaryIndex& WithKeySchema(Aws::VectorThe key schema for the index.
*/ inline AwsDynamoDbTableGlobalSecondaryIndex& AddKeySchema(const AwsDynamoDbTableKeySchema& value) { m_keySchemaHasBeenSet = true; m_keySchema.push_back(value); return *this; } /** *The key schema for the index.
*/ inline AwsDynamoDbTableGlobalSecondaryIndex& AddKeySchema(AwsDynamoDbTableKeySchema&& value) { m_keySchemaHasBeenSet = true; m_keySchema.push_back(std::move(value)); return *this; } /** *Attributes that are copied from the table into an index.
*/ inline const AwsDynamoDbTableProjection& GetProjection() const{ return m_projection; } /** *Attributes that are copied from the table into an index.
*/ inline bool ProjectionHasBeenSet() const { return m_projectionHasBeenSet; } /** *Attributes that are copied from the table into an index.
*/ inline void SetProjection(const AwsDynamoDbTableProjection& value) { m_projectionHasBeenSet = true; m_projection = value; } /** *Attributes that are copied from the table into an index.
*/ inline void SetProjection(AwsDynamoDbTableProjection&& value) { m_projectionHasBeenSet = true; m_projection = std::move(value); } /** *Attributes that are copied from the table into an index.
*/ inline AwsDynamoDbTableGlobalSecondaryIndex& WithProjection(const AwsDynamoDbTableProjection& value) { SetProjection(value); return *this;} /** *Attributes that are copied from the table into an index.
*/ inline AwsDynamoDbTableGlobalSecondaryIndex& WithProjection(AwsDynamoDbTableProjection&& value) { SetProjection(std::move(value)); return *this;} /** *Information about the provisioned throughput settings for the indexes.
*/ inline const AwsDynamoDbTableProvisionedThroughput& GetProvisionedThroughput() const{ return m_provisionedThroughput; } /** *Information about the provisioned throughput settings for the indexes.
*/ inline bool ProvisionedThroughputHasBeenSet() const { return m_provisionedThroughputHasBeenSet; } /** *Information about the provisioned throughput settings for the indexes.
*/ inline void SetProvisionedThroughput(const AwsDynamoDbTableProvisionedThroughput& value) { m_provisionedThroughputHasBeenSet = true; m_provisionedThroughput = value; } /** *Information about the provisioned throughput settings for the indexes.
*/ inline void SetProvisionedThroughput(AwsDynamoDbTableProvisionedThroughput&& value) { m_provisionedThroughputHasBeenSet = true; m_provisionedThroughput = std::move(value); } /** *Information about the provisioned throughput settings for the indexes.
*/ inline AwsDynamoDbTableGlobalSecondaryIndex& WithProvisionedThroughput(const AwsDynamoDbTableProvisionedThroughput& value) { SetProvisionedThroughput(value); return *this;} /** *Information about the provisioned throughput settings for the indexes.
*/ inline AwsDynamoDbTableGlobalSecondaryIndex& WithProvisionedThroughput(AwsDynamoDbTableProvisionedThroughput&& value) { SetProvisionedThroughput(std::move(value)); return *this;} private: bool m_backfilling; bool m_backfillingHasBeenSet = false; Aws::String m_indexArn; bool m_indexArnHasBeenSet = false; Aws::String m_indexName; bool m_indexNameHasBeenSet = false; long long m_indexSizeBytes; bool m_indexSizeBytesHasBeenSet = false; Aws::String m_indexStatus; bool m_indexStatusHasBeenSet = false; int m_itemCount; bool m_itemCountHasBeenSet = false; Aws::Vector