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

Returns information about a cluster.

See * Also:

AWS * API Reference

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

Arn of active cluster operation.

*/ inline const Aws::String& GetActiveOperationArn() const{ return m_activeOperationArn; } /** *

Arn of active cluster operation.

*/ inline bool ActiveOperationArnHasBeenSet() const { return m_activeOperationArnHasBeenSet; } /** *

Arn of active cluster operation.

*/ inline void SetActiveOperationArn(const Aws::String& value) { m_activeOperationArnHasBeenSet = true; m_activeOperationArn = value; } /** *

Arn of active cluster operation.

*/ inline void SetActiveOperationArn(Aws::String&& value) { m_activeOperationArnHasBeenSet = true; m_activeOperationArn = std::move(value); } /** *

Arn of active cluster operation.

*/ inline void SetActiveOperationArn(const char* value) { m_activeOperationArnHasBeenSet = true; m_activeOperationArn.assign(value); } /** *

Arn of active cluster operation.

*/ inline ClusterInfo& WithActiveOperationArn(const Aws::String& value) { SetActiveOperationArn(value); return *this;} /** *

Arn of active cluster operation.

*/ inline ClusterInfo& WithActiveOperationArn(Aws::String&& value) { SetActiveOperationArn(std::move(value)); return *this;} /** *

Arn of active cluster operation.

*/ inline ClusterInfo& WithActiveOperationArn(const char* value) { SetActiveOperationArn(value); return *this;} /** *

Information about the broker nodes.

*/ inline const BrokerNodeGroupInfo& GetBrokerNodeGroupInfo() const{ return m_brokerNodeGroupInfo; } /** *

Information about the broker nodes.

*/ inline bool BrokerNodeGroupInfoHasBeenSet() const { return m_brokerNodeGroupInfoHasBeenSet; } /** *

Information about the broker nodes.

*/ inline void SetBrokerNodeGroupInfo(const BrokerNodeGroupInfo& value) { m_brokerNodeGroupInfoHasBeenSet = true; m_brokerNodeGroupInfo = value; } /** *

Information about the broker nodes.

*/ inline void SetBrokerNodeGroupInfo(BrokerNodeGroupInfo&& value) { m_brokerNodeGroupInfoHasBeenSet = true; m_brokerNodeGroupInfo = std::move(value); } /** *

Information about the broker nodes.

*/ inline ClusterInfo& WithBrokerNodeGroupInfo(const BrokerNodeGroupInfo& value) { SetBrokerNodeGroupInfo(value); return *this;} /** *

Information about the broker nodes.

*/ inline ClusterInfo& WithBrokerNodeGroupInfo(BrokerNodeGroupInfo&& value) { SetBrokerNodeGroupInfo(std::move(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 ClusterInfo& WithClientAuthentication(const ClientAuthentication& value) { SetClientAuthentication(value); return *this;} /** *

Includes all client authentication information.

*/ inline ClusterInfo& WithClientAuthentication(ClientAuthentication&& value) { SetClientAuthentication(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) that uniquely identifies the * cluster.

*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** *

The Amazon Resource Name (ARN) that uniquely identifies the * cluster.

*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) that uniquely identifies the * cluster.

*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** *

The Amazon Resource Name (ARN) that uniquely identifies the * cluster.

*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** *

The Amazon Resource Name (ARN) that uniquely identifies the * cluster.

*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** *

The Amazon Resource Name (ARN) that uniquely identifies the * cluster.

*/ inline ClusterInfo& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** *

The Amazon Resource Name (ARN) that uniquely identifies the * cluster.

*/ inline ClusterInfo& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) that uniquely identifies the * cluster.

*/ inline ClusterInfo& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** *

The name of the cluster.

*/ inline const Aws::String& GetClusterName() const{ return m_clusterName; } /** *

The name of the cluster.

*/ inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } /** *

The name of the cluster.

*/ inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } /** *

The name of the cluster.

*/ inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } /** *

The name of the cluster.

*/ inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } /** *

The name of the cluster.

*/ inline ClusterInfo& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** *

The name of the cluster.

*/ inline ClusterInfo& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** *

The name of the cluster.

*/ inline ClusterInfo& WithClusterName(const char* value) { SetClusterName(value); return *this;} /** *

The time when the cluster was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The time when the cluster was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The time when the cluster was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The time when the cluster was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The time when the cluster was created.

*/ inline ClusterInfo& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time when the cluster was created.

*/ inline ClusterInfo& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

Information about the version of software currently deployed on * the Apache Kafka brokers in the cluster.

