7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafka/Kafka_EXPORTS.h>
45 template <
typename TopicArnT = Aws::String>
47 m_topicArnHasBeenSet =
true;
48 m_topicArn = std::forward<TopicArnT>(value);
50 template <
typename TopicArnT = Aws::String>
65 template <
typename TopicNameT = Aws::String>
67 m_topicNameHasBeenSet =
true;
68 m_topicName = std::forward<TopicNameT>(value);
70 template <
typename TopicNameT = Aws::String>
86 m_replicationFactorHasBeenSet =
true;
87 m_replicationFactor = value;
104 m_partitionCountHasBeenSet =
true;
105 m_partitionCount = value;
122 m_outOfSyncReplicaCountHasBeenSet =
true;
123 m_outOfSyncReplicaCount = value;
135 int m_replicationFactor{0};
137 int m_partitionCount{0};
139 int m_outOfSyncReplicaCount{0};
140 bool m_topicArnHasBeenSet =
false;
141 bool m_topicNameHasBeenSet =
false;
142 bool m_replicationFactorHasBeenSet =
false;
143 bool m_partitionCountHasBeenSet =
false;
144 bool m_outOfSyncReplicaCountHasBeenSet =
false;
bool TopicArnHasBeenSet() const
bool PartitionCountHasBeenSet() const
TopicInfo & WithPartitionCount(int value)
AWS_KAFKA_API TopicInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
int GetPartitionCount() const
bool OutOfSyncReplicaCountHasBeenSet() const
int GetReplicationFactor() const
void SetTopicName(TopicNameT &&value)
TopicInfo & WithTopicArn(TopicArnT &&value)
TopicInfo & WithReplicationFactor(int value)
int GetOutOfSyncReplicaCount() const
bool TopicNameHasBeenSet() const
void SetOutOfSyncReplicaCount(int value)
void SetTopicArn(TopicArnT &&value)
TopicInfo & WithOutOfSyncReplicaCount(int value)
void SetReplicationFactor(int value)
AWS_KAFKA_API TopicInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API TopicInfo()=default
const Aws::String & GetTopicArn() const
TopicInfo & WithTopicName(TopicNameT &&value)
void SetPartitionCount(int value)
const Aws::String & GetTopicName() const
bool ReplicationFactorHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue