AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::ECS::Model::AwsVpcConfiguration Class Reference

#include <AwsVpcConfiguration.h>

Public Member Functions

 AwsVpcConfiguration ()
 
 AwsVpcConfiguration (Aws::Utils::Json::JsonView jsonValue)
 
AwsVpcConfigurationoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::Vector< Aws::String > & GetSubnets () const
 
bool SubnetsHasBeenSet () const
 
void SetSubnets (const Aws::Vector< Aws::String > &value)
 
void SetSubnets (Aws::Vector< Aws::String > &&value)
 
AwsVpcConfigurationWithSubnets (const Aws::Vector< Aws::String > &value)
 
AwsVpcConfigurationWithSubnets (Aws::Vector< Aws::String > &&value)
 
AwsVpcConfigurationAddSubnets (const Aws::String &value)
 
AwsVpcConfigurationAddSubnets (Aws::String &&value)
 
AwsVpcConfigurationAddSubnets (const char *value)
 
const Aws::Vector< Aws::String > & GetSecurityGroups () const
 
bool SecurityGroupsHasBeenSet () const
 
void SetSecurityGroups (const Aws::Vector< Aws::String > &value)
 
void SetSecurityGroups (Aws::Vector< Aws::String > &&value)
 
AwsVpcConfigurationWithSecurityGroups (const Aws::Vector< Aws::String > &value)
 
AwsVpcConfigurationWithSecurityGroups (Aws::Vector< Aws::String > &&value)
 
AwsVpcConfigurationAddSecurityGroups (const Aws::String &value)
 
AwsVpcConfigurationAddSecurityGroups (Aws::String &&value)
 
AwsVpcConfigurationAddSecurityGroups (const char *value)
 
const AssignPublicIpGetAssignPublicIp () const
 
bool AssignPublicIpHasBeenSet () const
 
void SetAssignPublicIp (const AssignPublicIp &value)
 
void SetAssignPublicIp (AssignPublicIp &&value)
 
AwsVpcConfigurationWithAssignPublicIp (const AssignPublicIp &value)
 
AwsVpcConfigurationWithAssignPublicIp (AssignPublicIp &&value)
 

Detailed Description

An object representing the networking details for a task or service.

See Also:

AWS API Reference

Definition at line 34 of file AwsVpcConfiguration.h.

Constructor & Destructor Documentation

◆ AwsVpcConfiguration() [1/2]

Aws::ECS::Model::AwsVpcConfiguration::AwsVpcConfiguration ( )

◆ AwsVpcConfiguration() [2/2]

Aws::ECS::Model::AwsVpcConfiguration::AwsVpcConfiguration ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddSecurityGroups() [1/3]

AwsVpcConfiguration& Aws::ECS::Model::AwsVpcConfiguration::AddSecurityGroups ( const Aws::String value)
inline

The IDs of the security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration.

All specified security groups must be from the same VPC.

Definition at line 168 of file AwsVpcConfiguration.h.

◆ AddSecurityGroups() [2/3]

AwsVpcConfiguration& Aws::ECS::Model::AwsVpcConfiguration::AddSecurityGroups ( Aws::String &&  value)
inline

The IDs of the security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration.

All specified security groups must be from the same VPC.

Definition at line 177 of file AwsVpcConfiguration.h.

◆ AddSecurityGroups() [3/3]

AwsVpcConfiguration& Aws::ECS::Model::AwsVpcConfiguration::AddSecurityGroups ( const char *  value)
inline

The IDs of the security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration.

All specified security groups must be from the same VPC.

Definition at line 186 of file AwsVpcConfiguration.h.

◆ AddSubnets() [1/3]

AwsVpcConfiguration& Aws::ECS::Model::AwsVpcConfiguration::AddSubnets ( const Aws::String value)
inline

The IDs of the subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration.

All specified subnets must be from the same VPC.

Definition at line 90 of file AwsVpcConfiguration.h.

◆ AddSubnets() [2/3]

AwsVpcConfiguration& Aws::ECS::Model::AwsVpcConfiguration::AddSubnets ( Aws::String &&  value)
inline

The IDs of the subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration.

All specified subnets must be from the same VPC.

Definition at line 97 of file AwsVpcConfiguration.h.

◆ AddSubnets() [3/3]

AwsVpcConfiguration& Aws::ECS::Model::AwsVpcConfiguration::AddSubnets ( const char *  value)
inline

The IDs of the subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration.

All specified subnets must be from the same VPC.

Definition at line 104 of file AwsVpcConfiguration.h.

◆ AssignPublicIpHasBeenSet()

bool Aws::ECS::Model::AwsVpcConfiguration::AssignPublicIpHasBeenSet ( ) const
inline

Whether the task's elastic network interface receives a public IP address. The default value is DISABLED.

Definition at line 199 of file AwsVpcConfiguration.h.

◆ GetAssignPublicIp()

const AssignPublicIp& Aws::ECS::Model::AwsVpcConfiguration::GetAssignPublicIp ( ) const
inline

Whether the task's elastic network interface receives a public IP address. The default value is DISABLED.

Definition at line 193 of file AwsVpcConfiguration.h.

◆ GetSecurityGroups()

const Aws::Vector<Aws::String>& Aws::ECS::Model::AwsVpcConfiguration::GetSecurityGroups ( ) const
inline

