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>
46 template<
typename TargetClusterArnT = Aws::String>
47 void SetTargetClusterArn(TargetClusterArnT&& value) { m_targetClusterArnHasBeenSet =
true; m_targetClusterArn = std::forward<TargetClusterArnT>(value); }
48 template<
typename TargetClusterArnT = Aws::String>
60 template<
typename AuthenticationT = Aws::String>
61 void SetAuthentication(AuthenticationT&& value) { m_authenticationHasBeenSet =
true; m_authentication = std::forward<AuthenticationT>(value); }
62 template<
typename AuthenticationT = Aws::String>
74 template<
typename VpcIdT = Aws::String>
75 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
76 template<
typename VpcIdT = Aws::String>
88 template<
typename ClientSubnetsT = Aws::Vector<Aws::String>>
89 void SetClientSubnets(ClientSubnetsT&& value) { m_clientSubnetsHasBeenSet =
true; m_clientSubnets = std::forward<ClientSubnetsT>(value); }
90 template<
typename ClientSubnetsT = Aws::Vector<Aws::String>>
92 template<
typename ClientSubnetsT = Aws::String>
104 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
105 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
106 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
108 template<
typename SecurityGroupsT = Aws::String>
120 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
121 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
122 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
126 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
132 bool m_targetClusterArnHasBeenSet =
false;
135 bool m_authenticationHasBeenSet =
false;
138 bool m_vpcIdHasBeenSet =
false;
141 bool m_clientSubnetsHasBeenSet =
false;
144 bool m_securityGroupsHasBeenSet =
false;
147 bool m_tagsHasBeenSet =
false;
bool VpcIdHasBeenSet() const
void SetClientSubnets(ClientSubnetsT &&value)
void SetSecurityGroups(SecurityGroupsT &&value)
const Aws::String & GetAuthentication() const
bool ClientSubnetsHasBeenSet() const
const Aws::Vector< Aws::String > & GetClientSubnets() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateVpcConnectionRequest & AddSecurityGroups(SecurityGroupsT &&value)
bool AuthenticationHasBeenSet() const
void SetTags(TagsT &&value)
AWS_KAFKA_API Aws::String SerializePayload() const override
void SetAuthentication(AuthenticationT &&value)
CreateVpcConnectionRequest & WithClientSubnets(ClientSubnetsT &&value)
bool TargetClusterArnHasBeenSet() const
bool SecurityGroupsHasBeenSet() const
const Aws::String & GetVpcId() const
CreateVpcConnectionRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool TagsHasBeenSet() const
void SetTargetClusterArn(TargetClusterArnT &&value)
CreateVpcConnectionRequest & WithTargetClusterArn(TargetClusterArnT &&value)
AWS_KAFKA_API CreateVpcConnectionRequest()=default
CreateVpcConnectionRequest & AddClientSubnets(ClientSubnetsT &&value)
CreateVpcConnectionRequest & WithVpcId(VpcIdT &&value)
CreateVpcConnectionRequest & WithSecurityGroups(SecurityGroupsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
virtual const char * GetServiceRequestName() const override
CreateVpcConnectionRequest & WithAuthentication(AuthenticationT &&value)
void SetVpcId(VpcIdT &&value)
const Aws::String & GetTargetClusterArn() const
CreateVpcConnectionRequest & WithTags(TagsT &&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