/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The target capacity for the connector. The capacity can be auto scaled or
* provisioned.See Also:
AWS
* API Reference
The target auto scaling setting.
*/ inline const AutoScalingUpdate& GetAutoScaling() const{ return m_autoScaling; } /** *The target auto scaling setting.
*/ inline bool AutoScalingHasBeenSet() const { return m_autoScalingHasBeenSet; } /** *The target auto scaling setting.
*/ inline void SetAutoScaling(const AutoScalingUpdate& value) { m_autoScalingHasBeenSet = true; m_autoScaling = value; } /** *The target auto scaling setting.
*/ inline void SetAutoScaling(AutoScalingUpdate&& value) { m_autoScalingHasBeenSet = true; m_autoScaling = std::move(value); } /** *The target auto scaling setting.
*/ inline CapacityUpdate& WithAutoScaling(const AutoScalingUpdate& value) { SetAutoScaling(value); return *this;} /** *The target auto scaling setting.
*/ inline CapacityUpdate& WithAutoScaling(AutoScalingUpdate&& value) { SetAutoScaling(std::move(value)); return *this;} /** *The target settings for provisioned capacity.
*/ inline const ProvisionedCapacityUpdate& GetProvisionedCapacity() const{ return m_provisionedCapacity; } /** *The target settings for provisioned capacity.
*/ inline bool ProvisionedCapacityHasBeenSet() const { return m_provisionedCapacityHasBeenSet; } /** *The target settings for provisioned capacity.
*/ inline void SetProvisionedCapacity(const ProvisionedCapacityUpdate& value) { m_provisionedCapacityHasBeenSet = true; m_provisionedCapacity = value; } /** *The target settings for provisioned capacity.
*/ inline void SetProvisionedCapacity(ProvisionedCapacityUpdate&& value) { m_provisionedCapacityHasBeenSet = true; m_provisionedCapacity = std::move(value); } /** *The target settings for provisioned capacity.
*/ inline CapacityUpdate& WithProvisionedCapacity(const ProvisionedCapacityUpdate& value) { SetProvisionedCapacity(value); return *this;} /** *The target settings for provisioned capacity.
*/ inline CapacityUpdate& WithProvisionedCapacity(ProvisionedCapacityUpdate&& value) { SetProvisionedCapacity(std::move(value)); return *this;} private: AutoScalingUpdate m_autoScaling; bool m_autoScalingHasBeenSet = false; ProvisionedCapacityUpdate m_provisionedCapacity; bool m_provisionedCapacityHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws