7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
48 template<
typename VpcIdT = Aws::String>
49 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
50 template<
typename VpcIdT = Aws::String>
60 template<
typename SubnetsT = Aws::Vector<Aws::String>>
61 void SetSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets = std::forward<SubnetsT>(value); }
62 template<
typename SubnetsT = Aws::Vector<Aws::String>>
64 template<
typename SubnetsT = Aws::String>
65 VpcConfig&
AddSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets.emplace_back(std::forward<SubnetsT>(value));
return *
this; }
74 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
75 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
76 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
78 template<
typename SecurityGroupIdsT = Aws::String>
79 VpcConfig&
AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
return *
this; }
84 bool m_vpcIdHasBeenSet =
false;
87 bool m_subnetsHasBeenSet =
false;
90 bool m_securityGroupIdsHasBeenSet =
false;
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::Vector< Aws::String > & GetSubnets() const
bool VpcIdHasBeenSet() const
VpcConfig & WithVpcId(VpcIdT &&value)
void SetVpcId(VpcIdT &&value)
VpcConfig & WithSubnets(SubnetsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
VpcConfig & WithSecurityGroupIds(SecurityGroupIdsT &&value)
bool SecurityGroupIdsHasBeenSet() const
bool SubnetsHasBeenSet() const
void SetSubnets(SubnetsT &&value)
AWS_CODEBUILD_API VpcConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcConfig & AddSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEBUILD_API VpcConfig()=default
const Aws::String & GetVpcId() const
VpcConfig & AddSubnets(SubnetsT &&value)
AWS_CODEBUILD_API VpcConfig(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue