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;
42 template <
typename VpcConnectionArnT = Aws::String>
44 m_vpcConnectionArnHasBeenSet =
true;
45 m_vpcConnectionArn = std::forward<VpcConnectionArnT>(value);
47 template <
typename VpcConnectionArnT = Aws::String>
62 template <
typename TargetClusterArnT = Aws::String>
64 m_targetClusterArnHasBeenSet =
true;
65 m_targetClusterArn = std::forward<TargetClusterArnT>(value);
67 template <
typename TargetClusterArnT = Aws::String>
82 m_stateHasBeenSet =
true;
98 template <
typename AuthenticationT = Aws::String>
100 m_authenticationHasBeenSet =
true;
101 m_authentication = std::forward<AuthenticationT>(value);
103 template <
typename AuthenticationT = Aws::String>
117 template <
typename VpcIdT = Aws::String>
119 m_vpcIdHasBeenSet =
true;
120 m_vpcId = std::forward<VpcIdT>(value);
122 template <
typename VpcIdT = Aws::String>
124 SetVpcId(std::forward<VpcIdT>(value));
136 template <
typename SubnetsT = Aws::Vector<Aws::String>>
138 m_subnetsHasBeenSet =
true;
139 m_subnets = std::forward<SubnetsT>(value);
141 template <
typename SubnetsT = Aws::Vector<Aws::String>>
146 template <
typename SubnetsT = Aws::String>
148 m_subnetsHasBeenSet =
true;
149 m_subnets.emplace_back(std::forward<SubnetsT>(value));
161 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
163 m_securityGroupsHasBeenSet =
true;
164 m_securityGroups = std::forward<SecurityGroupsT>(value);
166 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
171 template <
typename SecurityGroupsT = Aws::String>
173 m_securityGroupsHasBeenSet =
true;
174 m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
186 template <
typename CreationTimeT = Aws::Utils::DateTime>
188 m_creationTimeHasBeenSet =
true;
189 m_creationTime = std::forward<CreationTimeT>(value);
191 template <
typename CreationTimeT = Aws::Utils::DateTime>
205 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
207 m_tagsHasBeenSet =
true;
208 m_tags = std::forward<TagsT>(value);
210 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
212 SetTags(std::forward<TagsT>(value));
215 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
217 m_tagsHasBeenSet =
true;
218 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
226 template <
typename RequestIdT = Aws::String>
228 m_requestIdHasBeenSet =
true;
229 m_requestId = std::forward<RequestIdT>(value);
231 template <
typename RequestIdT = Aws::String>
260 bool m_vpcConnectionArnHasBeenSet =
false;
261 bool m_targetClusterArnHasBeenSet =
false;
262 bool m_stateHasBeenSet =
false;
263 bool m_authenticationHasBeenSet =
false;
264 bool m_vpcIdHasBeenSet =
false;
265 bool m_subnetsHasBeenSet =
false;
266 bool m_securityGroupsHasBeenSet =
false;
267 bool m_creationTimeHasBeenSet =
false;
268 bool m_tagsHasBeenSet =
false;
269 bool m_requestIdHasBeenSet =
false;
DescribeVpcConnectionResult & WithVpcConnectionArn(VpcConnectionArnT &&value)
AWS_KAFKA_API DescribeVpcConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeVpcConnectionResult & WithState(VpcConnectionState value)
void SetVpcConnectionArn(VpcConnectionArnT &&value)
void SetAuthentication(AuthenticationT &&value)
const Aws::String & GetVpcId() const
void SetTargetClusterArn(TargetClusterArnT &&value)
AWS_KAFKA_API DescribeVpcConnectionResult()=default
const Aws::String & GetTargetClusterArn() const
DescribeVpcConnectionResult & AddSubnets(SubnetsT &&value)
DescribeVpcConnectionResult & WithSecurityGroups(SecurityGroupsT &&value)
const Aws::String & GetAuthentication() const
void SetSecurityGroups(SecurityGroupsT &&value)
VpcConnectionState GetState() const
void SetRequestId(RequestIdT &&value)
void SetState(VpcConnectionState value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeVpcConnectionResult & WithTargetClusterArn(TargetClusterArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< Aws::String > & GetSubnets() const
void SetVpcId(VpcIdT &&value)
DescribeVpcConnectionResult & WithAuthentication(AuthenticationT &&value)
DescribeVpcConnectionResult & WithCreationTime(CreationTimeT &&value)
DescribeVpcConnectionResult & WithRequestId(RequestIdT &&value)
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetVpcConnectionArn() const
void SetSubnets(SubnetsT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeVpcConnectionResult & WithTags(TagsT &&value)
AWS_KAFKA_API DescribeVpcConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeVpcConnectionResult & WithVpcId(VpcIdT &&value)
DescribeVpcConnectionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeVpcConnectionResult & WithSubnets(SubnetsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
DescribeVpcConnectionResult & AddSecurityGroups(SecurityGroupsT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetRequestId() const
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