/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the new provisioned throughput settings to be applied to a global
* secondary index.See Also:
AWS
* API Reference
The name of the global secondary index to be updated.
*/ inline const Aws::String& GetIndexName() const{ return m_indexName; } /** *The name of the global secondary index to be updated.
*/ inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; } /** *The name of the global secondary index to be updated.
*/ inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; } /** *The name of the global secondary index to be updated.
*/ inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); } /** *The name of the global secondary index to be updated.
*/ inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); } /** *The name of the global secondary index to be updated.
*/ inline UpdateGlobalSecondaryIndexAction& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} /** *The name of the global secondary index to be updated.
*/ inline UpdateGlobalSecondaryIndexAction& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} /** *The name of the global secondary index to be updated.
*/ inline UpdateGlobalSecondaryIndexAction& WithIndexName(const char* value) { SetIndexName(value); return *this;} /** *Represents the provisioned throughput settings for the specified global * secondary index.
For current minimum and maximum provisioned throughput * values, see Service, * Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
*/ inline const ProvisionedThroughput& GetProvisionedThroughput() const{ return m_provisionedThroughput; } /** *Represents the provisioned throughput settings for the specified global * secondary index.
For current minimum and maximum provisioned throughput * values, see Service, * Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
*/ inline bool ProvisionedThroughputHasBeenSet() const { return m_provisionedThroughputHasBeenSet; } /** *Represents the provisioned throughput settings for the specified global * secondary index.
For current minimum and maximum provisioned throughput * values, see Service, * Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
*/ inline void SetProvisionedThroughput(const ProvisionedThroughput& value) { m_provisionedThroughputHasBeenSet = true; m_provisionedThroughput = value; } /** *Represents the provisioned throughput settings for the specified global * secondary index.
For current minimum and maximum provisioned throughput * values, see Service, * Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
*/ inline void SetProvisionedThroughput(ProvisionedThroughput&& value) { m_provisionedThroughputHasBeenSet = true; m_provisionedThroughput = std::move(value); } /** *Represents the provisioned throughput settings for the specified global * secondary index.
For current minimum and maximum provisioned throughput * values, see Service, * Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
*/ inline UpdateGlobalSecondaryIndexAction& WithProvisionedThroughput(const ProvisionedThroughput& value) { SetProvisionedThroughput(value); return *this;} /** *Represents the provisioned throughput settings for the specified global * secondary index.
For current minimum and maximum provisioned throughput * values, see Service, * Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
*/ inline UpdateGlobalSecondaryIndexAction& WithProvisionedThroughput(ProvisionedThroughput&& value) { SetProvisionedThroughput(std::move(value)); return *this;} private: Aws::String m_indexName; bool m_indexNameHasBeenSet = false; ProvisionedThroughput m_provisionedThroughput; bool m_provisionedThroughputHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws