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;
47 template<
typename VpcConnectionArnT = Aws::String>
48 void SetVpcConnectionArn(VpcConnectionArnT&& value) { m_vpcConnectionArnHasBeenSet =
true; m_vpcConnectionArn = std::forward<VpcConnectionArnT>(value); }
49 template<
typename VpcConnectionArnT = Aws::String>
61 template<
typename TargetClusterArnT = Aws::String>
62 void SetTargetClusterArn(TargetClusterArnT&& value) { m_targetClusterArnHasBeenSet =
true; m_targetClusterArn = std::forward<TargetClusterArnT>(value); }
63 template<
typename TargetClusterArnT = Aws::String>
85 template<
typename AuthenticationT = Aws::String>
86 void SetAuthentication(AuthenticationT&& value) { m_authenticationHasBeenSet =
true; m_authentication = std::forward<AuthenticationT>(value); }
87 template<
typename AuthenticationT = Aws::String>
98 template<
typename VpcIdT = Aws::String>
99 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
100 template<
typename VpcIdT = Aws::String>
111 template<
typename SubnetsT = Aws::Vector<Aws::String>>
112 void SetSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets = std::forward<SubnetsT>(value); }
113 template<
typename SubnetsT = Aws::Vector<Aws::String>>
115 template<
typename SubnetsT = Aws::String>
126 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
127 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
128 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
130 template<
typename SecurityGroupsT = Aws::String>
141 template<
typename CreationTimeT = Aws::Utils::DateTime>
142 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
143 template<
typename CreationTimeT = Aws::Utils::DateTime>
154 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
155 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
156 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
158 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
160 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
167 template<
typename RequestIdT = Aws::String>
168 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
169 template<
typename RequestIdT = Aws::String>
175 bool m_vpcConnectionArnHasBeenSet =
false;
178 bool m_targetClusterArnHasBeenSet =
false;
181 bool m_stateHasBeenSet =
false;
184 bool m_authenticationHasBeenSet =
false;
187 bool m_vpcIdHasBeenSet =
false;
190 bool m_subnetsHasBeenSet =
false;
193 bool m_securityGroupsHasBeenSet =
false;
196 bool m_creationTimeHasBeenSet =
false;
199 bool m_tagsHasBeenSet =
false;
202 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