AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScaleOutPolicy.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace KafkaConnect
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_KAFKACONNECT_API ScaleOutPolicy();
33 AWS_KAFKACONNECT_API ScaleOutPolicy(Aws::Utils::Json::JsonView jsonValue);
34 AWS_KAFKACONNECT_API ScaleOutPolicy& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
43 inline int GetCpuUtilizationPercentage() const{ return m_cpuUtilizationPercentage; }
44 inline bool CpuUtilizationPercentageHasBeenSet() const { return m_cpuUtilizationPercentageHasBeenSet; }
45 inline void SetCpuUtilizationPercentage(int value) { m_cpuUtilizationPercentageHasBeenSet = true; m_cpuUtilizationPercentage = value; }
48 private:
49
50 int m_cpuUtilizationPercentage;
51 bool m_cpuUtilizationPercentageHasBeenSet = false;
52 };
53
54} // namespace Model
55} // namespace KafkaConnect
56} // namespace Aws
AWS_KAFKACONNECT_API ScaleOutPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKACONNECT_API ScaleOutPolicy(Aws::Utils::Json::JsonView jsonValue)
ScaleOutPolicy & WithCpuUtilizationPercentage(int value)
Aws::Utils::Json::JsonValue JsonValue