/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about cluster attributes that can be updated via
* update APIs.See Also:
AWS
* API Reference
Specifies the size of the EBS volume and the ID of the * associated broker.
*/ inline const Aws::VectorSpecifies the size of the EBS volume and the ID of the * associated broker.
*/ inline bool BrokerEBSVolumeInfoHasBeenSet() const { return m_brokerEBSVolumeInfoHasBeenSet; } /** *Specifies the size of the EBS volume and the ID of the * associated broker.
*/ inline void SetBrokerEBSVolumeInfo(const Aws::VectorSpecifies the size of the EBS volume and the ID of the * associated broker.
*/ inline void SetBrokerEBSVolumeInfo(Aws::VectorSpecifies the size of the EBS volume and the ID of the * associated broker.
*/ inline MutableClusterInfo& WithBrokerEBSVolumeInfo(const Aws::VectorSpecifies the size of the EBS volume and the ID of the * associated broker.
*/ inline MutableClusterInfo& WithBrokerEBSVolumeInfo(Aws::VectorSpecifies the size of the EBS volume and the ID of the * associated broker.
*/ inline MutableClusterInfo& AddBrokerEBSVolumeInfo(const BrokerEBSVolumeInfo& value) { m_brokerEBSVolumeInfoHasBeenSet = true; m_brokerEBSVolumeInfo.push_back(value); return *this; } /** *Specifies the size of the EBS volume and the ID of the * associated broker.
*/ inline MutableClusterInfo& AddBrokerEBSVolumeInfo(BrokerEBSVolumeInfo&& value) { m_brokerEBSVolumeInfoHasBeenSet = true; m_brokerEBSVolumeInfo.push_back(std::move(value)); return *this; } /** *Information about the changes in the configuration of the * brokers.
*/ inline const ConfigurationInfo& GetConfigurationInfo() const{ return m_configurationInfo; } /** *Information about the changes in the configuration of the * brokers.
*/ inline bool ConfigurationInfoHasBeenSet() const { return m_configurationInfoHasBeenSet; } /** *Information about the changes in the configuration of the * brokers.
*/ inline void SetConfigurationInfo(const ConfigurationInfo& value) { m_configurationInfoHasBeenSet = true; m_configurationInfo = value; } /** *Information about the changes in the configuration of the * brokers.
*/ inline void SetConfigurationInfo(ConfigurationInfo&& value) { m_configurationInfoHasBeenSet = true; m_configurationInfo = std::move(value); } /** *Information about the changes in the configuration of the * brokers.
*/ inline MutableClusterInfo& WithConfigurationInfo(const ConfigurationInfo& value) { SetConfigurationInfo(value); return *this;} /** *Information about the changes in the configuration of the * brokers.
*/ inline MutableClusterInfo& WithConfigurationInfo(ConfigurationInfo&& value) { SetConfigurationInfo(std::move(value)); return *this;} /** *The number of broker nodes in the cluster.
*/ inline int GetNumberOfBrokerNodes() const{ return m_numberOfBrokerNodes; } /** *The number of broker nodes in the cluster.
*/ inline bool NumberOfBrokerNodesHasBeenSet() const { return m_numberOfBrokerNodesHasBeenSet; } /** *The number of broker nodes in the cluster.
*/ inline void SetNumberOfBrokerNodes(int value) { m_numberOfBrokerNodesHasBeenSet = true; m_numberOfBrokerNodes = value; } /** *The number of broker nodes in the cluster.
*/ inline MutableClusterInfo& WithNumberOfBrokerNodes(int value) { SetNumberOfBrokerNodes(value); return *this;} /** *Specifies which Apache Kafka metrics Amazon MSK gathers and * sends to Amazon CloudWatch for this cluster.
*/ inline const EnhancedMonitoring& GetEnhancedMonitoring() const{ return m_enhancedMonitoring; } /** *Specifies which Apache Kafka metrics Amazon MSK gathers and * sends to Amazon CloudWatch for this cluster.
*/ inline bool EnhancedMonitoringHasBeenSet() const { return m_enhancedMonitoringHasBeenSet; } /** *Specifies which Apache Kafka metrics Amazon MSK gathers and * sends to Amazon CloudWatch for this cluster.
*/ inline void SetEnhancedMonitoring(const EnhancedMonitoring& value) { m_enhancedMonitoringHasBeenSet = true; m_enhancedMonitoring = value; } /** *Specifies which Apache Kafka metrics Amazon MSK gathers and * sends to Amazon CloudWatch for this cluster.
*/ inline void SetEnhancedMonitoring(EnhancedMonitoring&& value) { m_enhancedMonitoringHasBeenSet = true; m_enhancedMonitoring = std::move(value); } /** *Specifies which Apache Kafka metrics Amazon MSK gathers and * sends to Amazon CloudWatch for this cluster.
*/ inline MutableClusterInfo& WithEnhancedMonitoring(const EnhancedMonitoring& value) { SetEnhancedMonitoring(value); return *this;} /** *Specifies which Apache Kafka metrics Amazon MSK gathers and * sends to Amazon CloudWatch for this cluster.
*/ inline MutableClusterInfo& WithEnhancedMonitoring(EnhancedMonitoring&& value) { SetEnhancedMonitoring(std::move(value)); return *this;} /** *The settings for open monitoring.
*/ inline const OpenMonitoring& GetOpenMonitoring() const{ return m_openMonitoring; } /** *The settings for open monitoring.
*/ inline bool OpenMonitoringHasBeenSet() const { return m_openMonitoringHasBeenSet; } /** *The settings for open monitoring.
*/ inline void SetOpenMonitoring(const OpenMonitoring& value) { m_openMonitoringHasBeenSet = true; m_openMonitoring = value; } /** *The settings for open monitoring.
*/ inline void SetOpenMonitoring(OpenMonitoring&& value) { m_openMonitoringHasBeenSet = true; m_openMonitoring = std::move(value); } /** *The settings for open monitoring.
*/ inline MutableClusterInfo& WithOpenMonitoring(const OpenMonitoring& value) { SetOpenMonitoring(value); return *this;} /** *The settings for open monitoring.
*/ inline MutableClusterInfo& WithOpenMonitoring(OpenMonitoring&& value) { SetOpenMonitoring(std::move(value)); return *this;} /** *The Apache Kafka version.
*/ inline const Aws::String& GetKafkaVersion() const{ return m_kafkaVersion; } /** *The Apache Kafka version.
*/ inline bool KafkaVersionHasBeenSet() const { return m_kafkaVersionHasBeenSet; } /** *The Apache Kafka version.
*/ inline void SetKafkaVersion(const Aws::String& value) { m_kafkaVersionHasBeenSet = true; m_kafkaVersion = value; } /** *The Apache Kafka version.
*/ inline void SetKafkaVersion(Aws::String&& value) { m_kafkaVersionHasBeenSet = true; m_kafkaVersion = std::move(value); } /** *The Apache Kafka version.
*/ inline void SetKafkaVersion(const char* value) { m_kafkaVersionHasBeenSet = true; m_kafkaVersion.assign(value); } /** *The Apache Kafka version.
*/ inline MutableClusterInfo& WithKafkaVersion(const Aws::String& value) { SetKafkaVersion(value); return *this;} /** *The Apache Kafka version.
*/ inline MutableClusterInfo& WithKafkaVersion(Aws::String&& value) { SetKafkaVersion(std::move(value)); return *this;} /** *The Apache Kafka version.
*/ inline MutableClusterInfo& WithKafkaVersion(const char* value) { SetKafkaVersion(value); return *this;} /** *You can configure your MSK cluster to send broker logs to * different destination types. This is a container for the configuration details * related to broker logs.
*/ inline const LoggingInfo& GetLoggingInfo() const{ return m_loggingInfo; } /** *You can configure your MSK cluster to send broker logs to * different destination types. This is a container for the configuration details * related to broker logs.
*/ inline bool LoggingInfoHasBeenSet() const { return m_loggingInfoHasBeenSet; } /** *You can configure your MSK cluster to send broker logs to * different destination types. This is a container for the configuration details * related to broker logs.
*/ inline void SetLoggingInfo(const LoggingInfo& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = value; } /** *You can configure your MSK cluster to send broker logs to * different destination types. This is a container for the configuration details * related to broker logs.
*/ inline void SetLoggingInfo(LoggingInfo&& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = std::move(value); } /** *You can configure your MSK cluster to send broker logs to * different destination types. This is a container for the configuration details * related to broker logs.
*/ inline MutableClusterInfo& WithLoggingInfo(const LoggingInfo& value) { SetLoggingInfo(value); return *this;} /** *You can configure your MSK cluster to send broker logs to * different destination types. This is a container for the configuration details * related to broker logs.
*/ inline MutableClusterInfo& WithLoggingInfo(LoggingInfo&& value) { SetLoggingInfo(std::move(value)); return *this;} /** *Information about the Amazon MSK broker type.
*/ inline const Aws::String& GetInstanceType() const{ return m_instanceType; } /** *Information about the Amazon MSK broker type.
*/ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } /** *Information about the Amazon MSK broker type.
*/ inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } /** *Information about the Amazon MSK broker type.
*/ inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } /** *Information about the Amazon MSK broker type.
*/ inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); } /** *Information about the Amazon MSK broker type.
*/ inline MutableClusterInfo& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} /** *Information about the Amazon MSK broker type.
*/ inline MutableClusterInfo& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} /** *Information about the Amazon MSK broker type.
*/ inline MutableClusterInfo& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} /** *Includes all client authentication information.
*/ inline const ClientAuthentication& GetClientAuthentication() const{ return m_clientAuthentication; } /** *Includes all client authentication information.
*/ inline bool ClientAuthenticationHasBeenSet() const { return m_clientAuthenticationHasBeenSet; } /** *Includes all client authentication information.
*/ inline void SetClientAuthentication(const ClientAuthentication& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = value; } /** *Includes all client authentication information.
*/ inline void SetClientAuthentication(ClientAuthentication&& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = std::move(value); } /** *Includes all client authentication information.
*/ inline MutableClusterInfo& WithClientAuthentication(const ClientAuthentication& value) { SetClientAuthentication(value); return *this;} /** *Includes all client authentication information.
*/ inline MutableClusterInfo& WithClientAuthentication(ClientAuthentication&& value) { SetClientAuthentication(std::move(value)); return *this;} /** *Includes all encryption-related information.
*/ inline const EncryptionInfo& GetEncryptionInfo() const{ return m_encryptionInfo; } /** *Includes all encryption-related information.
*/ inline bool EncryptionInfoHasBeenSet() const { return m_encryptionInfoHasBeenSet; } /** *Includes all encryption-related information.
*/ inline void SetEncryptionInfo(const EncryptionInfo& value) { m_encryptionInfoHasBeenSet = true; m_encryptionInfo = value; } /** *Includes all encryption-related information.
*/ inline void SetEncryptionInfo(EncryptionInfo&& value) { m_encryptionInfoHasBeenSet = true; m_encryptionInfo = std::move(value); } /** *Includes all encryption-related information.
*/ inline MutableClusterInfo& WithEncryptionInfo(const EncryptionInfo& value) { SetEncryptionInfo(value); return *this;} /** *Includes all encryption-related information.
*/ inline MutableClusterInfo& WithEncryptionInfo(EncryptionInfo&& value) { SetEncryptionInfo(std::move(value)); return *this;} /** *Information about the broker access configuration.
*/ inline const ConnectivityInfo& GetConnectivityInfo() const{ return m_connectivityInfo; } /** *Information about the broker access configuration.
*/ inline bool ConnectivityInfoHasBeenSet() const { return m_connectivityInfoHasBeenSet; } /** *Information about the broker access configuration.
*/ inline void SetConnectivityInfo(const ConnectivityInfo& value) { m_connectivityInfoHasBeenSet = true; m_connectivityInfo = value; } /** *Information about the broker access configuration.
*/ inline void SetConnectivityInfo(ConnectivityInfo&& value) { m_connectivityInfoHasBeenSet = true; m_connectivityInfo = std::move(value); } /** *Information about the broker access configuration.
*/ inline MutableClusterInfo& WithConnectivityInfo(const ConnectivityInfo& value) { SetConnectivityInfo(value); return *this;} /** *Information about the broker access configuration.
*/ inline MutableClusterInfo& WithConnectivityInfo(ConnectivityInfo&& value) { SetConnectivityInfo(std::move(value)); return *this;} /** *This controls storage mode for supported storage tiers.
* */ inline const StorageMode& GetStorageMode() const{ return m_storageMode; } /** *This controls storage mode for supported storage tiers.
* */ inline bool StorageModeHasBeenSet() const { return m_storageModeHasBeenSet; } /** *This controls storage mode for supported storage tiers.
* */ inline void SetStorageMode(const StorageMode& value) { m_storageModeHasBeenSet = true; m_storageMode = value; } /** *This controls storage mode for supported storage tiers.
* */ inline void SetStorageMode(StorageMode&& value) { m_storageModeHasBeenSet = true; m_storageMode = std::move(value); } /** *This controls storage mode for supported storage tiers.
* */ inline MutableClusterInfo& WithStorageMode(const StorageMode& value) { SetStorageMode(value); return *this;} /** *This controls storage mode for supported storage tiers.
* */ inline MutableClusterInfo& WithStorageMode(StorageMode&& value) { SetStorageMode(std::move(value)); return *this;} private: Aws::Vector