7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kafka/Kafka_EXPORTS.h>
11#include <aws/kafka/model/BrokerNodeGroupInfo.h>
12#include <aws/kafka/model/BrokerSoftwareInfo.h>
13#include <aws/kafka/model/ClientAuthentication.h>
14#include <aws/kafka/model/ClusterState.h>
15#include <aws/kafka/model/CustomerActionStatus.h>
16#include <aws/kafka/model/EncryptionInfo.h>
17#include <aws/kafka/model/EnhancedMonitoring.h>
18#include <aws/kafka/model/LoggingInfo.h>
19#include <aws/kafka/model/OpenMonitoring.h>
20#include <aws/kafka/model/Rebalancing.h>
21#include <aws/kafka/model/StateInfo.h>
22#include <aws/kafka/model/StorageMode.h>
59 template <
typename ActiveOperationArnT = Aws::String>
61 m_activeOperationArnHasBeenSet =
true;
62 m_activeOperationArn = std::forward<ActiveOperationArnT>(value);
64 template <
typename ActiveOperationArnT = Aws::String>
79 template <
typename BrokerNodeGroupInfoT = BrokerNodeGroupInfo>
81 m_brokerNodeGroupInfoHasBeenSet =
true;
82 m_brokerNodeGroupInfo = std::forward<BrokerNodeGroupInfoT>(value);
84 template <
typename BrokerNodeGroupInfoT = BrokerNodeGroupInfo>
101 template <
typename RebalancingT = Rebalancing>
103 m_rebalancingHasBeenSet =
true;
104 m_rebalancing = std::forward<RebalancingT>(value);
106 template <
typename RebalancingT = Rebalancing>
121 template <
typename ClientAuthenticationT = ClientAuthentication>
123 m_clientAuthenticationHasBeenSet =
true;
124 m_clientAuthentication = std::forward<ClientAuthenticationT>(value);
126 template <
typename ClientAuthenticationT = ClientAuthentication>
142 template <
typename ClusterArnT = Aws::String>
144 m_clusterArnHasBeenSet =
true;
145 m_clusterArn = std::forward<ClusterArnT>(value);
147 template <
typename ClusterArnT = Aws::String>
162 template <
typename ClusterNameT = Aws::String>
164 m_clusterNameHasBeenSet =
true;
165 m_clusterName = std::forward<ClusterNameT>(value);
167 template <
typename ClusterNameT = Aws::String>
182 template <
typename CreationTimeT = Aws::Utils::DateTime>
184 m_creationTimeHasBeenSet =
true;
185 m_creationTime = std::forward<CreationTimeT>(value);
187 template <
typename CreationTimeT = Aws::Utils::DateTime>
203 template <
typename CurrentBrokerSoftwareInfoT = BrokerSoftwareInfo>
205 m_currentBrokerSoftwareInfoHasBeenSet =
true;
206 m_currentBrokerSoftwareInfo = std::forward<CurrentBrokerSoftwareInfoT>(value);
208 template <
typename CurrentBrokerSoftwareInfoT = BrokerSoftwareInfo>
223 template <
typename CurrentVersionT = Aws::String>
225 m_currentVersionHasBeenSet =
true;
226 m_currentVersion = std::forward<CurrentVersionT>(value);
228 template <
typename CurrentVersionT = Aws::String>
243 template <
typename EncryptionInfoT = EncryptionInfo>
245 m_encryptionInfoHasBeenSet =
true;
246 m_encryptionInfo = std::forward<EncryptionInfoT>(value);
248 template <
typename EncryptionInfoT = EncryptionInfo>
269 m_enhancedMonitoringHasBeenSet =
true;
270 m_enhancedMonitoring = value;
286 template <
typename OpenMonitoringT = OpenMonitoring>
288 m_openMonitoringHasBeenSet =
true;
289 m_openMonitoring = std::forward<OpenMonitoringT>(value);
291 template <
typename OpenMonitoringT = OpenMonitoring>
302 template <
typename LoggingInfoT = LoggingInfo>
304 m_loggingInfoHasBeenSet =
true;
305 m_loggingInfo = std::forward<LoggingInfoT>(value);
307 template <
typename LoggingInfoT = LoggingInfo>
323 m_numberOfBrokerNodesHasBeenSet =
true;
324 m_numberOfBrokerNodes = value;
343 m_stateHasBeenSet =
true;
356 template <
typename StateInfoT = StateInfo>
358 m_stateInfoHasBeenSet =
true;
359 m_stateInfo = std::forward<StateInfoT>(value);
361 template <
typename StateInfoT = StateInfo>
376 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
378 m_tagsHasBeenSet =
true;
379 m_tags = std::forward<TagsT>(value);
381 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
383 SetTags(std::forward<TagsT>(value));
386 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
388 m_tagsHasBeenSet =
true;
389 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
403 template <
typename ZookeeperConnectStringT = Aws::String>
405 m_zookeeperConnectStringHasBeenSet =
true;
406 m_zookeeperConnectString = std::forward<ZookeeperConnectStringT>(value);
408 template <
typename ZookeeperConnectStringT = Aws::String>
424 template <
typename ZookeeperConnectStringTlsT = Aws::String>
426 m_zookeeperConnectStringTlsHasBeenSet =
true;
427 m_zookeeperConnectStringTls = std::forward<ZookeeperConnectStringTlsT>(value);
429 template <
typename ZookeeperConnectStringTlsT = Aws::String>
446 m_storageModeHasBeenSet =
true;
447 m_storageMode = value;
465 m_customerActionStatusHasBeenSet =
true;
466 m_customerActionStatus = value;
488 BrokerSoftwareInfo m_currentBrokerSoftwareInfo;
492 EncryptionInfo m_encryptionInfo;
496 OpenMonitoring m_openMonitoring;
498 LoggingInfo m_loggingInfo;
500 int m_numberOfBrokerNodes{0};
504 StateInfo m_stateInfo;
515 bool m_activeOperationArnHasBeenSet =
false;
516 bool m_brokerNodeGroupInfoHasBeenSet =
false;
517 bool m_rebalancingHasBeenSet =
false;
518 bool m_clientAuthenticationHasBeenSet =
false;
519 bool m_clusterArnHasBeenSet =
false;
520 bool m_clusterNameHasBeenSet =
false;
521 bool m_creationTimeHasBeenSet =
false;
522 bool m_currentBrokerSoftwareInfoHasBeenSet =
false;
523 bool m_currentVersionHasBeenSet =
false;
524 bool m_encryptionInfoHasBeenSet =
false;
525 bool m_enhancedMonitoringHasBeenSet =
false;
526 bool m_openMonitoringHasBeenSet =
false;
527 bool m_loggingInfoHasBeenSet =
false;
528 bool m_numberOfBrokerNodesHasBeenSet =
false;
529 bool m_stateHasBeenSet =
false;
530 bool m_stateInfoHasBeenSet =
false;
531 bool m_tagsHasBeenSet =
false;
532 bool m_zookeeperConnectStringHasBeenSet =
false;
533 bool m_zookeeperConnectStringTlsHasBeenSet =
false;
534 bool m_storageModeHasBeenSet =
false;
535 bool m_customerActionStatusHasBeenSet =
false;
bool ZookeeperConnectStringTlsHasBeenSet() const
bool ZookeeperConnectStringHasBeenSet() const
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKA_API ClusterInfo()=default
ClusterInfo & WithLoggingInfo(LoggingInfoT &&value)
const Rebalancing & GetRebalancing() const
bool NumberOfBrokerNodesHasBeenSet() const
void SetStateInfo(StateInfoT &&value)
bool CustomerActionStatusHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetClusterArn(ClusterArnT &&value)
void SetZookeeperConnectString(ZookeeperConnectStringT &&value)
const EncryptionInfo & GetEncryptionInfo() const
void SetCurrentVersion(CurrentVersionT &&value)
const StateInfo & GetStateInfo() const
bool TagsHasBeenSet() const
ClusterInfo & WithStorageMode(StorageMode value)
EnhancedMonitoring GetEnhancedMonitoring() const
void SetClusterName(ClusterNameT &&value)
void SetStorageMode(StorageMode value)
bool CurrentVersionHasBeenSet() const
bool ClusterNameHasBeenSet() const
ClusterInfo & WithZookeeperConnectString(ZookeeperConnectStringT &&value)
bool CurrentBrokerSoftwareInfoHasBeenSet() const
const Aws::String & GetZookeeperConnectString() const
const Aws::String & GetClusterName() const
void SetOpenMonitoring(OpenMonitoringT &&value)
const BrokerSoftwareInfo & GetCurrentBrokerSoftwareInfo() const
void SetCreationTime(CreationTimeT &&value)
bool CreationTimeHasBeenSet() const
ClusterInfo & WithState(ClusterState value)
ClusterInfo & WithStateInfo(StateInfoT &&value)
ClusterInfo & WithTags(TagsT &&value)
int GetNumberOfBrokerNodes() const
bool OpenMonitoringHasBeenSet() const
ClusterInfo & WithEnhancedMonitoring(EnhancedMonitoring value)
CustomerActionStatus GetCustomerActionStatus() const
void SetEnhancedMonitoring(EnhancedMonitoring value)
ClusterInfo & WithCustomerActionStatus(CustomerActionStatus value)
void SetBrokerNodeGroupInfo(BrokerNodeGroupInfoT &&value)
void SetEncryptionInfo(EncryptionInfoT &&value)
ClusterInfo & WithNumberOfBrokerNodes(int value)
bool EnhancedMonitoringHasBeenSet() const
ClusterInfo & WithClientAuthentication(ClientAuthenticationT &&value)
ClusterInfo & WithClusterArn(ClusterArnT &&value)
StorageMode GetStorageMode() const
ClusterInfo & WithEncryptionInfo(EncryptionInfoT &&value)
bool BrokerNodeGroupInfoHasBeenSet() const
ClusterInfo & WithRebalancing(RebalancingT &&value)
ClusterInfo & WithActiveOperationArn(ActiveOperationArnT &&value)
void SetRebalancing(RebalancingT &&value)
const Aws::String & GetCurrentVersion() const
void SetCurrentBrokerSoftwareInfo(CurrentBrokerSoftwareInfoT &&value)
bool ActiveOperationArnHasBeenSet() const
bool LoggingInfoHasBeenSet() const
ClusterInfo & WithCurrentVersion(CurrentVersionT &&value)
bool RebalancingHasBeenSet() const
const OpenMonitoring & GetOpenMonitoring() const
ClusterState GetState() const
AWS_KAFKA_API ClusterInfo(Aws::Utils::Json::JsonView jsonValue)
void SetClientAuthentication(ClientAuthenticationT &&value)
ClusterInfo & WithCreationTime(CreationTimeT &&value)
ClusterInfo & WithZookeeperConnectStringTls(ZookeeperConnectStringTlsT &&value)
bool StateInfoHasBeenSet() const
ClusterInfo & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetNumberOfBrokerNodes(int value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetZookeeperConnectStringTls() const
AWS_KAFKA_API ClusterInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetZookeeperConnectStringTls(ZookeeperConnectStringTlsT &&value)
ClusterInfo & WithBrokerNodeGroupInfo(BrokerNodeGroupInfoT &&value)
bool ClusterArnHasBeenSet() const
bool ClientAuthenticationHasBeenSet() const
const Aws::String & GetClusterArn() const
bool EncryptionInfoHasBeenSet() const
ClusterInfo & WithClusterName(ClusterNameT &&value)
void SetLoggingInfo(LoggingInfoT &&value)
void SetActiveOperationArn(ActiveOperationArnT &&value)
void SetState(ClusterState value)
const BrokerNodeGroupInfo & GetBrokerNodeGroupInfo() const
bool StateHasBeenSet() const
ClusterInfo & WithOpenMonitoring(OpenMonitoringT &&value)
const Aws::String & GetActiveOperationArn() const
void SetCustomerActionStatus(CustomerActionStatus value)
ClusterInfo & WithCurrentBrokerSoftwareInfo(CurrentBrokerSoftwareInfoT &&value)
const LoggingInfo & GetLoggingInfo() const
const ClientAuthentication & GetClientAuthentication() const
void SetTags(TagsT &&value)
bool StorageModeHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue