/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the VPC configuration that CodeBuild
* accesses.See Also:
AWS
* API Reference
The ID of the Amazon VPC.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The ID of the Amazon VPC.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The ID of the Amazon VPC.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The ID of the Amazon VPC.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The ID of the Amazon VPC.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The ID of the Amazon VPC.
*/ inline VpcConfig& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The ID of the Amazon VPC.
*/ inline VpcConfig& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The ID of the Amazon VPC.
*/ inline VpcConfig& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *A list of one or more subnet IDs in your Amazon VPC.
*/ inline const Aws::VectorA list of one or more subnet IDs in your Amazon VPC.
*/ inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; } /** *A list of one or more subnet IDs in your Amazon VPC.
*/ inline void SetSubnets(const Aws::VectorA list of one or more subnet IDs in your Amazon VPC.
*/ inline void SetSubnets(Aws::VectorA list of one or more subnet IDs in your Amazon VPC.
*/ inline VpcConfig& WithSubnets(const Aws::VectorA list of one or more subnet IDs in your Amazon VPC.
*/ inline VpcConfig& WithSubnets(Aws::VectorA list of one or more subnet IDs in your Amazon VPC.
*/ inline VpcConfig& AddSubnets(const Aws::String& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } /** *A list of one or more subnet IDs in your Amazon VPC.
*/ inline VpcConfig& AddSubnets(Aws::String&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; } /** *A list of one or more subnet IDs in your Amazon VPC.
*/ inline VpcConfig& AddSubnets(const char* value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } /** *A list of one or more security groups IDs in your Amazon VPC.
*/ inline const Aws::VectorA list of one or more security groups IDs in your Amazon VPC.
*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *A list of one or more security groups IDs in your Amazon VPC.
*/ inline void SetSecurityGroupIds(const Aws::VectorA list of one or more security groups IDs in your Amazon VPC.
*/ inline void SetSecurityGroupIds(Aws::VectorA list of one or more security groups IDs in your Amazon VPC.
*/ inline VpcConfig& WithSecurityGroupIds(const Aws::VectorA list of one or more security groups IDs in your Amazon VPC.
*/ inline VpcConfig& WithSecurityGroupIds(Aws::VectorA list of one or more security groups IDs in your Amazon VPC.
*/ inline VpcConfig& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *A list of one or more security groups IDs in your Amazon VPC.
*/ inline VpcConfig& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *A list of one or more security groups IDs in your Amazon VPC.
*/ inline VpcConfig& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } private: Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; Aws::Vector