7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/kafka/Kafka_EXPORTS.h>
12#include <aws/kafka/model/ErrorInfo.h>
13#include <aws/kafka/model/TopicReassignmentStatus.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template <
typename ClusterArnT = Aws::String>
47 m_clusterArnHasBeenSet =
true;
48 m_clusterArn = std::forward<ClusterArnT>(value);
50 template <
typename ClusterArnT = Aws::String>
63 m_completedTopicsHasBeenSet =
true;
64 m_completedTopics = value;
77 template <
typename CreationTimeT = Aws::Utils::DateTime>
79 m_creationTimeHasBeenSet =
true;
80 m_creationTime = std::forward<CreationTimeT>(value);
82 template <
typename CreationTimeT = Aws::Utils::DateTime>
94 template <
typename ErrorInfoT = ErrorInfo>
96 m_errorInfoHasBeenSet =
true;
97 m_errorInfo = std::forward<ErrorInfoT>(value);
99 template <
typename ErrorInfoT = ErrorInfo>
111 template <
typename LastUpdateTimeT = Aws::Utils::DateTime>
113 m_lastUpdateTimeHasBeenSet =
true;
114 m_lastUpdateTime = std::forward<LastUpdateTimeT>(value);
116 template <
typename LastUpdateTimeT = Aws::Utils::DateTime>
129 m_migratedPartitionsHasBeenSet =
true;
130 m_migratedPartitions = value;
144 m_statusHasBeenSet =
true;
158 template <
typename TargetInstanceTypeT = Aws::String>
160 m_targetInstanceTypeHasBeenSet =
true;
161 m_targetInstanceType = std::forward<TargetInstanceTypeT>(value);
163 template <
typename TargetInstanceTypeT = Aws::String>
175 template <
typename TopicReassignmentOperationArnT = Aws::String>
177 m_topicReassignmentOperationArnHasBeenSet =
true;
178 m_topicReassignmentOperationArn = std::forward<TopicReassignmentOperationArnT>(value);
180 template <
typename TopicReassignmentOperationArnT = Aws::String>
192 template <
typename TopicsToExcludeT = Aws::Vector<Aws::String>>
194 m_topicsToExcludeHasBeenSet =
true;
195 m_topicsToExclude = std::forward<TopicsToExcludeT>(value);
197 template <
typename TopicsToExcludeT = Aws::Vector<Aws::String>>
202 template <
typename TopicsToExcludeT = Aws::String>
204 m_topicsToExcludeHasBeenSet =
true;
205 m_topicsToExclude.emplace_back(std::forward<TopicsToExcludeT>(value));
215 template <
typename TopicsToIncludeT = Aws::Vector<Aws::String>>
217 m_topicsToIncludeHasBeenSet =
true;
218 m_topicsToInclude = std::forward<TopicsToIncludeT>(value);
220 template <
typename TopicsToIncludeT = Aws::Vector<Aws::String>>
225 template <
typename TopicsToIncludeT = Aws::String>
227 m_topicsToIncludeHasBeenSet =
true;
228 m_topicsToInclude.emplace_back(std::forward<TopicsToIncludeT>(value));
239 m_totalPartitionsHasBeenSet =
true;
240 m_totalPartitions = value;
254 m_totalTopicsHasBeenSet =
true;
255 m_totalTopics = value;
266 template <
typename RequestIdT = Aws::String>
268 m_requestIdHasBeenSet =
true;
269 m_requestId = std::forward<RequestIdT>(value);
271 template <
typename RequestIdT = Aws::String>
282 int m_completedTopics{0};
286 ErrorInfo m_errorInfo;
290 int m_migratedPartitions{0};
302 int m_totalPartitions{0};
304 int m_totalTopics{0};
308 bool m_clusterArnHasBeenSet =
false;
309 bool m_completedTopicsHasBeenSet =
false;
310 bool m_creationTimeHasBeenSet =
false;
311 bool m_errorInfoHasBeenSet =
false;
312 bool m_lastUpdateTimeHasBeenSet =
false;
313 bool m_migratedPartitionsHasBeenSet =
false;
314 bool m_statusHasBeenSet =
false;
315 bool m_targetInstanceTypeHasBeenSet =
false;
316 bool m_topicReassignmentOperationArnHasBeenSet =
false;
317 bool m_topicsToExcludeHasBeenSet =
false;
318 bool m_topicsToIncludeHasBeenSet =
false;
319 bool m_totalPartitionsHasBeenSet =
false;
320 bool m_totalTopicsHasBeenSet =
false;
321 bool m_requestIdHasBeenSet =
false;
AWS_KAFKA_API DescribeTopicReassignmentResult()=default
void SetErrorInfo(ErrorInfoT &&value)
int GetTotalPartitions() const
DescribeTopicReassignmentResult & AddTopicsToExclude(TopicsToExcludeT &&value)
const Aws::Vector< Aws::String > & GetTopicsToInclude() const
void SetTopicReassignmentOperationArn(TopicReassignmentOperationArnT &&value)
DescribeTopicReassignmentResult & WithLastUpdateTime(LastUpdateTimeT &&value)
DescribeTopicReassignmentResult & WithTotalPartitions(int value)
void SetClusterArn(ClusterArnT &&value)
void SetTargetInstanceType(TargetInstanceTypeT &&value)
void SetCompletedTopics(int value)
DescribeTopicReassignmentResult & AddTopicsToInclude(TopicsToIncludeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeTopicReassignmentResult & WithStatus(TopicReassignmentStatus value)
void SetMigratedPartitions(int value)
DescribeTopicReassignmentResult & WithErrorInfo(ErrorInfoT &&value)
DescribeTopicReassignmentResult & WithMigratedPartitions(int value)
AWS_KAFKA_API DescribeTopicReassignmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTopicReassignmentResult & WithRequestId(RequestIdT &&value)
void SetLastUpdateTime(LastUpdateTimeT &&value)
const Aws::String & GetTargetInstanceType() const
const Aws::Vector< Aws::String > & GetTopicsToExclude() const
DescribeTopicReassignmentResult & WithCompletedTopics(int value)
const Aws::String & GetRequestId() const
void SetTopicsToInclude(TopicsToIncludeT &&value)
DescribeTopicReassignmentResult & WithClusterArn(ClusterArnT &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
void SetTotalPartitions(int value)
void SetCreationTime(CreationTimeT &&value)
DescribeTopicReassignmentResult & WithTotalTopics(int value)
TopicReassignmentStatus GetStatus() const
DescribeTopicReassignmentResult & WithTopicsToInclude(TopicsToIncludeT &&value)
DescribeTopicReassignmentResult & WithTopicsToExclude(TopicsToExcludeT &&value)
void SetTotalTopics(int value)
DescribeTopicReassignmentResult & WithTargetInstanceType(TargetInstanceTypeT &&value)
AWS_KAFKA_API DescribeTopicReassignmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
int GetCompletedTopics() const
const ErrorInfo & GetErrorInfo() const
int GetTotalTopics() const
void SetStatus(TopicReassignmentStatus value)
int GetMigratedPartitions() const
const Aws::String & GetClusterArn() const
DescribeTopicReassignmentResult & WithCreationTime(CreationTimeT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetTopicReassignmentOperationArn() const
void SetTopicsToExclude(TopicsToExcludeT &&value)
DescribeTopicReassignmentResult & WithTopicReassignmentOperationArn(TopicReassignmentOperationArnT &&value)
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue