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>
42 template <
typename VpcIdT = Aws::String>
44 m_vpcIdHasBeenSet =
true;
45 m_vpcId = std::forward<VpcIdT>(value);
47 template <
typename VpcIdT = Aws::String>
49 SetVpcId(std::forward<VpcIdT>(value));
60 template <
typename SubnetsT = Aws::Vector<Aws::String>>
62 m_subnetsHasBeenSet =
true;
63 m_subnets = std::forward<SubnetsT>(value);
65 template <
typename SubnetsT = Aws::Vector<Aws::String>>
70 template <
typename SubnetsT = Aws::String>
72 m_subnetsHasBeenSet =
true;
73 m_subnets.emplace_back(std::forward<SubnetsT>(value));
84 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
86 m_securityGroupIdsHasBeenSet =
true;
87 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
89 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
94 template <
typename SecurityGroupIdsT = Aws::String>
96 m_securityGroupIdsHasBeenSet =
true;
97 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
107 bool m_vpcIdHasBeenSet =
false;
108 bool m_subnetsHasBeenSet =
false;
109 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