7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/KafkaRequest.h>
9#include <aws/kafka/model/BrokerNodeGroupInfo.h>
10#include <aws/kafka/model/ClientAuthentication.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/kafka/model/ConfigurationInfo.h>
13#include <aws/kafka/model/EncryptionInfo.h>
14#include <aws/kafka/model/EnhancedMonitoring.h>
15#include <aws/kafka/model/OpenMonitoringInfo.h>
16#include <aws/kafka/model/LoggingInfo.h>
17#include <aws/core/utils/memory/stl/AWSMap.h>
18#include <aws/kafka/model/StorageMode.h>
52 template<
typename BrokerNodeGroupInfoT = BrokerNodeGroupInfo>
53 void SetBrokerNodeGroupInfo(BrokerNodeGroupInfoT&& value) { m_brokerNodeGroupInfoHasBeenSet =
true; m_brokerNodeGroupInfo = std::forward<BrokerNodeGroupInfoT>(value); }
54 template<
typename BrokerNodeGroupInfoT = BrokerNodeGroupInfo>
67 template<
typename ClientAuthenticationT = ClientAuthentication>
68 void SetClientAuthentication(ClientAuthenticationT&& value) { m_clientAuthenticationHasBeenSet =
true; m_clientAuthentication = std::forward<ClientAuthenticationT>(value); }
69 template<
typename ClientAuthenticationT = ClientAuthentication>
81 template<
typename ClusterNameT = Aws::String>
82 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet =
true; m_clusterName = std::forward<ClusterNameT>(value); }
83 template<
typename ClusterNameT = Aws::String>
96 template<
typename ConfigurationInfoT = ConfigurationInfo>
97 void SetConfigurationInfo(ConfigurationInfoT&& value) { m_configurationInfoHasBeenSet =
true; m_configurationInfo = std::forward<ConfigurationInfoT>(value); }
98 template<
typename ConfigurationInfoT = ConfigurationInfo>
110 template<
typename EncryptionInfoT = EncryptionInfo>
111 void SetEncryptionInfo(EncryptionInfoT&& value) { m_encryptionInfoHasBeenSet =
true; m_encryptionInfo = std::forward<EncryptionInfoT>(value); }
112 template<
typename EncryptionInfoT = EncryptionInfo>
138 template<
typename OpenMonitoringT = OpenMonitoringInfo>
139 void SetOpenMonitoring(OpenMonitoringT&& value) { m_openMonitoringHasBeenSet =
true; m_openMonitoring = std::forward<OpenMonitoringT>(value); }
140 template<
typename OpenMonitoringT = OpenMonitoringInfo>
152 template<
typename KafkaVersionT = Aws::String>
153 void SetKafkaVersion(KafkaVersionT&& value) { m_kafkaVersionHasBeenSet =
true; m_kafkaVersion = std::forward<KafkaVersionT>(value); }
154 template<
typename KafkaVersionT = Aws::String>
162 template<
typename LoggingInfoT = LoggingInfo>
163 void SetLoggingInfo(LoggingInfoT&& value) { m_loggingInfoHasBeenSet =
true; m_loggingInfo = std::forward<LoggingInfoT>(value); }
164 template<
typename LoggingInfoT = LoggingInfo>
188 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
189 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
190 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
192 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
194 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
213 bool m_brokerNodeGroupInfoHasBeenSet =
false;
216 bool m_clientAuthenticationHasBeenSet =
false;
219 bool m_clusterNameHasBeenSet =
false;
222 bool m_configurationInfoHasBeenSet =
false;
225 bool m_encryptionInfoHasBeenSet =
false;
228 bool m_enhancedMonitoringHasBeenSet =
false;
230 OpenMonitoringInfo m_openMonitoring;
231 bool m_openMonitoringHasBeenSet =
false;
234 bool m_kafkaVersionHasBeenSet =
false;
236 LoggingInfo m_loggingInfo;
237 bool m_loggingInfoHasBeenSet =
false;
239 int m_numberOfBrokerNodes{0};
240 bool m_numberOfBrokerNodesHasBeenSet =
false;
243 bool m_tagsHasBeenSet =
false;
246 bool m_storageModeHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
CreateClusterRequest & WithEnhancedMonitoring(EnhancedMonitoring value)
bool TagsHasBeenSet() const
bool NumberOfBrokerNodesHasBeenSet() const
void SetNumberOfBrokerNodes(int value)
const Aws::String & GetClusterName() const
bool BrokerNodeGroupInfoHasBeenSet() const
const Aws::String & GetKafkaVersion() const
void SetEnhancedMonitoring(EnhancedMonitoring value)
CreateClusterRequest & WithNumberOfBrokerNodes(int value)
CreateClusterRequest & WithStorageMode(StorageMode value)
const EncryptionInfo & GetEncryptionInfo() const
bool ClusterNameHasBeenSet() const
void SetClientAuthentication(ClientAuthenticationT &&value)
bool StorageModeHasBeenSet() const
CreateClusterRequest & WithLoggingInfo(LoggingInfoT &&value)
CreateClusterRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetStorageMode(StorageMode value)
StorageMode GetStorageMode() const
const ClientAuthentication & GetClientAuthentication() const
int GetNumberOfBrokerNodes() const
void SetOpenMonitoring(OpenMonitoringT &&value)
CreateClusterRequest & WithOpenMonitoring(OpenMonitoringT &&value)
bool KafkaVersionHasBeenSet() const
CreateClusterRequest & WithEncryptionInfo(EncryptionInfoT &&value)
bool OpenMonitoringHasBeenSet() const
void SetTags(TagsT &&value)
void SetBrokerNodeGroupInfo(BrokerNodeGroupInfoT &&value)
EnhancedMonitoring GetEnhancedMonitoring() const
const OpenMonitoringInfo & GetOpenMonitoring() const
bool EncryptionInfoHasBeenSet() const
const ConfigurationInfo & GetConfigurationInfo() const
void SetConfigurationInfo(ConfigurationInfoT &&value)
void SetEncryptionInfo(EncryptionInfoT &&value)
void SetKafkaVersion(KafkaVersionT &&value)
void SetLoggingInfo(LoggingInfoT &&value)
CreateClusterRequest & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_KAFKA_API CreateClusterRequest()=default
const BrokerNodeGroupInfo & GetBrokerNodeGroupInfo() const
AWS_KAFKA_API Aws::String SerializePayload() const override
bool EnhancedMonitoringHasBeenSet() const
bool ClientAuthenticationHasBeenSet() const
CreateClusterRequest & WithBrokerNodeGroupInfo(BrokerNodeGroupInfoT &&value)
bool ConfigurationInfoHasBeenSet() const
CreateClusterRequest & WithClientAuthentication(ClientAuthenticationT &&value)
void SetClusterName(ClusterNameT &&value)
CreateClusterRequest & WithClusterName(ClusterNameT &&value)
const LoggingInfo & GetLoggingInfo() const
CreateClusterRequest & WithConfigurationInfo(ConfigurationInfoT &&value)
bool LoggingInfoHasBeenSet() const
CreateClusterRequest & WithKafkaVersion(KafkaVersionT &&value)
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