/** * 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 namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Kafka { namespace Model { /** *

Provisioned cluster.

See Also:

AWS * API Reference

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

Information about the brokers.

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

Information about the brokers.

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

Information about the brokers.

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

Information about the brokers.

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

Information about the brokers.

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

Information about the brokers.

*/ inline Provisioned& WithBrokerNodeGroupInfo(BrokerNodeGroupInfo&& value) { SetBrokerNodeGroupInfo(std::move(value)); return *this;} /** *

Information about the Apache Kafka version deployed on the * brokers.

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

Information about the Apache Kafka version deployed on the * brokers.

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

Information about the Apache Kafka version deployed on the * brokers.

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

Information about the Apache Kafka version deployed on the * brokers.

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

Information about the Apache Kafka version deployed on the * brokers.

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

Information about the Apache Kafka version deployed on the * brokers.

*/ inline Provisioned& WithCurrentBrokerSoftwareInfo(BrokerSoftwareInfo&& value) { SetCurrentBrokerSoftwareInfo(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 Provisioned& WithClientAuthentication(const ClientAuthentication& value) { SetClientAuthentication(value); return *this;} /** *

Includes all client authentication information.

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

Includes all encryption-related information.

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

Specifies the level of monitoring for the MSK cluster. The * possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and * PER_TOPIC_PER_PARTITION.

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

Specifies the level of monitoring for the MSK cluster. The * possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and * PER_TOPIC_PER_PARTITION.

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

Specifies the level of monitoring for the MSK cluster. The * possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and * PER_TOPIC_PER_PARTITION.

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

Specifies the level of monitoring for the MSK cluster. The * possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and * PER_TOPIC_PER_PARTITION.

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

Specifies the level of monitoring for the MSK cluster. The * possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and * PER_TOPIC_PER_PARTITION.

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

Specifies the level of monitoring for the MSK cluster. The * possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and * PER_TOPIC_PER_PARTITION.

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

The settings for open monitoring.

*/ inline const OpenMonitoringInfo& 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 OpenMonitoringInfo& value) { m_openMonitoringHasBeenSet = true; m_openMonitoring = value; } /** *

The settings for open monitoring.

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

The settings for open monitoring.

*/ inline Provisioned& WithOpenMonitoring(const OpenMonitoringInfo& value) { SetOpenMonitoring(value); return *this;} /** *

The settings for open monitoring.

*/ inline Provisioned& WithOpenMonitoring(OpenMonitoringInfo&& value) { SetOpenMonitoring(std::move(value)); return *this;} /** *

Log delivery information for the cluster.

*/ inline const LoggingInfo& GetLoggingInfo() const{ return m_loggingInfo; } /** *

Log delivery information for the cluster.

*/ inline bool LoggingInfoHasBeenSet() const { return m_loggingInfoHasBeenSet; } /** *

Log delivery information for the cluster.

*/ inline void SetLoggingInfo(const LoggingInfo& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = value; } /** *

Log delivery information for the cluster.

*/ inline void SetLoggingInfo(LoggingInfo&& value) { m_loggingInfoHasBeenSet = true; m_loggingInfo = std::move(value); } /** *

Log delivery information for the cluster.

*/ inline Provisioned& WithLoggingInfo(const LoggingInfo& value) { SetLoggingInfo(value); return *this;} /** *

Log delivery information for the cluster.

*/ inline Provisioned& 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 Provisioned& WithNumberOfBrokerNodes(int value) { SetNumberOfBrokerNodes(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 Provisioned& WithZookeeperConnectString(const Aws::String& value) { SetZookeeperConnectString(value); return *this;} /** *

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

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

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

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

The connection string to use to connect to the Apache ZooKeeper * cluster on a TLS port.

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

The connection string to use to connect to the Apache ZooKeeper * cluster on a TLS port.

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

The connection string to use to connect to the Apache ZooKeeper * cluster on a TLS port.

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

The connection string to use to connect to the Apache ZooKeeper * cluster on a TLS port.

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

The connection string to use to connect to the Apache ZooKeeper * cluster on a TLS port.

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

The connection string to use to connect to the Apache ZooKeeper * cluster on a TLS port.

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

The connection string to use to connect to the Apache ZooKeeper * cluster on a TLS port.

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

The connection string to use to connect to the Apache ZooKeeper * cluster on a TLS port.

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

This controls storage mode for supported storage tiers.

* */ inline Provisioned& WithStorageMode(StorageMode&& value) { SetStorageMode(std::move(value)); return *this;} private: BrokerNodeGroupInfo m_brokerNodeGroupInfo; bool m_brokerNodeGroupInfoHasBeenSet = false; BrokerSoftwareInfo m_currentBrokerSoftwareInfo; bool m_currentBrokerSoftwareInfoHasBeenSet = false; ClientAuthentication m_clientAuthentication; bool m_clientAuthenticationHasBeenSet = false; EncryptionInfo m_encryptionInfo; bool m_encryptionInfoHasBeenSet = false; EnhancedMonitoring m_enhancedMonitoring; bool m_enhancedMonitoringHasBeenSet = false; OpenMonitoringInfo m_openMonitoring; bool m_openMonitoringHasBeenSet = false; LoggingInfo m_loggingInfo; bool m_loggingInfoHasBeenSet = false; int m_numberOfBrokerNodes; bool m_numberOfBrokerNodesHasBeenSet = 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