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