7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/kafka/Kafka_EXPORTS.h>
13#include <aws/kafka/model/KafkaClusterDescription.h>
14#include <aws/kafka/model/ReplicationInfoDescription.h>
15#include <aws/kafka/model/ReplicationStateInfo.h>
16#include <aws/kafka/model/ReplicatorState.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
42 template <
typename CreationTimeT = Aws::Utils::DateTime>
44 m_creationTimeHasBeenSet =
true;
45 m_creationTime = std::forward<CreationTimeT>(value);
47 template <
typename CreationTimeT = Aws::Utils::DateTime>
59 template <
typename CurrentVersionT = Aws::String>
61 m_currentVersionHasBeenSet =
true;
62 m_currentVersion = std::forward<CurrentVersionT>(value);
64 template <
typename CurrentVersionT = Aws::String>
77 m_isReplicatorReferenceHasBeenSet =
true;
78 m_isReplicatorReference = value;
91 template <
typename KafkaClustersT = Aws::Vector<KafkaClusterDescription>>
93 m_kafkaClustersHasBeenSet =
true;
94 m_kafkaClusters = std::forward<KafkaClustersT>(value);
96 template <
typename KafkaClustersT = Aws::Vector<KafkaClusterDescription>>
101 template <
typename KafkaClustersT = KafkaClusterDescription>
103 m_kafkaClustersHasBeenSet =
true;
104 m_kafkaClusters.emplace_back(std::forward<KafkaClustersT>(value));
115 template <
typename ReplicationInfoListT = Aws::Vector<ReplicationInfoDescription>>
117 m_replicationInfoListHasBeenSet =
true;
118 m_replicationInfoList = std::forward<ReplicationInfoListT>(value);
120 template <
typename ReplicationInfoListT = Aws::Vector<ReplicationInfoDescription>>
125 template <
typename ReplicationInfoListT = ReplicationInfoDescription>
127 m_replicationInfoListHasBeenSet =
true;
128 m_replicationInfoList.emplace_back(std::forward<ReplicationInfoListT>(value));
138 template <
typename ReplicatorArnT = Aws::String>
140 m_replicatorArnHasBeenSet =
true;
141 m_replicatorArn = std::forward<ReplicatorArnT>(value);
143 template <
typename ReplicatorArnT = Aws::String>
155 template <
typename ReplicatorDescriptionT = Aws::String>
157 m_replicatorDescriptionHasBeenSet =
true;
158 m_replicatorDescription = std::forward<ReplicatorDescriptionT>(value);
160 template <
typename ReplicatorDescriptionT = Aws::String>
172 template <
typename ReplicatorNameT = Aws::String>
174 m_replicatorNameHasBeenSet =
true;
175 m_replicatorName = std::forward<ReplicatorNameT>(value);
177 template <
typename ReplicatorNameT = Aws::String>
190 template <
typename ReplicatorResourceArnT = Aws::String>
192 m_replicatorResourceArnHasBeenSet =
true;
193 m_replicatorResourceArn = std::forward<ReplicatorResourceArnT>(value);
195 template <
typename ReplicatorResourceArnT = Aws::String>
208 m_replicatorStateHasBeenSet =
true;
209 m_replicatorState = value;
223 template <
typename ServiceExecutionRoleArnT = Aws::String>
225 m_serviceExecutionRoleArnHasBeenSet =
true;
226 m_serviceExecutionRoleArn = std::forward<ServiceExecutionRoleArnT>(value);
228 template <
typename ServiceExecutionRoleArnT = Aws::String>
240 template <
typename StateInfoT = ReplicationStateInfo>
242 m_stateInfoHasBeenSet =
true;
243 m_stateInfo = std::forward<StateInfoT>(value);
245 template <
typename StateInfoT = ReplicationStateInfo>
257 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
259 m_tagsHasBeenSet =
true;
260 m_tags = std::forward<TagsT>(value);
262 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
264 SetTags(std::forward<TagsT>(value));
267 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
269 m_tagsHasBeenSet =
true;
270 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
278 template <
typename RequestIdT = Aws::String>
280 m_requestIdHasBeenSet =
true;
281 m_requestId = std::forward<RequestIdT>(value);
283 template <
typename RequestIdT = Aws::String>
296 bool m_isReplicatorReference{
false};
314 ReplicationStateInfo m_stateInfo;
320 bool m_creationTimeHasBeenSet =
false;
321 bool m_currentVersionHasBeenSet =
false;
322 bool m_isReplicatorReferenceHasBeenSet =
false;
323 bool m_kafkaClustersHasBeenSet =
false;
324 bool m_replicationInfoListHasBeenSet =
false;
325 bool m_replicatorArnHasBeenSet =
false;
326 bool m_replicatorDescriptionHasBeenSet =
false;
327 bool m_replicatorNameHasBeenSet =
false;
328 bool m_replicatorResourceArnHasBeenSet =
false;
329 bool m_replicatorStateHasBeenSet =
false;
330 bool m_serviceExecutionRoleArnHasBeenSet =
false;
331 bool m_stateInfoHasBeenSet =
false;
332 bool m_tagsHasBeenSet =
false;
333 bool m_requestIdHasBeenSet =
false;
DescribeReplicatorResult & AddReplicationInfoList(ReplicationInfoListT &&value)
void SetReplicatorName(ReplicatorNameT &&value)
void SetReplicatorState(ReplicatorState value)
DescribeReplicatorResult & WithIsReplicatorReference(bool value)
AWS_KAFKA_API DescribeReplicatorResult()=default
AWS_KAFKA_API DescribeReplicatorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetReplicatorDescription() const
void SetStateInfo(StateInfoT &&value)
DescribeReplicatorResult & WithServiceExecutionRoleArn(ServiceExecutionRoleArnT &&value)
DescribeReplicatorResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
AWS_KAFKA_API DescribeReplicatorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetIsReplicatorReference(bool value)
DescribeReplicatorResult & WithReplicatorName(ReplicatorNameT &&value)
const Aws::String & GetReplicatorName() const
void SetKafkaClusters(KafkaClustersT &&value)
bool GetIsReplicatorReference() const
void SetServiceExecutionRoleArn(ServiceExecutionRoleArnT &&value)
DescribeReplicatorResult & WithStateInfo(StateInfoT &&value)
void SetReplicatorResourceArn(ReplicatorResourceArnT &&value)
DescribeReplicatorResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Vector< ReplicationInfoDescription > & GetReplicationInfoList() const
void SetTags(TagsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ReplicatorState GetReplicatorState() const
const Aws::String & GetReplicatorResourceArn() const
DescribeReplicatorResult & WithKafkaClusters(KafkaClustersT &&value)
const Aws::String & GetServiceExecutionRoleArn() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeReplicatorResult & WithReplicatorResourceArn(ReplicatorResourceArnT &&value)
void SetReplicatorArn(ReplicatorArnT &&value)
void SetCurrentVersion(CurrentVersionT &&value)
const Aws::String & GetRequestId() const
DescribeReplicatorResult & WithTags(TagsT &&value)
DescribeReplicatorResult & WithReplicatorState(ReplicatorState value)
DescribeReplicatorResult & WithCreationTime(CreationTimeT &&value)
DescribeReplicatorResult & WithReplicatorArn(ReplicatorArnT &&value)
void SetReplicationInfoList(ReplicationInfoListT &&value)
DescribeReplicatorResult & WithReplicationInfoList(ReplicationInfoListT &&value)
const ReplicationStateInfo & GetStateInfo() const
DescribeReplicatorResult & AddKafkaClusters(KafkaClustersT &&value)
const Aws::Vector< KafkaClusterDescription > & GetKafkaClusters() const
DescribeReplicatorResult & WithReplicatorDescription(ReplicatorDescriptionT &&value)
DescribeReplicatorResult & WithCurrentVersion(CurrentVersionT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetReplicatorArn() const
void SetReplicatorDescription(ReplicatorDescriptionT &&value)
const Aws::String & GetCurrentVersion() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue