/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies capacity units configured for your index. You can add and remove
* capacity units to tune an index to your requirements.See Also:
* AWS
* API Reference
The amount of extra storage capacity for an index. Each capacity unit * provides 150 Gb of storage space or 500,000 documents, whichever is reached * first.
*/ inline int GetStorageCapacityUnits() const{ return m_storageCapacityUnits; } /** *The amount of extra storage capacity for an index. Each capacity unit * provides 150 Gb of storage space or 500,000 documents, whichever is reached * first.
*/ inline bool StorageCapacityUnitsHasBeenSet() const { return m_storageCapacityUnitsHasBeenSet; } /** *The amount of extra storage capacity for an index. Each capacity unit * provides 150 Gb of storage space or 500,000 documents, whichever is reached * first.
*/ inline void SetStorageCapacityUnits(int value) { m_storageCapacityUnitsHasBeenSet = true; m_storageCapacityUnits = value; } /** *The amount of extra storage capacity for an index. Each capacity unit * provides 150 Gb of storage space or 500,000 documents, whichever is reached * first.
*/ inline CapacityUnitsConfiguration& WithStorageCapacityUnits(int value) { SetStorageCapacityUnits(value); return *this;} /** *The amount of extra query capacity for an index. Each capacity unit provides * 0.5 queries per second and 40,000 queries per day.
*/ inline int GetQueryCapacityUnits() const{ return m_queryCapacityUnits; } /** *The amount of extra query capacity for an index. Each capacity unit provides * 0.5 queries per second and 40,000 queries per day.
*/ inline bool QueryCapacityUnitsHasBeenSet() const { return m_queryCapacityUnitsHasBeenSet; } /** *The amount of extra query capacity for an index. Each capacity unit provides * 0.5 queries per second and 40,000 queries per day.
*/ inline void SetQueryCapacityUnits(int value) { m_queryCapacityUnitsHasBeenSet = true; m_queryCapacityUnits = value; } /** *The amount of extra query capacity for an index. Each capacity unit provides * 0.5 queries per second and 40,000 queries per day.
*/ inline CapacityUnitsConfiguration& WithQueryCapacityUnits(int value) { SetQueryCapacityUnits(value); return *this;} private: int m_storageCapacityUnits; bool m_storageCapacityUnitsHasBeenSet; int m_queryCapacityUnits; bool m_queryCapacityUnitsHasBeenSet; }; } // namespace Model } // namespace kendra } // namespace Aws