/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes VPC configuration information for fleets and image
* builders.See Also:
AWS
* API Reference
The identifiers of the subnets to which a network interface is attached from * the fleet instance or image builder instance. Fleet instances use one or more * subnets. Image builder instances use one subnet.
*/ inline const Aws::VectorThe identifiers of the subnets to which a network interface is attached from * the fleet instance or image builder instance. Fleet instances use one or more * subnets. Image builder instances use one subnet.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *The identifiers of the subnets to which a network interface is attached from * the fleet instance or image builder instance. Fleet instances use one or more * subnets. Image builder instances use one subnet.
*/ inline void SetSubnetIds(const Aws::VectorThe identifiers of the subnets to which a network interface is attached from * the fleet instance or image builder instance. Fleet instances use one or more * subnets. Image builder instances use one subnet.
*/ inline void SetSubnetIds(Aws::VectorThe identifiers of the subnets to which a network interface is attached from * the fleet instance or image builder instance. Fleet instances use one or more * subnets. Image builder instances use one subnet.
*/ inline VpcConfig& WithSubnetIds(const Aws::VectorThe identifiers of the subnets to which a network interface is attached from * the fleet instance or image builder instance. Fleet instances use one or more * subnets. Image builder instances use one subnet.
*/ inline VpcConfig& WithSubnetIds(Aws::VectorThe identifiers of the subnets to which a network interface is attached from * the fleet instance or image builder instance. Fleet instances use one or more * subnets. Image builder instances use one subnet.
*/ inline VpcConfig& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The identifiers of the subnets to which a network interface is attached from * the fleet instance or image builder instance. Fleet instances use one or more * subnets. Image builder instances use one subnet.
*/ inline VpcConfig& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *The identifiers of the subnets to which a network interface is attached from * the fleet instance or image builder instance. Fleet instances use one or more * subnets. Image builder instances use one subnet.
*/ inline VpcConfig& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The identifiers of the security groups for the fleet or image builder.
*/ inline const Aws::VectorThe identifiers of the security groups for the fleet or image builder.
*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *The identifiers of the security groups for the fleet or image builder.
*/ inline void SetSecurityGroupIds(const Aws::VectorThe identifiers of the security groups for the fleet or image builder.
*/ inline void SetSecurityGroupIds(Aws::VectorThe identifiers of the security groups for the fleet or image builder.
*/ inline VpcConfig& WithSecurityGroupIds(const Aws::VectorThe identifiers of the security groups for the fleet or image builder.
*/ inline VpcConfig& WithSecurityGroupIds(Aws::VectorThe identifiers of the security groups for the fleet or image builder.
*/ inline VpcConfig& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *The identifiers of the security groups for the fleet or image builder.
*/ inline VpcConfig& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *The identifiers of the security groups for the fleet or image builder.
*/ inline VpcConfig& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } private: Aws::Vector