7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 template<
typename SubnetsT = Aws::Vector<Aws::String>>
51 void SetSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets = std::forward<SubnetsT>(value); }
52 template<
typename SubnetsT = Aws::Vector<Aws::String>>
54 template<
typename SubnetsT = Aws::String>
55 VPCConfig&
AddSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets.emplace_back(std::forward<SubnetsT>(value));
return *
this; }
64 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
65 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
66 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
68 template<
typename SecurityGroupsT = Aws::String>
69 VPCConfig&
AddSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
return *
this; }
78 inline void SetAssignPublicIp(
bool value) { m_assignPublicIpHasBeenSet =
true; m_assignPublicIp = value; }
84 bool m_subnetsHasBeenSet =
false;
87 bool m_securityGroupsHasBeenSet =
false;
89 bool m_assignPublicIp{
false};
90 bool m_assignPublicIpHasBeenSet =
false;
VPCConfig & WithSecurityGroups(SecurityGroupsT &&value)
void SetSecurityGroups(SecurityGroupsT &&value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool AssignPublicIpHasBeenSet() const
VPCConfig & AddSecurityGroups(SecurityGroupsT &&value)
void SetSubnets(SubnetsT &&value)
VPCConfig & AddSubnets(SubnetsT &&value)
AWS_ROBOMAKER_API VPCConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSubnets() const
AWS_ROBOMAKER_API VPCConfig()=default
void SetAssignPublicIp(bool value)
AWS_ROBOMAKER_API VPCConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
VPCConfig & WithSubnets(SubnetsT &&value)
bool SubnetsHasBeenSet() const
bool SecurityGroupsHasBeenSet() const
bool GetAssignPublicIp() const
const Aws::Vector< Aws::String > & GetSecurityGroups() const
VPCConfig & WithAssignPublicIp(bool value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue