/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about a connector's provisioned capacity.See Also:
* AWS
* API Reference
The number of microcontroller units (MCUs) allocated to each connector * worker. The valid values are 1,2,4,8.
*/ inline int GetMcuCount() const{ return m_mcuCount; } /** *The number of microcontroller units (MCUs) allocated to each connector * worker. The valid values are 1,2,4,8.
*/ inline bool McuCountHasBeenSet() const { return m_mcuCountHasBeenSet; } /** *The number of microcontroller units (MCUs) allocated to each connector * worker. The valid values are 1,2,4,8.
*/ inline void SetMcuCount(int value) { m_mcuCountHasBeenSet = true; m_mcuCount = value; } /** *The number of microcontroller units (MCUs) allocated to each connector * worker. The valid values are 1,2,4,8.
*/ inline ProvisionedCapacity& WithMcuCount(int value) { SetMcuCount(value); return *this;} /** *The number of workers that are allocated to the connector.
*/ inline int GetWorkerCount() const{ return m_workerCount; } /** *The number of workers that are allocated to the connector.
*/ inline bool WorkerCountHasBeenSet() const { return m_workerCountHasBeenSet; } /** *The number of workers that are allocated to the connector.
*/ inline void SetWorkerCount(int value) { m_workerCountHasBeenSet = true; m_workerCount = value; } /** *The number of workers that are allocated to the connector.
*/ inline ProvisionedCapacity& WithWorkerCount(int value) { SetWorkerCount(value); return *this;} private: int m_mcuCount; bool m_mcuCountHasBeenSet = false; int m_workerCount; bool m_workerCountHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws