/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Shows the scaling configuration for a Neptune Serverless DB cluster. For more information, see Using
* Amazon Neptune Serverless in the Amazon Neptune User
* Guide.See Also:
AWS
* API Reference
The minimum number of Neptune capacity units (NCUs) for a DB instance in a * Neptune Serverless cluster. You can specify NCU values in half-step increments, * such as 8, 8.5, 9, and so on.
*/ inline double GetMinCapacity() const{ return m_minCapacity; } /** *The minimum number of Neptune capacity units (NCUs) for a DB instance in a * Neptune Serverless cluster. You can specify NCU values in half-step increments, * such as 8, 8.5, 9, and so on.
*/ inline bool MinCapacityHasBeenSet() const { return m_minCapacityHasBeenSet; } /** *The minimum number of Neptune capacity units (NCUs) for a DB instance in a * Neptune Serverless cluster. You can specify NCU values in half-step increments, * such as 8, 8.5, 9, and so on.
*/ inline void SetMinCapacity(double value) { m_minCapacityHasBeenSet = true; m_minCapacity = value; } /** *The minimum number of Neptune capacity units (NCUs) for a DB instance in a * Neptune Serverless cluster. You can specify NCU values in half-step increments, * such as 8, 8.5, 9, and so on.
*/ inline ServerlessV2ScalingConfigurationInfo& WithMinCapacity(double value) { SetMinCapacity(value); return *this;} /** *The maximum number of Neptune capacity units (NCUs) for a DB instance in a * Neptune Serverless cluster. You can specify NCU values in half-step increments, * such as 40, 40.5, 41, and so on.
*/ inline double GetMaxCapacity() const{ return m_maxCapacity; } /** *The maximum number of Neptune capacity units (NCUs) for a DB instance in a * Neptune Serverless cluster. You can specify NCU values in half-step increments, * such as 40, 40.5, 41, and so on.
*/ inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; } /** *The maximum number of Neptune capacity units (NCUs) for a DB instance in a * Neptune Serverless cluster. You can specify NCU values in half-step increments, * such as 40, 40.5, 41, and so on.
*/ inline void SetMaxCapacity(double value) { m_maxCapacityHasBeenSet = true; m_maxCapacity = value; } /** *The maximum number of Neptune capacity units (NCUs) for a DB instance in a * Neptune Serverless cluster. You can specify NCU values in half-step increments, * such as 40, 40.5, 41, and so on.
*/ inline ServerlessV2ScalingConfigurationInfo& WithMaxCapacity(double value) { SetMaxCapacity(value); return *this;} private: double m_minCapacity; bool m_minCapacityHasBeenSet = false; double m_maxCapacity; bool m_maxCapacityHasBeenSet = false; }; } // namespace Model } // namespace Neptune } // namespace Aws