AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ScaleOutPolicyUpdate.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace KafkaConnect {
17namespace Model {
18
25 public:
26 AWS_KAFKACONNECT_API ScaleOutPolicyUpdate() = default;
27 AWS_KAFKACONNECT_API ScaleOutPolicyUpdate(Aws::Utils::Json::JsonView jsonValue);
29 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
36 inline int GetCpuUtilizationPercentage() const { return m_cpuUtilizationPercentage; }
37 inline bool CpuUtilizationPercentageHasBeenSet() const { return m_cpuUtilizationPercentageHasBeenSet; }
38 inline void SetCpuUtilizationPercentage(int value) {
39 m_cpuUtilizationPercentageHasBeenSet = true;
40 m_cpuUtilizationPercentage = value;
41 }
44 return *this;
45 }
47 private:
48 int m_cpuUtilizationPercentage{0};
49 bool m_cpuUtilizationPercentageHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace KafkaConnect
54} // namespace Aws
AWS_KAFKACONNECT_API ScaleOutPolicyUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKACONNECT_API ScaleOutPolicyUpdate()=default
ScaleOutPolicyUpdate & WithCpuUtilizationPercentage(int value)
AWS_KAFKACONNECT_API ScaleOutPolicyUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue