7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafka/KafkaRequest.h>
9#include <aws/kafka/Kafka_EXPORTS.h>
40 template <
typename ClusterArnT = Aws::String>
42 m_clusterArnHasBeenSet =
true;
43 m_clusterArn = std::forward<ClusterArnT>(value);
45 template <
typename ClusterArnT = Aws::String>
60 template <
typename TopicNameT = Aws::String>
62 m_topicNameHasBeenSet =
true;
63 m_topicName = std::forward<TopicNameT>(value);
65 template <
typename TopicNameT = Aws::String>
81 m_partitionCountHasBeenSet =
true;
82 m_partitionCount = value;
99 m_replicationFactorHasBeenSet =
true;
100 m_replicationFactor = value;
116 template <
typename ConfigsT = Aws::String>
118 m_configsHasBeenSet =
true;
119 m_configs = std::forward<ConfigsT>(value);
121 template <
typename ConfigsT = Aws::String>
132 int m_partitionCount{0};
134 int m_replicationFactor{0};
137 bool m_clusterArnHasBeenSet =
false;
138 bool m_topicNameHasBeenSet =
false;
139 bool m_partitionCountHasBeenSet =
false;
140 bool m_replicationFactorHasBeenSet =
false;
141 bool m_configsHasBeenSet =
false;
CreateTopicRequest & WithReplicationFactor(int value)
void SetPartitionCount(int value)
bool PartitionCountHasBeenSet() const
CreateTopicRequest & WithClusterArn(ClusterArnT &&value)
CreateTopicRequest & WithConfigs(ConfigsT &&value)
const Aws::String & GetClusterArn() const
const Aws::String & GetConfigs() const
AWS_KAFKA_API Aws::String SerializePayload() const override
bool ClusterArnHasBeenSet() const
bool ReplicationFactorHasBeenSet() const
int GetReplicationFactor() const
void SetTopicName(TopicNameT &&value)
CreateTopicRequest & WithTopicName(TopicNameT &&value)
AWS_KAFKA_API CreateTopicRequest()=default
bool TopicNameHasBeenSet() const
void SetConfigs(ConfigsT &&value)
virtual const char * GetServiceRequestName() const override
CreateTopicRequest & WithPartitionCount(int value)
void SetReplicationFactor(int value)
void SetClusterArn(ClusterArnT &&value)
bool ConfigsHasBeenSet() const
int GetPartitionCount() const
const Aws::String & GetTopicName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String