7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
36 AWS_KAFKACONNECT_API
Vpc() =
default;
48 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
49 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
50 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
52 template<
typename SecurityGroupsT = Aws::String>
53 Vpc&
AddSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
return *
this; }
62 template<
typename SubnetsT = Aws::Vector<Aws::String>>
63 void SetSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets = std::forward<SubnetsT>(value); }
64 template<
typename SubnetsT = Aws::Vector<Aws::String>>
66 template<
typename SubnetsT = Aws::String>
67 Vpc&
AddSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets.emplace_back(std::forward<SubnetsT>(value));
return *
this; }
72 bool m_securityGroupsHasBeenSet =
false;
75 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