/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Kafka { namespace Model { /** *

Contains information about provisioned throughput for EBS * storage volumes attached to kafka broker nodes.

See * Also:

AWS * API Reference

*/ class ProvisionedThroughput { public: AWS_KAFKA_API ProvisionedThroughput(); AWS_KAFKA_API ProvisionedThroughput(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKA_API ProvisionedThroughput& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Provisioned throughput is enabled or not.

*/ inline bool GetEnabled() const{ return m_enabled; } /** *

Provisioned throughput is enabled or not.

*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *

Provisioned throughput is enabled or not.

*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *

Provisioned throughput is enabled or not.

*/ inline ProvisionedThroughput& WithEnabled(bool value) { SetEnabled(value); return *this;} /** *

Throughput value of the EBS volumes for the data drive on each * kafka broker node in MiB per second.

*/ inline int GetVolumeThroughput() const{ return m_volumeThroughput; } /** *

Throughput value of the EBS volumes for the data drive on each * kafka broker node in MiB per second.

*/ inline bool VolumeThroughputHasBeenSet() const { return m_volumeThroughputHasBeenSet; } /** *

Throughput value of the EBS volumes for the data drive on each * kafka broker node in MiB per second.

*/ inline void SetVolumeThroughput(int value) { m_volumeThroughputHasBeenSet = true; m_volumeThroughput = value; } /** *

Throughput value of the EBS volumes for the data drive on each * kafka broker node in MiB per second.

*/ inline ProvisionedThroughput& WithVolumeThroughput(int value) { SetVolumeThroughput(value); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; int m_volumeThroughput; bool m_volumeThroughputHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws