/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object representing the networking details for a task or
* service.See Also:
AWS
* API Reference
The IDs of the subnets associated with the task or service. There's a limit
* of 16 subnets that can be specified per AwsVpcConfiguration
.
All specified subnets must be from the same VPC.
*/ inline const Aws::VectorThe IDs of the subnets associated with the task or service. There's a limit
* of 16 subnets that can be specified per AwsVpcConfiguration
.
All specified subnets must be from the same VPC.
*/ inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; } /** *The IDs of the subnets associated with the task or service. There's a limit
* of 16 subnets that can be specified per AwsVpcConfiguration
.
All specified subnets must be from the same VPC.
*/ inline void SetSubnets(const Aws::VectorThe IDs of the subnets associated with the task or service. There's a limit
* of 16 subnets that can be specified per AwsVpcConfiguration
.
All specified subnets must be from the same VPC.
*/ inline void SetSubnets(Aws::VectorThe IDs of the subnets associated with the task or service. There's a limit
* of 16 subnets that can be specified per AwsVpcConfiguration
.
All specified subnets must be from the same VPC.
*/ inline AwsVpcConfiguration& WithSubnets(const Aws::VectorThe IDs of the subnets associated with the task or service. There's a limit
* of 16 subnets that can be specified per AwsVpcConfiguration
.
All specified subnets must be from the same VPC.
*/ inline AwsVpcConfiguration& WithSubnets(Aws::VectorThe IDs of the subnets associated with the task or service. There's a limit
* of 16 subnets that can be specified per AwsVpcConfiguration
.
All specified subnets must be from the same VPC.
*/ inline AwsVpcConfiguration& AddSubnets(const Aws::String& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } /** *The IDs of the subnets associated with the task or service. There's a limit
* of 16 subnets that can be specified per AwsVpcConfiguration
.
All specified subnets must be from the same VPC.
*/ inline AwsVpcConfiguration& AddSubnets(Aws::String&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; } /** *The IDs of the subnets associated with the task or service. There's a limit
* of 16 subnets that can be specified per AwsVpcConfiguration
.
All specified subnets must be from the same VPC.
*/ inline AwsVpcConfiguration& AddSubnets(const char* value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } /** *The IDs of the security groups associated with the task or service. If you
* don't specify a security group, the default security group for the VPC is used.
* There's a limit of 5 security groups that can be specified per
* AwsVpcConfiguration
.
All specified security groups * must be from the same VPC.
*/ inline const Aws::VectorThe IDs of the security groups associated with the task or service. If you
* don't specify a security group, the default security group for the VPC is used.
* There's a limit of 5 security groups that can be specified per
* AwsVpcConfiguration
.
All specified security groups * must be from the same VPC.
*/ inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; } /** *The IDs of the security groups associated with the task or service. If you
* don't specify a security group, the default security group for the VPC is used.
* There's a limit of 5 security groups that can be specified per
* AwsVpcConfiguration
.
All specified security groups * must be from the same VPC.
*/ inline void SetSecurityGroups(const Aws::VectorThe IDs of the security groups associated with the task or service. If you
* don't specify a security group, the default security group for the VPC is used.
* There's a limit of 5 security groups that can be specified per
* AwsVpcConfiguration
.
All specified security groups * must be from the same VPC.
*/ inline void SetSecurityGroups(Aws::VectorThe IDs of the security groups associated with the task or service. If you
* don't specify a security group, the default security group for the VPC is used.
* There's a limit of 5 security groups that can be specified per
* AwsVpcConfiguration
.
All specified security groups * must be from the same VPC.
*/ inline AwsVpcConfiguration& WithSecurityGroups(const Aws::VectorThe IDs of the security groups associated with the task or service. If you
* don't specify a security group, the default security group for the VPC is used.
* There's a limit of 5 security groups that can be specified per
* AwsVpcConfiguration
.
All specified security groups * must be from the same VPC.
*/ inline AwsVpcConfiguration& WithSecurityGroups(Aws::VectorThe IDs of the security groups associated with the task or service. If you
* don't specify a security group, the default security group for the VPC is used.
* There's a limit of 5 security groups that can be specified per
* AwsVpcConfiguration
.
All specified security groups * must be from the same VPC.
*/ inline AwsVpcConfiguration& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } /** *The IDs of the security groups associated with the task or service. If you
* don't specify a security group, the default security group for the VPC is used.
* There's a limit of 5 security groups that can be specified per
* AwsVpcConfiguration
.
All specified security groups * must be from the same VPC.
*/ inline AwsVpcConfiguration& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; } /** *The IDs of the security groups associated with the task or service. If you
* don't specify a security group, the default security group for the VPC is used.
* There's a limit of 5 security groups that can be specified per
* AwsVpcConfiguration
.
All specified security groups * must be from the same VPC.
*/ inline AwsVpcConfiguration& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } /** *Whether the task's elastic network interface receives a public IP address.
* The default value is DISABLED
.
Whether the task's elastic network interface receives a public IP address.
* The default value is DISABLED
.
Whether the task's elastic network interface receives a public IP address.
* The default value is DISABLED
.
Whether the task's elastic network interface receives a public IP address.
* The default value is DISABLED
.
Whether the task's elastic network interface receives a public IP address.
* The default value is DISABLED
.
Whether the task's elastic network interface receives a public IP address.
* The default value is DISABLED
.