7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/Kafka_EXPORTS.h>
10#include <aws/kafka/model/TopicState.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
38 template <
typename TopicArnT = Aws::String>
40 m_topicArnHasBeenSet =
true;
41 m_topicArn = std::forward<TopicArnT>(value);
43 template <
typename TopicArnT = Aws::String>
56 template <
typename TopicNameT = Aws::String>
58 m_topicNameHasBeenSet =
true;
59 m_topicName = std::forward<TopicNameT>(value);
61 template <
typename TopicNameT = Aws::String>
75 m_replicationFactorHasBeenSet =
true;
76 m_replicationFactor = value;
91 m_partitionCountHasBeenSet =
true;
92 m_partitionCount = value;
106 template <
typename ConfigsT = Aws::String>
108 m_configsHasBeenSet =
true;
109 m_configs = std::forward<ConfigsT>(value);
111 template <
typename ConfigsT = Aws::String>
126 m_statusHasBeenSet =
true;
138 template <
typename RequestIdT = Aws::String>
140 m_requestIdHasBeenSet =
true;
141 m_requestId = std::forward<RequestIdT>(value);
143 template <
typename RequestIdT = Aws::String>
156 int m_replicationFactor{0};
158 int m_partitionCount{0};
166 bool m_topicArnHasBeenSet =
false;
167 bool m_topicNameHasBeenSet =
false;
168 bool m_replicationFactorHasBeenSet =
false;
169 bool m_partitionCountHasBeenSet =
false;
170 bool m_configsHasBeenSet =
false;
171 bool m_statusHasBeenSet =
false;
172 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
Aws::Http::HttpResponseCode GetHttpResponseCode() 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