/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The VPC security groups and subnets that are attached to a
* project.See Also:
AWS
* API Reference
A list of VPC security group IDs in your Amazon VPC.
*/ inline const Aws::VectorA list of VPC security group IDs in your Amazon VPC.
*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *A list of VPC security group IDs in your Amazon VPC.
*/ inline void SetSecurityGroupIds(const Aws::VectorA list of VPC security group IDs in your Amazon VPC.
*/ inline void SetSecurityGroupIds(Aws::VectorA list of VPC security group IDs in your Amazon VPC.
*/ inline TestGridVpcConfig& WithSecurityGroupIds(const Aws::VectorA list of VPC security group IDs in your Amazon VPC.
*/ inline TestGridVpcConfig& WithSecurityGroupIds(Aws::VectorA list of VPC security group IDs in your Amazon VPC.
*/ inline TestGridVpcConfig& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *A list of VPC security group IDs in your Amazon VPC.
*/ inline TestGridVpcConfig& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *A list of VPC security group IDs in your Amazon VPC.
*/ inline TestGridVpcConfig& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *A list of VPC subnet IDs in your Amazon VPC.
*/ inline const Aws::VectorA list of VPC subnet IDs in your Amazon VPC.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *A list of VPC subnet IDs in your Amazon VPC.
*/ inline void SetSubnetIds(const Aws::VectorA list of VPC subnet IDs in your Amazon VPC.
*/ inline void SetSubnetIds(Aws::VectorA list of VPC subnet IDs in your Amazon VPC.
*/ inline TestGridVpcConfig& WithSubnetIds(const Aws::VectorA list of VPC subnet IDs in your Amazon VPC.
*/ inline TestGridVpcConfig& WithSubnetIds(Aws::VectorA list of VPC subnet IDs in your Amazon VPC.
*/ inline TestGridVpcConfig& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *A list of VPC subnet IDs in your Amazon VPC.
*/ inline TestGridVpcConfig& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *A list of VPC subnet IDs in your Amazon VPC.
*/ inline TestGridVpcConfig& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *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 TestGridVpcConfig& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The ID of the Amazon VPC.
*/ inline TestGridVpcConfig& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The ID of the Amazon VPC.
*/ inline TestGridVpcConfig& WithVpcId(const char* value) { SetVpcId(value); return *this;} private: Aws::Vector