*/ inline const BrokerSoftwareInfo& GetCurrentBrokerSoftwareInfo() const{ return m_currentBrokerSoftwareInfo; } /** *

Information about the version of software currently deployed on * the Apache Kafka brokers in the cluster.

*/ inline bool CurrentBrokerSoftwareInfoHasBeenSet() const { return m_currentBrokerSoftwareInfoHasBeenSet; } /** *

Information about the version of software currently deployed on * the Apache Kafka brokers in the cluster.

*/ inline void SetCurrentBrokerSoftwareInfo(const BrokerSoftwareInfo& value) { m_currentBrokerSoftwareInfoHasBeenSet = true; m_currentBrokerSoftwareInfo = value; } /** *

Information about the version of software currently deployed on * the Apache Kafka brokers in the cluster.

*/ inline void SetCurrentBrokerSoftwareInfo(BrokerSoftwareInfo&& value) { m_currentBrokerSoftwareInfoHasBeenSet = true; m_currentBrokerSoftwareInfo = std::move(value); } /** *

Information about the version of software currently deployed on * the Apache Kafka brokers in the cluster.

*/ inline ClusterInfo& WithCurrentBrokerSoftwareInfo(const BrokerSoftwareInfo& value) { SetCurrentBrokerSoftwareInfo(value); return *this;} /** *

Information about the version of software currently deployed on * the Apache Kafka brokers in the cluster.

*/ inline ClusterInfo& WithCurrentBrokerSoftwareInfo(BrokerSoftwareInfo&& value) { SetCurrentBrokerSoftwareInfo(std::move(value)); return *this;} /** *

The current version of the MSK cluster.

*/ inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; } /** *

The current version of the MSK cluster.

*/ inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; } /** *

The current version of the MSK cluster.

*/ inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; } /** *

The current version of the MSK cluster.

*/ inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); } /** *

The current version of the MSK cluster.

*/ inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); } /** *

The current version of the MSK cluster.

*/ inline ClusterInfo& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;} /** *

The current version of the MSK cluster.

*/ inline ClusterInfo& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;} /** *

The current version of the MSK cluster.

*/ inline ClusterInfo& WithCurrentVersion(const char* value) { SetCurrentVersion(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 ClusterInfo& WithEncryptionInfo(const EncryptionInfo& value) { SetEncryptionInfo(value); return *this;} /** *

Includes all encryption-related information.

*/ inline ClusterInfo& WithEncryptionInfo(EncryptionInfo&& value) { SetEncryptionInfo(std::move(value)); return *this;} /** *

Specifies which metrics are gathered for the MSK cluster. This * property has the following possible values: DEFAULT, PER_BROKER, * PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION. For a list of the metrics * associated with each of these levels of monitoring, see Monitoring.

* */ inline const EnhancedMonitoring& GetEnhancedMonitoring() const{ return m_enhancedMonitoring; } /** *

Specifies which metrics are gathered for the MSK cluster. This * property has the following possible values: DEFAULT, PER_BROKER, * PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION. For a list of the metrics * associated with each of these levels of monitoring, see Monitoring.

* */ inline bool EnhancedMonitoringHasBeenSet() const { return m_enhancedMonitoringHasBeenSet; } /** *

Specifies which metrics are gathered for the MSK cluster. This * property has the following possible values: DEFAULT, PER_BROKER, * PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION. For a list of the metrics * associated with each of these levels of monitoring, see Monitoring.

* */ inline void SetEnhancedMonitoring(const EnhancedMonitoring& value) { m_enhancedMonitoringHasBeenSet = true; m_enhancedMonitoring = value; } /** *

Specifies which metrics are gathered for the MSK cluster. This * property has the following possible values: DEFAULT, PER_BROKER, * PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION. For a list of the metrics * associated with each of these levels of monitoring, see Monitoring.

* */ inline void SetEnhancedMonitoring(EnhancedMonitoring&& value) { m_enhancedMonitoringHasBeenSet = true; m_enhancedMonitoring = std::move(value); } /** *

Specifies which metrics are gathered for the MSK cluster. This * property has the following possible values: DEFAULT, PER_BROKER, * PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION. For a list of the metrics * associated with each of these levels of monitoring, see Monitoring.

* */ inline ClusterInfo& WithEnhancedMonitoring(const EnhancedMonitoring& value) { SetEnhancedMonitoring(value); return *this;} /** *

Specifies which metrics are gathered for the MSK cluster. This * property has the following possible values: DEFAULT, PER_BROKER, * PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION. For a list of the metrics * associated with each of these levels of monitoring, see Monitoring.

* */ inline ClusterInfo& WithEnhancedMonitoring(EnhancedMonitoring&& value) { SetEnhancedMonitoring(std::move(value)); return *this;} /** *

Settings for open monitoring using Prometheus.

*/ inline const OpenMonitoring& GetOpenMonitoring() const{ return m_openMonitoring; } /** *

Settings for open monitoring using Prometheus.

*/ inline bool OpenMonitoringHasBeenSet() const { return m_openMonitoringHasBeenSet; } /** *

Settings for open monitoring using Prometheus.

*/ inline void SetOpenMonitoring(const OpenMonitoring& value) { m_openMonitoringHasBeenSet = true; m_openMonitoring = value; } /** *

Settings for open monitoring using Prometheus.

*/ inline void SetOpenMonitoring(OpenMonitoring&& value) { m_openMonitoringHasBeenSet = true; m_openMonitoring = std::move(value); } /** *

Settings for open monitoring using Prometheus.

*/ inline ClusterInfo& WithOpenMonitoring(const OpenMonitoring& value) { SetOpenMonitoring(value); return *this;} /** *

Settings for open monitoring using Prometheus.

*/ inline ClusterInfo& WithOpenMonitoring(OpenMonitoring&& value) { SetOpenMonitoring(std::move(value)); return *this;} inline const LoggingInfo& GetLoggingInfo() const{ return m_loggingInfo; } inline bool LoggingInfoHasBeenSet() const { return m_loggingInfoHasBeenSet; } inline void SetLoggingInfo(const LoggingInfo& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = value; } inline void SetLoggingInfo(LoggingInfo&& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = std::move(value); } inline ClusterInfo& WithLoggingInfo(const LoggingInfo& value) { SetLoggingInfo(value); return *this;} inline ClusterInfo& WithLoggingInfo(LoggingInfo&& value) { SetLoggingInfo(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 ClusterInfo& WithNumberOfBrokerNodes(int value) { SetNumberOfBrokerNodes(value); return *this;} /** *

The state of the cluster. The possible states are ACTIVE, * CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and * UPDATING.

*/ inline const ClusterState& GetState() const{ return m_state; } /** *

The state of the cluster. The possible states are ACTIVE, * CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and * UPDATING.

*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *

The state of the cluster. The possible states are ACTIVE, * CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and * UPDATING.

*/ inline void SetState(const ClusterState& value) { m_stateHasBeenSet = true; m_state = value; } /** *

The state of the cluster. The possible states are ACTIVE, * CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and * UPDATING.

*/ inline void SetState(ClusterState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *

The state of the cluster. The possible states are ACTIVE, * CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and * UPDATING.

*/ inline ClusterInfo& WithState(const ClusterState& value) { SetState(value); return *this;} /** *

The state of the cluster. The possible states are ACTIVE, * CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and * UPDATING.

*/ inline ClusterInfo& WithState(ClusterState&& value) { SetState(std::move(value)); return *this;} inline const StateInfo& GetStateInfo() const{ return m_stateInfo; } inline bool StateInfoHasBeenSet() const { return m_stateInfoHasBeenSet; } inline void SetStateInfo(const StateInfo& value) { m_stateInfoHasBeenSet = true; m_stateInfo = value; } inline void SetStateInfo(StateInfo&& value) { m_stateInfoHasBeenSet = true; m_stateInfo = std::move(value); } inline ClusterInfo& WithStateInfo(const StateInfo& value) { SetStateInfo(value); return *this;} inline ClusterInfo& WithStateInfo(StateInfo&& value) { SetStateInfo(std::move(value)); return *this;} /** *

Tags attached to the cluster.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Tags attached to the cluster.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Tags attached to the cluster.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Tags attached to the cluster.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Tags attached to the cluster.

*/ inline ClusterInfo& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Tags attached to the cluster.

*/ inline ClusterInfo& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Tags attached to the cluster.

*/ inline ClusterInfo& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

Tags attached to the cluster.

*/ inline ClusterInfo& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Tags attached to the cluster.

*/ inline ClusterInfo& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags attached to the cluster.

*/ inline ClusterInfo& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Tags attached to the cluster.

*/ inline ClusterInfo& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags attached to the cluster.

*/ inline ClusterInfo& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Tags attached to the cluster.

*/ inline ClusterInfo& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The connection string to use to connect to the Apache ZooKeeper * cluster.

*/ inline const Aws::String& GetZookeeperConnectString() const{ return m_zookeeperConnectString; } /** *

The connection string to use to connect to the Apache ZooKeeper * cluster.

*/ inline bool ZookeeperConnectStringHasBeenSet() const { return m_zookeeperConnectStringHasBeenSet; } /** *

The connection string to use to connect to the Apache ZooKeeper * cluster.

*/ inline void SetZookeeperConnectString(const Aws::String& value) { m_zookeeperConnectStringHasBeenSet = true; m_zookeeperConnectString = value; } /** *

The connection string to use to connect to the Apache ZooKeeper * cluster.

*/ inline void SetZookeeperConnectString(Aws::String&& value) { m_zookeeperConnectStringHasBeenSet = true; m_zookeeperConnectString = std::move(value); } /** *

The connection string to use to connect to the Apache ZooKeeper * cluster.

*/ inline void SetZookeeperConnectString(const char* value) { m_zookeeperConnectStringHasBeenSet = true; m_zookeeperConnectString.assign(value); } /** *

The connection string to use to connect to the Apache ZooKeeper * cluster.

*/ inline ClusterInfo& WithZookeeperConnectString(const Aws::String& value) { SetZookeeperConnectString(value); return *this;} /** *

The connection string to use to connect to the Apache ZooKeeper * cluster.

*/ inline ClusterInfo& WithZookeeperConnectString(Aws::String&& value) { SetZookeeperConnectString(std::move(value)); return *this;} /** *

The connection string to use to connect to the Apache ZooKeeper * cluster.

*/ inline ClusterInfo& WithZookeeperConnectString(const char* value) { SetZookeeperConnectString(value); return *this;} /** *

The connection string to use to connect to zookeeper cluster on * Tls port.

*/ inline const Aws::String& GetZookeeperConnectStringTls() const{ return m_zookeeperConnectStringTls; } /** *

The connection string to use to connect to zookeeper cluster on * Tls port.

*/ inline bool ZookeeperConnectStringTlsHasBeenSet() const { return m_zookeeperConnectStringTlsHasBeenSet; } /** *

The connection string to use to connect to zookeeper cluster on * Tls port.

*/ inline void SetZookeeperConnectStringTls(const Aws::String& value) { m_zookeeperConnectStringTlsHasBeenSet = true; m_zookeeperConnectStringTls = value; } /** *

The connection string to use to connect to zookeeper cluster on * Tls port.

*/ inline void SetZookeeperConnectStringTls(Aws::String&& value) { m_zookeeperConnectStringTlsHasBeenSet = true; m_zookeeperConnectStringTls = std::move(value); } /** *

The connection string to use to connect to zookeeper cluster on * Tls port.

*/ inline void SetZookeeperConnectStringTls(const char* value) { m_zookeeperConnectStringTlsHasBeenSet = true; m_zookeeperConnectStringTls.assign(value); } /** *

The connection string to use to connect to zookeeper cluster on * Tls port.

*/ inline ClusterInfo& WithZookeeperConnectStringTls(const Aws::String& value) { SetZookeeperConnectStringTls(value); return *this;} /** *

The connection string to use to connect to zookeeper cluster on * Tls port.

*/ inline ClusterInfo& WithZookeeperConnectStringTls(Aws::String&& value) { SetZookeeperConnectStringTls(std::move(value)); return *this;} /** *

The connection string to use to connect to zookeeper cluster on * Tls port.

*/ inline ClusterInfo& WithZookeeperConnectStringTls(const char* value) { SetZookeeperConnectStringTls(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 ClusterInfo& WithStorageMode(const StorageMode& value) { SetStorageMode(value); return *this;} /** *

This controls storage mode for supported storage tiers.

* */ inline ClusterInfo& WithStorageMode(StorageMode&& value) { SetStorageMode(std::move(value)); return *this;} private: Aws::String m_activeOperationArn; bool m_activeOperationArnHasBeenSet = false; BrokerNodeGroupInfo m_brokerNodeGroupInfo; bool m_brokerNodeGroupInfoHasBeenSet = false; ClientAuthentication m_clientAuthentication; bool m_clientAuthenticationHasBeenSet = false; Aws::String m_clusterArn; bool m_clusterArnHasBeenSet = false; Aws::String m_clusterName; bool m_clusterNameHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; BrokerSoftwareInfo m_currentBrokerSoftwareInfo; bool m_currentBrokerSoftwareInfoHasBeenSet = false; Aws::String m_currentVersion; bool m_currentVersionHasBeenSet = false; EncryptionInfo m_encryptionInfo; bool m_encryptionInfoHasBeenSet = false; EnhancedMonitoring m_enhancedMonitoring; bool m_enhancedMonitoringHasBeenSet = false; OpenMonitoring m_openMonitoring; bool m_openMonitoringHasBeenSet = false; LoggingInfo m_loggingInfo; bool m_loggingInfoHasBeenSet = false; int m_numberOfBrokerNodes; bool m_numberOfBrokerNodesHasBeenSet = false; ClusterState m_state; bool m_stateHasBeenSet = false; StateInfo m_stateInfo; bool m_stateInfoHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; Aws::String m_zookeeperConnectString; bool m_zookeeperConnectStringHasBeenSet = false; Aws::String m_zookeeperConnectStringTls; bool m_zookeeperConnectStringTlsHasBeenSet = false; StorageMode m_storageMode; bool m_storageModeHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws