7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/model/BrokerNodeGroupInfo.h>
10#include <aws/kafka/model/ClientAuthentication.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/kafka/model/BrokerSoftwareInfo.h>
13#include <aws/kafka/model/EncryptionInfo.h>
14#include <aws/kafka/model/EnhancedMonitoring.h>
15#include <aws/kafka/model/OpenMonitoring.h>
16#include <aws/kafka/model/LoggingInfo.h>
17#include <aws/kafka/model/ClusterState.h>
18#include <aws/kafka/model/StateInfo.h>
19#include <aws/core/utils/memory/stl/AWSMap.h>
20#include <aws/kafka/model/StorageMode.h>
21#include <aws/kafka/model/CustomerActionStatus.h>
64 template<
typename ActiveOperationArnT = Aws::String>
65 void SetActiveOperationArn(ActiveOperationArnT&& value) { m_activeOperationArnHasBeenSet =
true; m_activeOperationArn = std::forward<ActiveOperationArnT>(value); }
66 template<
typename ActiveOperationArnT = Aws::String>
78 template<
typename BrokerNodeGroupInfoT = BrokerNodeGroupInfo>
79 void SetBrokerNodeGroupInfo(BrokerNodeGroupInfoT&& value) { m_brokerNodeGroupInfoHasBeenSet =
true; m_brokerNodeGroupInfo = std::forward<BrokerNodeGroupInfoT>(value); }
80 template<
typename BrokerNodeGroupInfoT = BrokerNodeGroupInfo>
92 template<
typename ClientAuthenticationT = ClientAuthentication>
93 void SetClientAuthentication(ClientAuthenticationT&& value) { m_clientAuthenticationHasBeenSet =
true; m_clientAuthentication = std::forward<ClientAuthenticationT>(value); }
94 template<
typename ClientAuthenticationT = ClientAuthentication>
107 template<
typename ClusterArnT = Aws::String>
108 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet =
true; m_clusterArn = std::forward<ClusterArnT>(value); }
109 template<
typename ClusterArnT = Aws::String>
121 template<
typename ClusterNameT = Aws::String>
122 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet =
true; m_clusterName = std::forward<ClusterNameT>(value); }
123 template<
typename ClusterNameT = Aws::String>
135 template<
typename CreationTimeT = Aws::Utils::DateTime>
136 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
137 template<
typename CreationTimeT = Aws::Utils::DateTime>
150 template<
typename CurrentBrokerSoftwareInfoT = BrokerSoftwareInfo>
151 void SetCurrentBrokerSoftwareInfo(CurrentBrokerSoftwareInfoT&& value) { m_currentBrokerSoftwareInfoHasBeenSet =
true; m_currentBrokerSoftwareInfo = std::forward<CurrentBrokerSoftwareInfoT>(value); }
152 template<
typename CurrentBrokerSoftwareInfoT = BrokerSoftwareInfo>
164 template<
typename CurrentVersionT = Aws::String>
165 void SetCurrentVersion(CurrentVersionT&& value) { m_currentVersionHasBeenSet =
true; m_currentVersion = std::forward<CurrentVersionT>(value); }
166 template<
typename CurrentVersionT = Aws::String>
178 template<
typename EncryptionInfoT = EncryptionInfo>
179 void SetEncryptionInfo(EncryptionInfoT&& value) { m_encryptionInfoHasBeenSet =
true; m_encryptionInfo = std::forward<EncryptionInfoT>(value); }
180 template<
typename EncryptionInfoT = EncryptionInfo>
209 template<
typename OpenMonitoringT = OpenMonitoring>
210 void SetOpenMonitoring(OpenMonitoringT&& value) { m_openMonitoringHasBeenSet =
true; m_openMonitoring = std::forward<OpenMonitoringT>(value); }
211 template<
typename OpenMonitoringT = OpenMonitoring>
219 template<
typename LoggingInfoT = LoggingInfo>
220 void SetLoggingInfo(LoggingInfoT&& value) { m_loggingInfoHasBeenSet =
true; m_loggingInfo = std::forward<LoggingInfoT>(value); }
221 template<
typename LoggingInfoT = LoggingInfo>
255 template<
typename StateInfoT = StateInfo>
256 void SetStateInfo(StateInfoT&& value) { m_stateInfoHasBeenSet =
true; m_stateInfo = std::forward<StateInfoT>(value); }
257 template<
typename StateInfoT = StateInfo>
269 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
270 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
271 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
273 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
275 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
288 template<
typename ZookeeperConnectStringT = Aws::String>
289 void SetZookeeperConnectString(ZookeeperConnectStringT&& value) { m_zookeeperConnectStringHasBeenSet =
true; m_zookeeperConnectString = std::forward<ZookeeperConnectStringT>(value); }
290 template<
typename ZookeeperConnectStringT = Aws::String>
303 template<
typename ZookeeperConnectStringTlsT = Aws::String>
304 void SetZookeeperConnectStringTls(ZookeeperConnectStringTlsT&& value) { m_zookeeperConnectStringTlsHasBeenSet =
true; m_zookeeperConnectStringTls = std::forward<ZookeeperConnectStringTlsT>(value); }
305 template<
typename ZookeeperConnectStringTlsT = Aws::String>
337 bool m_activeOperationArnHasBeenSet =
false;
340 bool m_brokerNodeGroupInfoHasBeenSet =
false;
343 bool m_clientAuthenticationHasBeenSet =
false;
346 bool m_clusterArnHasBeenSet =
false;
349 bool m_clusterNameHasBeenSet =
false;
352 bool m_creationTimeHasBeenSet =
false;
354 BrokerSoftwareInfo m_currentBrokerSoftwareInfo;
355 bool m_currentBrokerSoftwareInfoHasBeenSet =
false;
358 bool m_currentVersionHasBeenSet =
false;
360 EncryptionInfo m_encryptionInfo;
361 bool m_encryptionInfoHasBeenSet =
false;
364 bool m_enhancedMonitoringHasBeenSet =
false;
366 OpenMonitoring m_openMonitoring;
367 bool m_openMonitoringHasBeenSet =
false;
369 LoggingInfo m_loggingInfo;
370 bool m_loggingInfoHasBeenSet =
false;
372 int m_numberOfBrokerNodes{0};
373 bool m_numberOfBrokerNodesHasBeenSet =
false;
376 bool m_stateHasBeenSet =
false;
378 StateInfo m_stateInfo;
379 bool m_stateInfoHasBeenSet =
false;
382 bool m_tagsHasBeenSet =
false;
385 bool m_zookeeperConnectStringHasBeenSet =
false;
388 bool m_zookeeperConnectStringTlsHasBeenSet =
false;
391 bool m_storageModeHasBeenSet =
false;
394 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)
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 & WithActiveOperationArn(ActiveOperationArnT &&value)
const Aws::String & GetCurrentVersion() const
void SetCurrentBrokerSoftwareInfo(CurrentBrokerSoftwareInfoT &&value)
bool ActiveOperationArnHasBeenSet() const
bool LoggingInfoHasBeenSet() const
ClusterInfo & WithCurrentVersion(CurrentVersionT &&value)
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