The IDs of the security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration.

All specified security groups must be from the same VPC.

Definition at line 114 of file AwsVpcConfiguration.h.

◆ GetSubnets()

const Aws::Vector<Aws::String>& Aws::ECS::Model::AwsVpcConfiguration::GetSubnets ( ) const
inline

The IDs of the subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration.

All specified subnets must be from the same VPC.

Definition at line 48 of file AwsVpcConfiguration.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::ECS::Model::AwsVpcConfiguration::Jsonize ( ) const

◆ operator=()

AwsVpcConfiguration& Aws::ECS::Model::AwsVpcConfiguration::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SecurityGroupsHasBeenSet()

bool Aws::ECS::Model::AwsVpcConfiguration::SecurityGroupsHasBeenSet ( ) const
inline

The IDs of the security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration.

All specified security groups must be from the same VPC.

Definition at line 123 of file AwsVpcConfiguration.h.

◆ SetAssignPublicIp() [1/2]

void Aws::ECS::Model::AwsVpcConfiguration::SetAssignPublicIp ( const AssignPublicIp value)
inline

Whether the task's elastic network interface receives a public IP address. The default value is DISABLED.

Definition at line 205 of file AwsVpcConfiguration.h.

◆ SetAssignPublicIp() [2/2]

void Aws::ECS::Model::AwsVpcConfiguration::SetAssignPublicIp ( AssignPublicIp &&  value)
inline

Whether the task's elastic network interface receives a public IP address. The default value is DISABLED.

Definition at line 211 of file AwsVpcConfiguration.h.

◆ SetSecurityGroups() [1/2]

void Aws::ECS::Model::AwsVpcConfiguration::SetSecurityGroups ( const Aws::Vector< Aws::String > &  value)
inline

The IDs of the security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration.

All specified security groups must be from the same VPC.

Definition at line 132 of file AwsVpcConfiguration.h.

◆ SetSecurityGroups() [2/2]

void Aws::ECS::Model::AwsVpcConfiguration::SetSecurityGroups ( Aws::Vector< Aws::String > &&  value)
inline

The IDs of the security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration.

All specified security groups must be from the same VPC.

Definition at line 141 of file AwsVpcConfiguration.h.

◆ SetSubnets() [1/2]

void Aws::ECS::Model::AwsVpcConfiguration::SetSubnets ( const Aws::Vector< Aws::String > &  value)
inline

The IDs of the subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration.

All specified subnets must be from the same VPC.

Definition at line 62 of file AwsVpcConfiguration.h.

◆ SetSubnets() [2/2]

void Aws::ECS::Model::AwsVpcConfiguration::SetSubnets ( Aws::Vector< Aws::String > &&  value)
inline

The IDs of the subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration.

All specified subnets must be from the same VPC.

Definition at line 69 of file AwsVpcConfiguration.h.

◆ SubnetsHasBeenSet()

bool Aws::ECS::Model::AwsVpcConfiguration::SubnetsHasBeenSet ( ) const
inline

The IDs of the subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration.

All specified subnets must be from the same VPC.

Definition at line 55 of file AwsVpcConfiguration.h.

◆ WithAssignPublicIp() [1/2]

AwsVpcConfiguration& Aws::ECS::Model::AwsVpcConfiguration::WithAssignPublicIp ( const AssignPublicIp value)
inline

Whether the task's elastic network interface receives a public IP address. The default value is DISABLED.

Definition at line 217 of file AwsVpcConfiguration.h.

◆ WithAssignPublicIp() [2/2]

AwsVpcConfiguration& Aws::ECS::Model::AwsVpcConfiguration::WithAssignPublicIp ( AssignPublicIp &&  value)
inline

Whether the task's elastic network interface receives a public IP address. The default value is DISABLED.

Definition at line 223 of file AwsVpcConfiguration.h.

◆ WithSecurityGroups() [1/2]

AwsVpcConfiguration& Aws::ECS::Model::AwsVpcConfiguration::WithSecurityGroups ( const Aws::Vector< Aws::String > &  value)
inline

The IDs of the security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration.

All specified security groups must be from the same VPC.

Definition at line 150 of file AwsVpcConfiguration.h.

◆ WithSecurityGroups() [2/2]

AwsVpcConfiguration& Aws::ECS::Model::AwsVpcConfiguration::WithSecurityGroups ( Aws::Vector< Aws::String > &&  value)
inline

The IDs of the security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration.

All specified security groups must be from the same VPC.

Definition at line 159 of file AwsVpcConfiguration.h.

◆ WithSubnets() [1/2]

AwsVpcConfiguration& Aws::ECS::Model::AwsVpcConfiguration::WithSubnets ( const Aws::Vector< Aws::String > &  value)
inline

The IDs of the subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration.

All specified subnets must be from the same VPC.

Definition at line 76 of file AwsVpcConfiguration.h.

◆ WithSubnets() [2/2]

AwsVpcConfiguration& Aws::ECS::Model::AwsVpcConfiguration::WithSubnets ( Aws::Vector< Aws::String > &&  value)
inline

The IDs of the subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration.

All specified subnets must be from the same VPC.

Definition at line 83 of file AwsVpcConfiguration.h.


The documentation for this class was generated from the following file: