/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a local secondary index for a DynamoDB table.See
* Also:
AWS
* API Reference
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 AwsDynamoDbTableLocalSecondaryIndex& WithIndexArn(const Aws::String& value) { SetIndexArn(value); return *this;} /** *The ARN of the index.
*/ inline AwsDynamoDbTableLocalSecondaryIndex& WithIndexArn(Aws::String&& value) { SetIndexArn(std::move(value)); return *this;} /** *The ARN of the index.
*/ inline AwsDynamoDbTableLocalSecondaryIndex& 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 AwsDynamoDbTableLocalSecondaryIndex& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} /** *The name of the index.
*/ inline AwsDynamoDbTableLocalSecondaryIndex& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} /** *The name of the index.
*/ inline AwsDynamoDbTableLocalSecondaryIndex& WithIndexName(const char* value) { SetIndexName(value); return *this;} /** *The complete key schema for the index.
*/ inline const Aws::VectorThe complete key schema for the index.
*/ inline bool KeySchemaHasBeenSet() const { return m_keySchemaHasBeenSet; } /** *The complete key schema for the index.
*/ inline void SetKeySchema(const Aws::VectorThe complete key schema for the index.
*/ inline void SetKeySchema(Aws::VectorThe complete key schema for the index.
*/ inline AwsDynamoDbTableLocalSecondaryIndex& WithKeySchema(const Aws::VectorThe complete key schema for the index.
*/ inline AwsDynamoDbTableLocalSecondaryIndex& WithKeySchema(Aws::VectorThe complete key schema for the index.
*/ inline AwsDynamoDbTableLocalSecondaryIndex& AddKeySchema(const AwsDynamoDbTableKeySchema& value) { m_keySchemaHasBeenSet = true; m_keySchema.push_back(value); return *this; } /** *The complete key schema for the index.
*/ inline AwsDynamoDbTableLocalSecondaryIndex& AddKeySchema(AwsDynamoDbTableKeySchema&& value) { m_keySchemaHasBeenSet = true; m_keySchema.push_back(std::move(value)); return *this; } /** *Attributes that are copied from the table into the index. These are in * addition to the primary key attributes and index key attributes, which are * automatically projected.
*/ inline const AwsDynamoDbTableProjection& GetProjection() const{ return m_projection; } /** *Attributes that are copied from the table into the index. These are in * addition to the primary key attributes and index key attributes, which are * automatically projected.
*/ inline bool ProjectionHasBeenSet() const { return m_projectionHasBeenSet; } /** *Attributes that are copied from the table into the index. These are in * addition to the primary key attributes and index key attributes, which are * automatically projected.
*/ inline void SetProjection(const AwsDynamoDbTableProjection& value) { m_projectionHasBeenSet = true; m_projection = value; } /** *Attributes that are copied from the table into the index. These are in * addition to the primary key attributes and index key attributes, which are * automatically projected.
*/ inline void SetProjection(AwsDynamoDbTableProjection&& value) { m_projectionHasBeenSet = true; m_projection = std::move(value); } /** *Attributes that are copied from the table into the index. These are in * addition to the primary key attributes and index key attributes, which are * automatically projected.
*/ inline AwsDynamoDbTableLocalSecondaryIndex& WithProjection(const AwsDynamoDbTableProjection& value) { SetProjection(value); return *this;} /** *Attributes that are copied from the table into the index. These are in * addition to the primary key attributes and index key attributes, which are * automatically projected.
*/ inline AwsDynamoDbTableLocalSecondaryIndex& WithProjection(AwsDynamoDbTableProjection&& value) { SetProjection(std::move(value)); return *this;} private: Aws::String m_indexArn; bool m_indexArnHasBeenSet = false; Aws::String m_indexName; bool m_indexNameHasBeenSet = false; Aws::Vector