/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include For tasks that use the awsvpc
networking mode, the VPC subnet
* and security group configuration.See Also:
AWS
* API Reference
Whether the task's elastic network interface receives a public IP address.
* The default value is DISABLED
.
Valid values:
* ENABLED
| DISABLED
Whether the task's elastic network interface receives a public IP address.
* The default value is DISABLED
.
Valid values:
* ENABLED
| DISABLED
Whether the task's elastic network interface receives a public IP address.
* The default value is DISABLED
.
Valid values:
* ENABLED
| DISABLED
Whether the task's elastic network interface receives a public IP address.
* The default value is DISABLED
.
Valid values:
* ENABLED
| DISABLED
Whether the task's elastic network interface receives a public IP address.
* The default value is DISABLED
.
Valid values:
* ENABLED
| DISABLED
Whether the task's elastic network interface receives a public IP address.
* The default value is DISABLED
.
Valid values:
* ENABLED
| DISABLED
Whether the task's elastic network interface receives a public IP address.
* The default value is DISABLED
.
Valid values:
* ENABLED
| DISABLED
Whether the task's elastic network interface receives a public IP address.
* The default value is DISABLED
.
Valid values:
* ENABLED
| DISABLED
The IDs of the security groups associated with the task or service.
*You can provide up to five security groups.
*/ inline const Aws::VectorThe IDs of the security groups associated with the task or service.
*You can provide up to five security groups.
*/ inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; } /** *The IDs of the security groups associated with the task or service.
*You can provide up to five security groups.
*/ inline void SetSecurityGroups(const Aws::VectorThe IDs of the security groups associated with the task or service.
*You can provide up to five security groups.
*/ inline void SetSecurityGroups(Aws::VectorThe IDs of the security groups associated with the task or service.
*You can provide up to five security groups.
*/ inline AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails& WithSecurityGroups(const Aws::VectorThe IDs of the security groups associated with the task or service.
*You can provide up to five security groups.
*/ inline AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails& WithSecurityGroups(Aws::VectorThe IDs of the security groups associated with the task or service.
*You can provide up to five security groups.
*/ inline AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails& 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.
*You can provide up to five security groups.
*/ inline AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails& 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.
*You can provide up to five security groups.
*/ inline AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } /** *The IDs of the subnets associated with the task or service.
You can * provide up to 16 subnets.
*/ inline const Aws::VectorThe IDs of the subnets associated with the task or service.
You can * provide up to 16 subnets.
*/ inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; } /** *The IDs of the subnets associated with the task or service.
You can * provide up to 16 subnets.
*/ inline void SetSubnets(const Aws::VectorThe IDs of the subnets associated with the task or service.
You can * provide up to 16 subnets.
*/ inline void SetSubnets(Aws::VectorThe IDs of the subnets associated with the task or service.
You can * provide up to 16 subnets.
*/ inline AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails& WithSubnets(const Aws::VectorThe IDs of the subnets associated with the task or service.
You can * provide up to 16 subnets.
*/ inline AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails& WithSubnets(Aws::VectorThe IDs of the subnets associated with the task or service.
You can * provide up to 16 subnets.
*/ inline AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails& 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.
You can * provide up to 16 subnets.
*/ inline AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails& 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.
You can * provide up to 16 subnets.
*/ inline AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails& AddSubnets(const char* value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } private: Aws::String m_assignPublicIp; bool m_assignPublicIpHasBeenSet = false; Aws::Vector