7#include <aws/kafka/Kafka_EXPORTS.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/model/ReplicatorState.h>
12#include <aws/kafka/model/ReplicationStateInfo.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/kafka/model/KafkaClusterDescription.h>
15#include <aws/kafka/model/ReplicationInfoDescription.h>
20template<
typename RESULT_TYPE>
21class AmazonWebServiceResult;
47 template<
typename CreationTimeT = Aws::Utils::DateTime>
48 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
49 template<
typename CreationTimeT = Aws::Utils::DateTime>
58 template<
typename CurrentVersionT = Aws::String>
59 void SetCurrentVersion(CurrentVersionT&& value) { m_currentVersionHasBeenSet =
true; m_currentVersion = std::forward<CurrentVersionT>(value); }
60 template<
typename CurrentVersionT = Aws::String>
69 inline void SetIsReplicatorReference(
bool value) { m_isReplicatorReferenceHasBeenSet =
true; m_isReplicatorReference = value; }
78 template<
typename KafkaClustersT = Aws::Vector<KafkaClusterDescription>>
79 void SetKafkaClusters(KafkaClustersT&& value) { m_kafkaClustersHasBeenSet =
true; m_kafkaClusters = std::forward<KafkaClustersT>(value); }
80 template<
typename KafkaClustersT = Aws::Vector<KafkaClusterDescription>>
82 template<
typename KafkaClustersT = KafkaClusterDescription>
92 template<
typename ReplicationInfoListT = Aws::Vector<ReplicationInfoDescription>>
93 void SetReplicationInfoList(ReplicationInfoListT&& value) { m_replicationInfoListHasBeenSet =
true; m_replicationInfoList = std::forward<ReplicationInfoListT>(value); }
94 template<
typename ReplicationInfoListT = Aws::Vector<ReplicationInfoDescription>>
96 template<
typename ReplicationInfoListT = ReplicationInfoDescription>
105 template<
typename ReplicatorArnT = Aws::String>
106 void SetReplicatorArn(ReplicatorArnT&& value) { m_replicatorArnHasBeenSet =
true; m_replicatorArn = std::forward<ReplicatorArnT>(value); }
107 template<
typename ReplicatorArnT = Aws::String>
116 template<
typename ReplicatorDescriptionT = Aws::String>
117 void SetReplicatorDescription(ReplicatorDescriptionT&& value) { m_replicatorDescriptionHasBeenSet =
true; m_replicatorDescription = std::forward<ReplicatorDescriptionT>(value); }
118 template<
typename ReplicatorDescriptionT = Aws::String>
127 template<
typename ReplicatorNameT = Aws::String>
128 void SetReplicatorName(ReplicatorNameT&& value) { m_replicatorNameHasBeenSet =
true; m_replicatorName = std::forward<ReplicatorNameT>(value); }
129 template<
typename ReplicatorNameT = Aws::String>
139 template<
typename ReplicatorResourceArnT = Aws::String>
140 void SetReplicatorResourceArn(ReplicatorResourceArnT&& value) { m_replicatorResourceArnHasBeenSet =
true; m_replicatorResourceArn = std::forward<ReplicatorResourceArnT>(value); }
141 template<
typename ReplicatorResourceArnT = Aws::String>
160 template<
typename ServiceExecutionRoleArnT = Aws::String>
161 void SetServiceExecutionRoleArn(ServiceExecutionRoleArnT&& value) { m_serviceExecutionRoleArnHasBeenSet =
true; m_serviceExecutionRoleArn = std::forward<ServiceExecutionRoleArnT>(value); }
162 template<
typename ServiceExecutionRoleArnT = Aws::String>
171 template<
typename StateInfoT = ReplicationStateInfo>
172 void SetStateInfo(StateInfoT&& value) { m_stateInfoHasBeenSet =
true; m_stateInfo = std::forward<StateInfoT>(value); }
173 template<
typename StateInfoT = ReplicationStateInfo>
182 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
183 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
184 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
186 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
188 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
195 template<
typename RequestIdT = Aws::String>
196 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
197 template<
typename RequestIdT = Aws::String>
203 bool m_creationTimeHasBeenSet =
false;
206 bool m_currentVersionHasBeenSet =
false;
208 bool m_isReplicatorReference{
false};
209 bool m_isReplicatorReferenceHasBeenSet =
false;
212 bool m_kafkaClustersHasBeenSet =
false;
215 bool m_replicationInfoListHasBeenSet =
false;
218 bool m_replicatorArnHasBeenSet =
false;
221 bool m_replicatorDescriptionHasBeenSet =
false;
224 bool m_replicatorNameHasBeenSet =
false;
227 bool m_replicatorResourceArnHasBeenSet =
false;
230 bool m_replicatorStateHasBeenSet =
false;
233 bool m_serviceExecutionRoleArnHasBeenSet =
false;
235 ReplicationStateInfo m_stateInfo;
236 bool m_stateInfoHasBeenSet =
false;
239 bool m_tagsHasBeenSet =
false;
242 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