7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.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/KafkaClusterDescription.h>
13#include <aws/kafka/model/ReplicationInfoDescription.h>
14#include <aws/kafka/model/ReplicationStateInfo.h>
15#include <aws/kafka/model/ReplicatorState.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
41 template <
typename CreationTimeT = Aws::Utils::DateTime>
43 m_creationTimeHasBeenSet =
true;
44 m_creationTime = std::forward<CreationTimeT>(value);
46 template <
typename CreationTimeT = Aws::Utils::DateTime>
58 template <
typename CurrentVersionT = Aws::String>
60 m_currentVersionHasBeenSet =
true;
61 m_currentVersion = std::forward<CurrentVersionT>(value);
63 template <
typename CurrentVersionT = Aws::String>
76 m_isReplicatorReferenceHasBeenSet =
true;
77 m_isReplicatorReference = value;
90 template <
typename KafkaClustersT = Aws::Vector<KafkaClusterDescription>>
92 m_kafkaClustersHasBeenSet =
true;
93 m_kafkaClusters = std::forward<KafkaClustersT>(value);
95 template <
typename KafkaClustersT = Aws::Vector<KafkaClusterDescription>>
100 template <
typename KafkaClustersT = KafkaClusterDescription>
102 m_kafkaClustersHasBeenSet =
true;
103 m_kafkaClusters.emplace_back(std::forward<KafkaClustersT>(value));
114 template <
typename ReplicationInfoListT = Aws::Vector<ReplicationInfoDescription>>
116 m_replicationInfoListHasBeenSet =
true;
117 m_replicationInfoList = std::forward<ReplicationInfoListT>(value);
119 template <
typename ReplicationInfoListT = Aws::Vector<ReplicationInfoDescription>>
124 template <
typename ReplicationInfoListT = ReplicationInfoDescription>
126 m_replicationInfoListHasBeenSet =
true;
127 m_replicationInfoList.emplace_back(std::forward<ReplicationInfoListT>(value));
137 template <
typename ReplicatorArnT = Aws::String>
139 m_replicatorArnHasBeenSet =
true;
140 m_replicatorArn = std::forward<ReplicatorArnT>(value);
142 template <
typename ReplicatorArnT = Aws::String>
154 template <
typename ReplicatorDescriptionT = Aws::String>
156 m_replicatorDescriptionHasBeenSet =
true;
157 m_replicatorDescription = std::forward<ReplicatorDescriptionT>(value);
159 template <
typename ReplicatorDescriptionT = Aws::String>
171 template <
typename ReplicatorNameT = Aws::String>
173 m_replicatorNameHasBeenSet =
true;
174 m_replicatorName = std::forward<ReplicatorNameT>(value);
176 template <
typename ReplicatorNameT = Aws::String>
189 template <
typename ReplicatorResourceArnT = Aws::String>
191 m_replicatorResourceArnHasBeenSet =
true;
192 m_replicatorResourceArn = std::forward<ReplicatorResourceArnT>(value);
194 template <
typename ReplicatorResourceArnT = Aws::String>
207 m_replicatorStateHasBeenSet =
true;
208 m_replicatorState = value;
222 template <
typename ServiceExecutionRoleArnT = Aws::String>
224 m_serviceExecutionRoleArnHasBeenSet =
true;
225 m_serviceExecutionRoleArn = std::forward<ServiceExecutionRoleArnT>(value);
227 template <
typename ServiceExecutionRoleArnT = Aws::String>
239 template <
typename StateInfoT = ReplicationStateInfo>
241 m_stateInfoHasBeenSet =
true;
242 m_stateInfo = std::forward<StateInfoT>(value);
244 template <
typename StateInfoT = ReplicationStateInfo>
256 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
258 m_tagsHasBeenSet =
true;
259 m_tags = std::forward<TagsT>(value);
261 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
263 SetTags(std::forward<TagsT>(value));
266 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
268 m_tagsHasBeenSet =
true;
269 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
277 template <
typename RequestIdT = Aws::String>
279 m_requestIdHasBeenSet =
true;
280 m_requestId = std::forward<RequestIdT>(value);
282 template <
typename RequestIdT = Aws::String>
293 bool m_isReplicatorReference{
false};
311 ReplicationStateInfo m_stateInfo;
316 bool m_creationTimeHasBeenSet =
false;
317 bool m_currentVersionHasBeenSet =
false;
318 bool m_isReplicatorReferenceHasBeenSet =
false;
319 bool m_kafkaClustersHasBeenSet =
false;
320 bool m_replicationInfoListHasBeenSet =
false;
321 bool m_replicatorArnHasBeenSet =
false;
322 bool m_replicatorDescriptionHasBeenSet =
false;
323 bool m_replicatorNameHasBeenSet =
false;
324 bool m_replicatorResourceArnHasBeenSet =
false;
325 bool m_replicatorStateHasBeenSet =
false;
326 bool m_serviceExecutionRoleArnHasBeenSet =
false;
327 bool m_stateInfoHasBeenSet =
false;
328 bool m_tagsHasBeenSet =
false;
329 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)
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