/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the capacity of the connector, whether it is auto scaled or
* provisioned.See Also:
AWS
* API Reference
Information about the auto scaling parameters for the connector.
*/ inline const AutoScaling& GetAutoScaling() const{ return m_autoScaling; } /** *Information about the auto scaling parameters for the connector.
*/ inline bool AutoScalingHasBeenSet() const { return m_autoScalingHasBeenSet; } /** *Information about the auto scaling parameters for the connector.
*/ inline void SetAutoScaling(const AutoScaling& value) { m_autoScalingHasBeenSet = true; m_autoScaling = value; } /** *Information about the auto scaling parameters for the connector.
*/ inline void SetAutoScaling(AutoScaling&& value) { m_autoScalingHasBeenSet = true; m_autoScaling = std::move(value); } /** *Information about the auto scaling parameters for the connector.
*/ inline Capacity& WithAutoScaling(const AutoScaling& value) { SetAutoScaling(value); return *this;} /** *Information about the auto scaling parameters for the connector.
*/ inline Capacity& WithAutoScaling(AutoScaling&& value) { SetAutoScaling(std::move(value)); return *this;} /** *Details about a fixed capacity allocated to a connector.
*/ inline const ProvisionedCapacity& GetProvisionedCapacity() const{ return m_provisionedCapacity; } /** *Details about a fixed capacity allocated to a connector.
*/ inline bool ProvisionedCapacityHasBeenSet() const { return m_provisionedCapacityHasBeenSet; } /** *Details about a fixed capacity allocated to a connector.
*/ inline void SetProvisionedCapacity(const ProvisionedCapacity& value) { m_provisionedCapacityHasBeenSet = true; m_provisionedCapacity = value; } /** *Details about a fixed capacity allocated to a connector.
*/ inline void SetProvisionedCapacity(ProvisionedCapacity&& value) { m_provisionedCapacityHasBeenSet = true; m_provisionedCapacity = std::move(value); } /** *Details about a fixed capacity allocated to a connector.
*/ inline Capacity& WithProvisionedCapacity(const ProvisionedCapacity& value) { SetProvisionedCapacity(value); return *this;} /** *Details about a fixed capacity allocated to a connector.
*/ inline Capacity& WithProvisionedCapacity(ProvisionedCapacity&& value) { SetProvisionedCapacity(std::move(value)); return *this;} private: AutoScaling m_autoScaling; bool m_autoScalingHasBeenSet = false; ProvisionedCapacity m_provisionedCapacity; bool m_provisionedCapacityHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws