/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the properties of a replica global secondary index.See
* Also:
AWS
* API Reference
The name of the global secondary index.
*/ inline const Aws::String& GetIndexName() const{ return m_indexName; } /** *The name of the global secondary index.
*/ inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; } /** *The name of the global secondary index.
*/ inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; } /** *The name of the global secondary index.
*/ inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); } /** *The name of the global secondary index.
*/ inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); } /** *The name of the global secondary index.
*/ inline ReplicaGlobalSecondaryIndexDescription& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} /** *The name of the global secondary index.
*/ inline ReplicaGlobalSecondaryIndexDescription& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} /** *The name of the global secondary index.
*/ inline ReplicaGlobalSecondaryIndexDescription& WithIndexName(const char* value) { SetIndexName(value); return *this;} /** *If not described, uses the source table GSI's read capacity settings.
*/ inline const ProvisionedThroughputOverride& GetProvisionedThroughputOverride() const{ return m_provisionedThroughputOverride; } /** *If not described, uses the source table GSI's read capacity settings.
*/ inline bool ProvisionedThroughputOverrideHasBeenSet() const { return m_provisionedThroughputOverrideHasBeenSet; } /** *If not described, uses the source table GSI's read capacity settings.
*/ inline void SetProvisionedThroughputOverride(const ProvisionedThroughputOverride& value) { m_provisionedThroughputOverrideHasBeenSet = true; m_provisionedThroughputOverride = value; } /** *If not described, uses the source table GSI's read capacity settings.
*/ inline void SetProvisionedThroughputOverride(ProvisionedThroughputOverride&& value) { m_provisionedThroughputOverrideHasBeenSet = true; m_provisionedThroughputOverride = std::move(value); } /** *If not described, uses the source table GSI's read capacity settings.
*/ inline ReplicaGlobalSecondaryIndexDescription& WithProvisionedThroughputOverride(const ProvisionedThroughputOverride& value) { SetProvisionedThroughputOverride(value); return *this;} /** *If not described, uses the source table GSI's read capacity settings.
*/ inline ReplicaGlobalSecondaryIndexDescription& WithProvisionedThroughputOverride(ProvisionedThroughputOverride&& value) { SetProvisionedThroughputOverride(std::move(value)); return *this;} private: Aws::String m_indexName; bool m_indexNameHasBeenSet = false; ProvisionedThroughputOverride m_provisionedThroughputOverride; bool m_provisionedThroughputOverrideHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws