7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/kafka/Kafka_EXPORTS.h>
13#include <aws/kafka/model/VpcConnectionState.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
41 template <
typename VpcConnectionArnT = Aws::String>
43 m_vpcConnectionArnHasBeenSet =
true;
44 m_vpcConnectionArn = std::forward<VpcConnectionArnT>(value);
46 template <
typename VpcConnectionArnT = Aws::String>
61 m_stateHasBeenSet =
true;
77 template <
typename AuthenticationT = Aws::String>
79 m_authenticationHasBeenSet =
true;
80 m_authentication = std::forward<AuthenticationT>(value);
82 template <
typename AuthenticationT = Aws::String>
96 template <
typename VpcIdT = Aws::String>
98 m_vpcIdHasBeenSet =
true;
99 m_vpcId = std::forward<VpcIdT>(value);
101 template <
typename VpcIdT = Aws::String>
103 SetVpcId(std::forward<VpcIdT>(value));
115 template <
typename ClientSubnetsT = Aws::Vector<Aws::String>>
117 m_clientSubnetsHasBeenSet =
true;
118 m_clientSubnets = std::forward<ClientSubnetsT>(value);
120 template <
typename ClientSubnetsT = Aws::Vector<Aws::String>>
125 template <
typename ClientSubnetsT = Aws::String>
127 m_clientSubnetsHasBeenSet =
true;
128 m_clientSubnets.emplace_back(std::forward<ClientSubnetsT>(value));
140 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
142 m_securityGroupsHasBeenSet =
true;
143 m_securityGroups = std::forward<SecurityGroupsT>(value);
145 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
150 template <
typename SecurityGroupsT = Aws::String>
152 m_securityGroupsHasBeenSet =
true;
153 m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
165 template <
typename CreationTimeT = Aws::Utils::DateTime>
167 m_creationTimeHasBeenSet =
true;
168 m_creationTime = std::forward<CreationTimeT>(value);
170 template <
typename CreationTimeT = Aws::Utils::DateTime>
184 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
186 m_tagsHasBeenSet =
true;
187 m_tags = std::forward<TagsT>(value);
189 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
191 SetTags(std::forward<TagsT>(value));
194 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
196 m_tagsHasBeenSet =
true;
197 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
205 template <
typename RequestIdT = Aws::String>
207 m_requestIdHasBeenSet =
true;
208 m_requestId = std::forward<RequestIdT>(value);
210 template <
typename RequestIdT = Aws::String>
237 bool m_vpcConnectionArnHasBeenSet =
false;
238 bool m_stateHasBeenSet =
false;
239 bool m_authenticationHasBeenSet =
false;
240 bool m_vpcIdHasBeenSet =
false;
241 bool m_clientSubnetsHasBeenSet =
false;
242 bool m_securityGroupsHasBeenSet =
false;
243 bool m_creationTimeHasBeenSet =
false;
244 bool m_tagsHasBeenSet =
false;
245 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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