7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/model/VpcConnectionState.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
46 template<
typename VpcConnectionArnT = Aws::String>
47 void SetVpcConnectionArn(VpcConnectionArnT&& value) { m_vpcConnectionArnHasBeenSet =
true; m_vpcConnectionArn = std::forward<VpcConnectionArnT>(value); }
48 template<
typename VpcConnectionArnT = Aws::String>
70 template<
typename AuthenticationT = Aws::String>
71 void SetAuthentication(AuthenticationT&& value) { m_authenticationHasBeenSet =
true; m_authentication = std::forward<AuthenticationT>(value); }
72 template<
typename AuthenticationT = Aws::String>
83 template<
typename VpcIdT = Aws::String>
84 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
85 template<
typename VpcIdT = Aws::String>
96 template<
typename ClientSubnetsT = Aws::Vector<Aws::String>>
97 void SetClientSubnets(ClientSubnetsT&& value) { m_clientSubnetsHasBeenSet =
true; m_clientSubnets = std::forward<ClientSubnetsT>(value); }
98 template<
typename ClientSubnetsT = Aws::Vector<Aws::String>>
100 template<
typename ClientSubnetsT = Aws::String>
111 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
112 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
113 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
115 template<
typename SecurityGroupsT = Aws::String>
126 template<
typename CreationTimeT = Aws::Utils::DateTime>
127 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
128 template<
typename CreationTimeT = Aws::Utils::DateTime>
139 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
140 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
141 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
145 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
152 template<
typename RequestIdT = Aws::String>
153 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
154 template<
typename RequestIdT = Aws::String>
160 bool m_vpcConnectionArnHasBeenSet =
false;
163 bool m_stateHasBeenSet =
false;
166 bool m_authenticationHasBeenSet =
false;
169 bool m_vpcIdHasBeenSet =
false;
172 bool m_clientSubnetsHasBeenSet =
false;
175 bool m_securityGroupsHasBeenSet =
false;
178 bool m_creationTimeHasBeenSet =
false;
181 bool m_tagsHasBeenSet =
false;
184 bool m_requestIdHasBeenSet =
false;
AWS_KAFKA_API CreateVpcConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateVpcConnectionResult & WithClientSubnets(ClientSubnetsT &&value)
const Aws::String & GetVpcConnectionArn() const
CreateVpcConnectionResult & WithAuthentication(AuthenticationT &&value)
void SetVpcId(VpcIdT &&value)
void SetState(VpcConnectionState value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateVpcConnectionResult & WithTags(TagsT &&value)
const Aws::Vector< Aws::String > & GetClientSubnets() const
AWS_KAFKA_API CreateVpcConnectionResult()=default
CreateVpcConnectionResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetAuthentication() const
const Aws::String & GetRequestId() const
void SetTags(TagsT &&value)
CreateVpcConnectionResult & WithCreationTime(CreationTimeT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
VpcConnectionState GetState() const
CreateVpcConnectionResult & WithState(VpcConnectionState value)
CreateVpcConnectionResult & WithSecurityGroups(SecurityGroupsT &&value)
CreateVpcConnectionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateVpcConnectionResult & WithVpcConnectionArn(VpcConnectionArnT &&value)
void SetAuthentication(AuthenticationT &&value)
void SetCreationTime(CreationTimeT &&value)
CreateVpcConnectionResult & WithVpcId(VpcIdT &&value)
CreateVpcConnectionResult & AddSecurityGroups(SecurityGroupsT &&value)
CreateVpcConnectionResult & AddClientSubnets(ClientSubnetsT &&value)
void SetSecurityGroups(SecurityGroupsT &&value)
const Aws::String & GetVpcId() const
void SetRequestId(RequestIdT &&value)
void SetClientSubnets(ClientSubnetsT &&value)
void SetVpcConnectionArn(VpcConnectionArnT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_KAFKA_API CreateVpcConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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