/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include If your simulation job accesses resources in a VPC, you provide this
* parameter identifying the list of security group IDs and subnet IDs. These must
* belong to the same VPC. You must provide at least one security group and two
* subnet IDs.See Also:
AWS
* API Reference
A list of one or more subnet IDs in your VPC.
*/ inline const Aws::VectorA list of one or more subnet IDs in your VPC.
*/ inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; } /** *A list of one or more subnet IDs in your VPC.
*/ inline void SetSubnets(const Aws::VectorA list of one or more subnet IDs in your VPC.
*/ inline void SetSubnets(Aws::VectorA list of one or more subnet IDs in your VPC.
*/ inline VPCConfig& WithSubnets(const Aws::VectorA list of one or more subnet IDs in your VPC.
*/ inline VPCConfig& WithSubnets(Aws::VectorA list of one or more subnet IDs in your 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 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 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 VPC.
*/ inline const Aws::VectorA list of one or more security groups IDs in your VPC.
*/ inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; } /** *A list of one or more security groups IDs in your VPC.
*/ inline void SetSecurityGroups(const Aws::VectorA list of one or more security groups IDs in your VPC.
*/ inline void SetSecurityGroups(Aws::VectorA list of one or more security groups IDs in your VPC.
*/ inline VPCConfig& WithSecurityGroups(const Aws::VectorA list of one or more security groups IDs in your VPC.
*/ inline VPCConfig& WithSecurityGroups(Aws::VectorA list of one or more security groups IDs in your VPC.
*/ inline VPCConfig& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } /** *A list of one or more security groups IDs in your VPC.
*/ inline VPCConfig& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; } /** *A list of one or more security groups IDs in your VPC.
*/ inline VPCConfig& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } /** *A boolean indicating whether to assign a public IP address.
*/ inline bool GetAssignPublicIp() const{ return m_assignPublicIp; } /** *A boolean indicating whether to assign a public IP address.
*/ inline bool AssignPublicIpHasBeenSet() const { return m_assignPublicIpHasBeenSet; } /** *A boolean indicating whether to assign a public IP address.
*/ inline void SetAssignPublicIp(bool value) { m_assignPublicIpHasBeenSet = true; m_assignPublicIp = value; } /** *A boolean indicating whether to assign a public IP address.
*/ inline VPCConfig& WithAssignPublicIp(bool value) { SetAssignPublicIp(value); return *this;} private: Aws::Vector