7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/KafkaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/kafka/model/KafkaCluster.h>
13#include <aws/kafka/model/ReplicationInfo.h>
49 template<
typename DescriptionT = Aws::String>
50 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
51 template<
typename DescriptionT = Aws::String>
61 template<
typename KafkaClustersT = Aws::Vector<KafkaCluster>>
62 void SetKafkaClusters(KafkaClustersT&& value) { m_kafkaClustersHasBeenSet =
true; m_kafkaClusters = std::forward<KafkaClustersT>(value); }
63 template<
typename KafkaClustersT = Aws::Vector<KafkaCluster>>
65 template<
typename KafkaClustersT = KafkaCluster>
76 template<
typename ReplicationInfoListT = Aws::Vector<ReplicationInfo>>
77 void SetReplicationInfoList(ReplicationInfoListT&& value) { m_replicationInfoListHasBeenSet =
true; m_replicationInfoList = std::forward<ReplicationInfoListT>(value); }
78 template<
typename ReplicationInfoListT = Aws::Vector<ReplicationInfo>>
80 template<
typename ReplicationInfoListT = ReplicationInfo>
91 template<
typename ReplicatorNameT = Aws::String>
92 void SetReplicatorName(ReplicatorNameT&& value) { m_replicatorNameHasBeenSet =
true; m_replicatorName = std::forward<ReplicatorNameT>(value); }
93 template<
typename ReplicatorNameT = Aws::String>
104 template<
typename ServiceExecutionRoleArnT = Aws::String>
105 void SetServiceExecutionRoleArn(ServiceExecutionRoleArnT&& value) { m_serviceExecutionRoleArnHasBeenSet =
true; m_serviceExecutionRoleArn = std::forward<ServiceExecutionRoleArnT>(value); }
106 template<
typename ServiceExecutionRoleArnT = Aws::String>
116 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
117 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
118 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
120 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
122 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
128 bool m_descriptionHasBeenSet =
false;
131 bool m_kafkaClustersHasBeenSet =
false;
134 bool m_replicationInfoListHasBeenSet =
false;
137 bool m_replicatorNameHasBeenSet =
false;
140 bool m_serviceExecutionRoleArnHasBeenSet =
false;
143 bool m_tagsHasBeenSet =
false;
const Aws::Vector< KafkaCluster > & GetKafkaClusters() const
void SetTags(TagsT &&value)
const Aws::String & GetDescription() const
void SetDescription(DescriptionT &&value)
CreateReplicatorRequest & WithDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
CreateReplicatorRequest & AddReplicationInfoList(ReplicationInfoListT &&value)
CreateReplicatorRequest & WithReplicatorName(ReplicatorNameT &&value)
void SetServiceExecutionRoleArn(ServiceExecutionRoleArnT &&value)
bool KafkaClustersHasBeenSet() const
AWS_KAFKA_API CreateReplicatorRequest()=default
CreateReplicatorRequest & AddKafkaClusters(KafkaClustersT &&value)
CreateReplicatorRequest & WithKafkaClusters(KafkaClustersT &&value)
bool TagsHasBeenSet() const
void SetReplicationInfoList(ReplicationInfoListT &&value)
bool ReplicatorNameHasBeenSet() const
CreateReplicatorRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Vector< ReplicationInfo > & GetReplicationInfoList() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetKafkaClusters(KafkaClustersT &&value)
bool ReplicationInfoListHasBeenSet() const
CreateReplicatorRequest & WithServiceExecutionRoleArn(ServiceExecutionRoleArnT &&value)
CreateReplicatorRequest & WithTags(TagsT &&value)
const Aws::String & GetReplicatorName() const
void SetReplicatorName(ReplicatorNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_KAFKA_API Aws::String SerializePayload() const override
const Aws::String & GetServiceExecutionRoleArn() const
bool ServiceExecutionRoleArnHasBeenSet() const
CreateReplicatorRequest & WithReplicationInfoList(ReplicationInfoListT &&value)
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