7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
20namespace KafkaConnect {
31 AWS_KAFKACONNECT_API
Vpc() =
default;
42 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
44 m_securityGroupsHasBeenSet =
true;
45 m_securityGroups = std::forward<SecurityGroupsT>(value);
47 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
52 template <
typename SecurityGroupsT = Aws::String>
54 m_securityGroupsHasBeenSet =
true;
55 m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
66 template <
typename SubnetsT = Aws::Vector<Aws::String>>
68 m_subnetsHasBeenSet =
true;
69 m_subnets = std::forward<SubnetsT>(value);
71 template <
typename SubnetsT = Aws::Vector<Aws::String>>
76 template <
typename SubnetsT = Aws::String>
78 m_subnetsHasBeenSet =
true;
79 m_subnets.emplace_back(std::forward<SubnetsT>(value));
87 bool m_securityGroupsHasBeenSet =
false;
88 bool m_subnetsHasBeenSet =
false;
AWS_KAFKACONNECT_API Vpc(Aws::Utils::Json::JsonView jsonValue)
Vpc & AddSecurityGroups(SecurityGroupsT &&value)
bool SubnetsHasBeenSet() const
void SetSecurityGroups(SecurityGroupsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
AWS_KAFKACONNECT_API Vpc()=default
AWS_KAFKACONNECT_API Vpc & operator=(Aws::Utils::Json::JsonView jsonValue)
Vpc & WithSubnets(SubnetsT &&value)
bool SecurityGroupsHasBeenSet() const
const Aws::Vector< Aws::String > & GetSubnets() const
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSubnets(SubnetsT &&value)
Vpc & WithSecurityGroups(SecurityGroupsT &&value)
Vpc & AddSubnets(SubnetsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue