7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/kafkaconnect/model/ScaleInPolicyUpdate.h>
9#include <aws/kafkaconnect/model/ScaleOutPolicyUpdate.h>
48 inline void SetMaxWorkerCount(
int value) { m_maxWorkerCountHasBeenSet =
true; m_maxWorkerCount = value; }
59 inline void SetMcuCount(
int value) { m_mcuCountHasBeenSet =
true; m_mcuCount = value; }
69 inline void SetMinWorkerCount(
int value) { m_minWorkerCountHasBeenSet =
true; m_minWorkerCount = value; }
99 bool m_maxWorkerCountHasBeenSet =
false;
102 bool m_mcuCountHasBeenSet =
false;
104 int m_minWorkerCount;
105 bool m_minWorkerCountHasBeenSet =
false;
108 bool m_scaleInPolicyHasBeenSet =
false;
111 bool m_scaleOutPolicyHasBeenSet =
false;
AWS_KAFKACONNECT_API AutoScalingUpdate()
void SetMaxWorkerCount(int value)
AutoScalingUpdate & WithScaleOutPolicy(const ScaleOutPolicyUpdate &value)
AutoScalingUpdate & WithScaleOutPolicy(ScaleOutPolicyUpdate &&value)
bool McuCountHasBeenSet() const
AutoScalingUpdate & WithScaleInPolicy(ScaleInPolicyUpdate &&value)
void SetMcuCount(int value)
const ScaleInPolicyUpdate & GetScaleInPolicy() const
void SetMinWorkerCount(int value)
bool MaxWorkerCountHasBeenSet() const
bool MinWorkerCountHasBeenSet() const
void SetScaleInPolicy(ScaleInPolicyUpdate &&value)
bool ScaleInPolicyHasBeenSet() const
int GetMinWorkerCount() const
const ScaleOutPolicyUpdate & GetScaleOutPolicy() const
int GetMaxWorkerCount() const
AutoScalingUpdate & WithMcuCount(int value)
void SetScaleOutPolicy(ScaleOutPolicyUpdate &&value)
AutoScalingUpdate & WithMinWorkerCount(int value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetScaleInPolicy(const ScaleInPolicyUpdate &value)
AWS_KAFKACONNECT_API AutoScalingUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ScaleOutPolicyHasBeenSet() const
void SetScaleOutPolicy(const ScaleOutPolicyUpdate &value)
AutoScalingUpdate & WithMaxWorkerCount(int value)
AWS_KAFKACONNECT_API AutoScalingUpdate(Aws::Utils::Json::JsonView jsonValue)
AutoScalingUpdate & WithScaleInPolicy(const ScaleInPolicyUpdate &value)
Aws::Utils::Json::JsonValue JsonValue