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>
48 template<
typename SubnetsT = Aws::Vector<Aws::String>>
49 void SetSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets = std::forward<SubnetsT>(value); }
50 template<
typename SubnetsT = Aws::Vector<Aws::String>>
52 template<
typename SubnetsT = Aws::String>
53 VPCConfigResponse&
AddSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets.emplace_back(std::forward<SubnetsT>(value));
return *
this; }
62 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
63 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
64 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
66 template<
typename SecurityGroupsT = Aws::String>
67 VPCConfigResponse&
AddSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
return *
this; }
76 template<
typename VpcIdT = Aws::String>
77 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
78 template<
typename VpcIdT = Aws::String>
88 inline void SetAssignPublicIp(
bool value) { m_assignPublicIpHasBeenSet =
true; m_assignPublicIp = value; }
94 bool m_subnetsHasBeenSet =
false;
97 bool m_securityGroupsHasBeenSet =
false;
100 bool m_vpcIdHasBeenSet =
false;
102 bool m_assignPublicIp{
false};
103 bool m_assignPublicIpHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetSecurityGroups() const
VPCConfigResponse & AddSecurityGroups(SecurityGroupsT &&value)
AWS_ROBOMAKER_API VPCConfigResponse(Aws::Utils::Json::JsonView jsonValue)
bool AssignPublicIpHasBeenSet() const
bool SecurityGroupsHasBeenSet() const
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetAssignPublicIp() const
VPCConfigResponse & AddSubnets(SubnetsT &&value)
void SetSecurityGroups(SecurityGroupsT &&value)
void SetAssignPublicIp(bool value)
AWS_ROBOMAKER_API VPCConfigResponse()=default
const Aws::String & GetVpcId() const
bool SubnetsHasBeenSet() const
const Aws::Vector< Aws::String > & GetSubnets() const
VPCConfigResponse & WithSubnets(SubnetsT &&value)
VPCConfigResponse & WithVpcId(VpcIdT &&value)
bool VpcIdHasBeenSet() const
VPCConfigResponse & WithSecurityGroups(SecurityGroupsT &&value)
void SetVpcId(VpcIdT &&value)
AWS_ROBOMAKER_API VPCConfigResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubnets(SubnetsT &&value)
VPCConfigResponse & WithAssignPublicIp(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue