/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The description of the scale-in policy for the connector.See
* Also:
AWS
* API Reference
Specifies the CPU utilization percentage threshold at which you want * connector scale in to be triggered.
*/ inline int GetCpuUtilizationPercentage() const{ return m_cpuUtilizationPercentage; } /** *Specifies the CPU utilization percentage threshold at which you want * connector scale in to be triggered.
*/ inline bool CpuUtilizationPercentageHasBeenSet() const { return m_cpuUtilizationPercentageHasBeenSet; } /** *Specifies the CPU utilization percentage threshold at which you want * connector scale in to be triggered.
*/ inline void SetCpuUtilizationPercentage(int value) { m_cpuUtilizationPercentageHasBeenSet = true; m_cpuUtilizationPercentage = value; } /** *Specifies the CPU utilization percentage threshold at which you want * connector scale in to be triggered.
*/ inline ScaleInPolicyDescription& WithCpuUtilizationPercentage(int value) { SetCpuUtilizationPercentage(value); return *this;} private: int m_cpuUtilizationPercentage; bool m_cpuUtilizationPercentageHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws