7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafka/Kafka_EXPORTS.h>
9#include <aws/kafka/model/TopicState.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
37 template <
typename TopicArnT = Aws::String>
39 m_topicArnHasBeenSet =
true;
40 m_topicArn = std::forward<TopicArnT>(value);
42 template <
typename TopicArnT = Aws::String>
55 template <
typename TopicNameT = Aws::String>
57 m_topicNameHasBeenSet =
true;
58 m_topicName = std::forward<TopicNameT>(value);
60 template <
typename TopicNameT = Aws::String>
74 m_replicationFactorHasBeenSet =
true;
75 m_replicationFactor = value;
90 m_partitionCountHasBeenSet =
true;
91 m_partitionCount = value;
105 template <
typename ConfigsT = Aws::String>
107 m_configsHasBeenSet =
true;
108 m_configs = std::forward<ConfigsT>(value);
110 template <
typename ConfigsT = Aws::String>
125 m_statusHasBeenSet =
true;
137 template <
typename RequestIdT = Aws::String>
139 m_requestIdHasBeenSet =
true;
140 m_requestId = std::forward<RequestIdT>(value);
142 template <
typename RequestIdT = Aws::String>
153 int m_replicationFactor{0};
155 int m_partitionCount{0};
162 bool m_topicArnHasBeenSet =
false;
163 bool m_topicNameHasBeenSet =
false;
164 bool m_replicationFactorHasBeenSet =
false;
165 bool m_partitionCountHasBeenSet =
false;
166 bool m_configsHasBeenSet =
false;
167 bool m_statusHasBeenSet =
false;
168 bool m_requestIdHasBeenSet =
false;
DescribeTopicResult & WithTopicArn(TopicArnT &&value)
AWS_KAFKA_API DescribeTopicResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTopicResult & WithRequestId(RequestIdT &&value)
void SetStatus(TopicState value)
void SetTopicArn(TopicArnT &&value)
AWS_KAFKA_API DescribeTopicResult()=default
void SetTopicName(TopicNameT &&value)
TopicState GetStatus() const
DescribeTopicResult & WithStatus(TopicState value)
int GetReplicationFactor() const
void SetRequestId(RequestIdT &&value)
AWS_KAFKA_API DescribeTopicResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetTopicArn() const
const Aws::String & GetTopicName() const
const Aws::String & GetConfigs() const
DescribeTopicResult & WithTopicName(TopicNameT &&value)
int GetPartitionCount() const
const Aws::String & GetRequestId() const
DescribeTopicResult & WithConfigs(ConfigsT &&value)
DescribeTopicResult & WithReplicationFactor(int value)
void SetConfigs(ConfigsT &&value)
DescribeTopicResult & WithPartitionCount(int value)
void SetPartitionCount(int value)
void SetReplicationFactor(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue