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;
41 template <
typename VpcConnectionArnT = Aws::String>
43 m_vpcConnectionArnHasBeenSet =
true;
44 m_vpcConnectionArn = std::forward<VpcConnectionArnT>(value);
46 template <
typename VpcConnectionArnT = Aws::String>
61 template <
typename TargetClusterArnT = Aws::String>
63 m_targetClusterArnHasBeenSet =
true;
64 m_targetClusterArn = std::forward<TargetClusterArnT>(value);
66 template <
typename TargetClusterArnT = Aws::String>
81 m_stateHasBeenSet =
true;
97 template <
typename AuthenticationT = Aws::String>
99 m_authenticationHasBeenSet =
true;
100 m_authentication = std::forward<AuthenticationT>(value);
102 template <
typename AuthenticationT = Aws::String>
116 template <
typename VpcIdT = Aws::String>
118 m_vpcIdHasBeenSet =
true;
119 m_vpcId = std::forward<VpcIdT>(value);
121 template <
typename VpcIdT = Aws::String>
123 SetVpcId(std::forward<VpcIdT>(value));
135 template <
typename SubnetsT = Aws::Vector<Aws::String>>
137 m_subnetsHasBeenSet =
true;
138 m_subnets = std::forward<SubnetsT>(value);
140 template <
typename SubnetsT = Aws::Vector<Aws::String>>
145 template <
typename SubnetsT = Aws::String>
147 m_subnetsHasBeenSet =
true;
148 m_subnets.emplace_back(std::forward<SubnetsT>(value));
160 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
162 m_securityGroupsHasBeenSet =
true;
163 m_securityGroups = std::forward<SecurityGroupsT>(value);
165 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
170 template <
typename SecurityGroupsT = Aws::String>
172 m_securityGroupsHasBeenSet =
true;
173 m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
185 template <
typename CreationTimeT = Aws::Utils::DateTime>
187 m_creationTimeHasBeenSet =
true;
188 m_creationTime = std::forward<CreationTimeT>(value);
190 template <
typename CreationTimeT = Aws::Utils::DateTime>
204 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
206 m_tagsHasBeenSet =
true;
207 m_tags = std::forward<TagsT>(value);
209 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
211 SetTags(std::forward<TagsT>(value));
214 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
216 m_tagsHasBeenSet =
true;
217 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
225 template <
typename RequestIdT = Aws::String>
227 m_requestIdHasBeenSet =
true;
228 m_requestId = std::forward<RequestIdT>(value);
230 template <
typename RequestIdT = Aws::String>
256 bool m_vpcConnectionArnHasBeenSet =
false;
257 bool m_targetClusterArnHasBeenSet =
false;
258 bool m_stateHasBeenSet =
false;
259 bool m_authenticationHasBeenSet =
false;
260 bool m_vpcIdHasBeenSet =
false;
261 bool m_subnetsHasBeenSet =
false;
262 bool m_securityGroupsHasBeenSet =
false;
263 bool m_creationTimeHasBeenSet =
false;
264 bool m_tagsHasBeenSet =
false;
265 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)
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