/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the EBS volume upgrade information. The broker
* identifier must be set to the keyword ALL. This means the changes apply to all
* the brokers in the cluster.See Also:
AWS
* API Reference
The ID of the broker to update.
*/ inline const Aws::String& GetKafkaBrokerNodeId() const{ return m_kafkaBrokerNodeId; } /** *The ID of the broker to update.
*/ inline bool KafkaBrokerNodeIdHasBeenSet() const { return m_kafkaBrokerNodeIdHasBeenSet; } /** *The ID of the broker to update.
*/ inline void SetKafkaBrokerNodeId(const Aws::String& value) { m_kafkaBrokerNodeIdHasBeenSet = true; m_kafkaBrokerNodeId = value; } /** *The ID of the broker to update.
*/ inline void SetKafkaBrokerNodeId(Aws::String&& value) { m_kafkaBrokerNodeIdHasBeenSet = true; m_kafkaBrokerNodeId = std::move(value); } /** *The ID of the broker to update.
*/ inline void SetKafkaBrokerNodeId(const char* value) { m_kafkaBrokerNodeIdHasBeenSet = true; m_kafkaBrokerNodeId.assign(value); } /** *The ID of the broker to update.
*/ inline BrokerEBSVolumeInfo& WithKafkaBrokerNodeId(const Aws::String& value) { SetKafkaBrokerNodeId(value); return *this;} /** *The ID of the broker to update.
*/ inline BrokerEBSVolumeInfo& WithKafkaBrokerNodeId(Aws::String&& value) { SetKafkaBrokerNodeId(std::move(value)); return *this;} /** *The ID of the broker to update.
*/ inline BrokerEBSVolumeInfo& WithKafkaBrokerNodeId(const char* value) { SetKafkaBrokerNodeId(value); return *this;} /** *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 BrokerEBSVolumeInfo& WithProvisionedThroughput(const ProvisionedThroughput& value) { SetProvisionedThroughput(value); return *this;} /** *EBS volume provisioned throughput information.
*/ inline BrokerEBSVolumeInfo& WithProvisionedThroughput(ProvisionedThroughput&& value) { SetProvisionedThroughput(std::move(value)); return *this;} /** *Size of the EBS volume to update.
*/ inline int GetVolumeSizeGB() const{ return m_volumeSizeGB; } /** *Size of the EBS volume to update.
*/ inline bool VolumeSizeGBHasBeenSet() const { return m_volumeSizeGBHasBeenSet; } /** *Size of the EBS volume to update.
*/ inline void SetVolumeSizeGB(int value) { m_volumeSizeGBHasBeenSet = true; m_volumeSizeGB = value; } /** *Size of the EBS volume to update.
*/ inline BrokerEBSVolumeInfo& WithVolumeSizeGB(int value) { SetVolumeSizeGB(value); return *this;} private: Aws::String m_kafkaBrokerNodeId; bool m_kafkaBrokerNodeIdHasBeenSet = false; ProvisionedThroughput m_provisionedThroughput; bool m_provisionedThroughputHasBeenSet = false; int m_volumeSizeGB; bool m_volumeSizeGBHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws