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

Contains information about the EBS storage volumes attached to * Apache Kafka broker nodes.

See Also:

AWS * API Reference

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

EBS volume provisioned throughput information.

*/ inline const ProvisionedThroughput& GetProvisionedThroughput() const{ return m_provisionedThroughput; } /** *

EBS volume provisioned throughput information.

*/ inline bool ProvisionedThroughputHasBeenSet() const { return m_provisionedThroughputHasBeenSet; } /** *

EBS volume provisioned throughput information.

*/ inline void SetProvisionedThroughput(const ProvisionedThroughput& value) { m_provisionedThroughputHasBeenSet = true; m_provisionedThroughput = value; } /** *

EBS volume provisioned throughput information.

*/ inline void SetProvisionedThroughput(ProvisionedThroughput&& value) { m_provisionedThroughputHasBeenSet = true; m_provisionedThroughput = std::move(value); } /** *

EBS volume provisioned throughput information.

*/ inline EBSStorageInfo& WithProvisionedThroughput(const ProvisionedThroughput& value) { SetProvisionedThroughput(value); return *this;} /** *

EBS volume provisioned throughput information.

*/ inline EBSStorageInfo& WithProvisionedThroughput(ProvisionedThroughput&& value) { SetProvisionedThroughput(std::move(value)); return *this;} /** *

The size in GiB of the EBS volume for the data drive on each * broker node.

*/ inline int GetVolumeSize() const{ return m_volumeSize; } /** *

The size in GiB of the EBS volume for the data drive on each * broker node.

*/ inline bool VolumeSizeHasBeenSet() const { return m_volumeSizeHasBeenSet; } /** *

The size in GiB of the EBS volume for the data drive on each * broker node.

*/ inline void SetVolumeSize(int value) { m_volumeSizeHasBeenSet = true; m_volumeSize = value; } /** *

The size in GiB of the EBS volume for the data drive on each * broker node.

*/ inline EBSStorageInfo& WithVolumeSize(int value) { SetVolumeSize(value); return *this;} private: ProvisionedThroughput m_provisionedThroughput; bool m_provisionedThroughputHasBeenSet = false; int m_volumeSize; bool m_volumeSizeHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws