/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Configuration parameters for an optional private Virtual Private Cloud (VPC)
* containing the resources you are using for the job. For more information, see Amazon
* VPC. See Also:
AWS
* API Reference
The ID number for a security group on an instance of your private VPC. * Security groups on your VPC function serve as a virtual firewall to control * inbound and outbound traffic and provides security for the resources that you’ll * be accessing on the VPC. This ID number is preceded by "sg-", for instance: * "sg-03b388029b0a285ea". For more information, see Security * Groups for your VPC.
*/ inline const Aws::VectorThe ID number for a security group on an instance of your private VPC. * Security groups on your VPC function serve as a virtual firewall to control * inbound and outbound traffic and provides security for the resources that you’ll * be accessing on the VPC. This ID number is preceded by "sg-", for instance: * "sg-03b388029b0a285ea". For more information, see Security * Groups for your VPC.
*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *The ID number for a security group on an instance of your private VPC. * Security groups on your VPC function serve as a virtual firewall to control * inbound and outbound traffic and provides security for the resources that you’ll * be accessing on the VPC. This ID number is preceded by "sg-", for instance: * "sg-03b388029b0a285ea". For more information, see Security * Groups for your VPC.
*/ inline void SetSecurityGroupIds(const Aws::VectorThe ID number for a security group on an instance of your private VPC. * Security groups on your VPC function serve as a virtual firewall to control * inbound and outbound traffic and provides security for the resources that you’ll * be accessing on the VPC. This ID number is preceded by "sg-", for instance: * "sg-03b388029b0a285ea". For more information, see Security * Groups for your VPC.
*/ inline void SetSecurityGroupIds(Aws::VectorThe ID number for a security group on an instance of your private VPC. * Security groups on your VPC function serve as a virtual firewall to control * inbound and outbound traffic and provides security for the resources that you’ll * be accessing on the VPC. This ID number is preceded by "sg-", for instance: * "sg-03b388029b0a285ea". For more information, see Security * Groups for your VPC.
*/ inline VpcConfig& WithSecurityGroupIds(const Aws::VectorThe ID number for a security group on an instance of your private VPC. * Security groups on your VPC function serve as a virtual firewall to control * inbound and outbound traffic and provides security for the resources that you’ll * be accessing on the VPC. This ID number is preceded by "sg-", for instance: * "sg-03b388029b0a285ea". For more information, see Security * Groups for your VPC.
*/ inline VpcConfig& WithSecurityGroupIds(Aws::VectorThe ID number for a security group on an instance of your private VPC. * Security groups on your VPC function serve as a virtual firewall to control * inbound and outbound traffic and provides security for the resources that you’ll * be accessing on the VPC. This ID number is preceded by "sg-", for instance: * "sg-03b388029b0a285ea". For more information, see Security * Groups for your VPC.
*/ inline VpcConfig& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *The ID number for a security group on an instance of your private VPC. * Security groups on your VPC function serve as a virtual firewall to control * inbound and outbound traffic and provides security for the resources that you’ll * be accessing on the VPC. This ID number is preceded by "sg-", for instance: * "sg-03b388029b0a285ea". For more information, see Security * Groups for your VPC.
*/ inline VpcConfig& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *The ID number for a security group on an instance of your private VPC. * Security groups on your VPC function serve as a virtual firewall to control * inbound and outbound traffic and provides security for the resources that you’ll * be accessing on the VPC. This ID number is preceded by "sg-", for instance: * "sg-03b388029b0a285ea". For more information, see Security * Groups for your VPC.
*/ inline VpcConfig& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *The ID for each subnet being used in your private VPC. This subnet is a * subset of the a range of IPv4 addresses used by the VPC and is specific to a * given availability zone in the VPC’s Region. This ID number is preceded by * "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see * VPCs * and Subnets.
*/ inline const Aws::VectorThe ID for each subnet being used in your private VPC. This subnet is a * subset of the a range of IPv4 addresses used by the VPC and is specific to a * given availability zone in the VPC’s Region. This ID number is preceded by * "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see * VPCs * and Subnets.
*/ inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; } /** *The ID for each subnet being used in your private VPC. This subnet is a * subset of the a range of IPv4 addresses used by the VPC and is specific to a * given availability zone in the VPC’s Region. This ID number is preceded by * "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see * VPCs * and Subnets.
*/ inline void SetSubnets(const Aws::VectorThe ID for each subnet being used in your private VPC. This subnet is a * subset of the a range of IPv4 addresses used by the VPC and is specific to a * given availability zone in the VPC’s Region. This ID number is preceded by * "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see * VPCs * and Subnets.
*/ inline void SetSubnets(Aws::VectorThe ID for each subnet being used in your private VPC. This subnet is a * subset of the a range of IPv4 addresses used by the VPC and is specific to a * given availability zone in the VPC’s Region. This ID number is preceded by * "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see * VPCs * and Subnets.
*/ inline VpcConfig& WithSubnets(const Aws::VectorThe ID for each subnet being used in your private VPC. This subnet is a * subset of the a range of IPv4 addresses used by the VPC and is specific to a * given availability zone in the VPC’s Region. This ID number is preceded by * "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see * VPCs * and Subnets.
*/ inline VpcConfig& WithSubnets(Aws::VectorThe ID for each subnet being used in your private VPC. This subnet is a * subset of the a range of IPv4 addresses used by the VPC and is specific to a * given availability zone in the VPC’s Region. This ID number is preceded by * "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see * VPCs * and Subnets.
*/ inline VpcConfig& AddSubnets(const Aws::String& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } /** *The ID for each subnet being used in your private VPC. This subnet is a * subset of the a range of IPv4 addresses used by the VPC and is specific to a * given availability zone in the VPC’s Region. This ID number is preceded by * "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see * VPCs * and Subnets.
*/ inline VpcConfig& AddSubnets(Aws::String&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; } /** *The ID for each subnet being used in your private VPC. This subnet is a * subset of the a range of IPv4 addresses used by the VPC and is specific to a * given availability zone in the VPC’s Region. This ID number is preceded by * "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see * VPCs * and Subnets.
*/ inline VpcConfig& AddSubnets(const char* value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } private: Aws::Vector