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/VpcConnectionState.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
40 template <
typename VpcConnectionArnT = Aws::String>
42 m_vpcConnectionArnHasBeenSet =
true;
43 m_vpcConnectionArn = std::forward<VpcConnectionArnT>(value);
45 template <
typename VpcConnectionArnT = Aws::String>
60 m_stateHasBeenSet =
true;
76 template <
typename AuthenticationT = Aws::String>
78 m_authenticationHasBeenSet =
true;
79 m_authentication = std::forward<AuthenticationT>(value);
81 template <
typename AuthenticationT = Aws::String>
95 template <
typename VpcIdT = Aws::String>
97 m_vpcIdHasBeenSet =
true;
98 m_vpcId = std::forward<VpcIdT>(value);
100 template <
typename VpcIdT = Aws::String>
102 SetVpcId(std::forward<VpcIdT>(value));
114 template <
typename ClientSubnetsT = Aws::Vector<Aws::String>>
116 m_clientSubnetsHasBeenSet =
true;
117 m_clientSubnets = std::forward<ClientSubnetsT>(value);
119 template <
typename ClientSubnetsT = Aws::Vector<Aws::String>>
124 template <
typename ClientSubnetsT = Aws::String>
126 m_clientSubnetsHasBeenSet =
true;
127 m_clientSubnets.emplace_back(std::forward<ClientSubnetsT>(value));
139 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
141 m_securityGroupsHasBeenSet =
true;
142 m_securityGroups = std::forward<SecurityGroupsT>(value);
144 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
149 template <
typename SecurityGroupsT = Aws::String>
151 m_securityGroupsHasBeenSet =
true;
152 m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
164 template <
typename CreationTimeT = Aws::Utils::DateTime>
166 m_creationTimeHasBeenSet =
true;
167 m_creationTime = std::forward<CreationTimeT>(value);
169 template <
typename CreationTimeT = Aws::Utils::DateTime>
183 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
185 m_tagsHasBeenSet =
true;
186 m_tags = std::forward<TagsT>(value);
188 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
190 SetTags(std::forward<TagsT>(value));
193 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
195 m_tagsHasBeenSet =
true;
196 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
204 template <
typename RequestIdT = Aws::String>
206 m_requestIdHasBeenSet =
true;
207 m_requestId = std::forward<RequestIdT>(value);
209 template <
typename RequestIdT = Aws::String>
233 bool m_vpcConnectionArnHasBeenSet =
false;
234 bool m_stateHasBeenSet =
false;
235 bool m_authenticationHasBeenSet =
false;
236 bool m_vpcIdHasBeenSet =
false;
237 bool m_clientSubnetsHasBeenSet =
false;
238 bool m_securityGroupsHasBeenSet =
false;
239 bool m_creationTimeHasBeenSet =
false;
240 bool m_tagsHasBeenSet =
false;
241 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