/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Sets additional capacity units configured for your rescore execution plan. A
* rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for
* provisioning the Rescore
API. You can add and remove capacity units
* to fit your usage requirements.See Also:
AWS
* API Reference
The amount of extra capacity for your rescore execution plan.
A single * extra capacity unit for a rescore execution plan provides 0.01 rescore requests * per second. You can add up to 1000 extra capacity units.
*/ inline int GetRescoreCapacityUnits() const{ return m_rescoreCapacityUnits; } /** *The amount of extra capacity for your rescore execution plan.
A single * extra capacity unit for a rescore execution plan provides 0.01 rescore requests * per second. You can add up to 1000 extra capacity units.
*/ inline bool RescoreCapacityUnitsHasBeenSet() const { return m_rescoreCapacityUnitsHasBeenSet; } /** *The amount of extra capacity for your rescore execution plan.
A single * extra capacity unit for a rescore execution plan provides 0.01 rescore requests * per second. You can add up to 1000 extra capacity units.
*/ inline void SetRescoreCapacityUnits(int value) { m_rescoreCapacityUnitsHasBeenSet = true; m_rescoreCapacityUnits = value; } /** *The amount of extra capacity for your rescore execution plan.
A single * extra capacity unit for a rescore execution plan provides 0.01 rescore requests * per second. You can add up to 1000 extra capacity units.
*/ inline CapacityUnitsConfiguration& WithRescoreCapacityUnits(int value) { SetRescoreCapacityUnits(value); return *this;} private: int m_rescoreCapacityUnits; bool m_rescoreCapacityUnitsHasBeenSet = false; }; } // namespace Model } // namespace KendraRanking } // namespace Aws