AWS SDK for C++  1.9.108
AWS SDK for C++
Public Member Functions | List of all members
Aws::EC2::Model::IpRange Class Reference

#include <IpRange.h>

Public Member Functions

 IpRange ()
 
 IpRange (const Aws::Utils::Xml::XmlNode &xmlNode)
 
IpRangeoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
const Aws::StringGetCidrIp () const
 
bool CidrIpHasBeenSet () const
 
void SetCidrIp (const Aws::String &value)
 
void SetCidrIp (Aws::String &&value)
 
void SetCidrIp (const char *value)
 
IpRangeWithCidrIp (const Aws::String &value)
 
IpRangeWithCidrIp (Aws::String &&value)
 
IpRangeWithCidrIp (const char *value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
IpRangeWithDescription (const Aws::String &value)
 
IpRangeWithDescription (Aws::String &&value)
 
IpRangeWithDescription (const char *value)
 

Detailed Description

Describes an IPv4 range.

See Also:

AWS API Reference

Definition at line 31 of file IpRange.h.

Constructor & Destructor Documentation

◆ IpRange() [1/2]

Aws::EC2::Model::IpRange::IpRange ( )

◆ IpRange() [2/2]

Aws::EC2::Model::IpRange::IpRange ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ CidrIpHasBeenSet()

bool Aws::EC2::Model::IpRange::CidrIpHasBeenSet ( ) const
inline

The IPv4 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv4 address, use the /32 prefix length.

Definition at line 54 of file IpRange.h.

◆ DescriptionHasBeenSet()

bool Aws::EC2::Model::IpRange::DescriptionHasBeenSet ( ) const
inline

A description for the security group rule that references this IPv4 address range.

Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 111 of file IpRange.h.

◆ GetCidrIp()

const Aws::String& Aws::EC2::Model::IpRange::GetCidrIp ( ) const
inline

The IPv4 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv4 address, use the /32 prefix length.

Definition at line 47 of file IpRange.h.

◆ GetDescription()

const Aws::String& Aws::EC2::Model::IpRange::GetDescription ( ) const
inline

A description for the security group rule that references this IPv4 address range.

Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 104 of file IpRange.h.

◆ operator=()

IpRange& Aws::EC2::Model::IpRange::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::EC2::Model::IpRange::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

void Aws::EC2::Model::IpRange::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ SetCidrIp() [1/3]

void Aws::EC2::Model::IpRange::SetCidrIp ( Aws::String &&  value)
inline

The IPv4 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv4 address, use the /32 prefix length.

Definition at line 68 of file IpRange.h.

◆ SetCidrIp() [2/3]

void Aws::EC2::Model::IpRange::SetCidrIp ( const Aws::String value)
inline

The IPv4 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv4 address, use the /32 prefix length.

Definition at line 61 of file IpRange.h.

◆ SetCidrIp() [3/3]

void Aws::EC2::Model::IpRange::SetCidrIp ( const char *  value)
inline

The IPv4 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv4 address, use the /32 prefix length.

Definition at line 75 of file IpRange.h.

◆ SetDescription() [1/3]

void Aws::EC2::Model::IpRange::SetDescription ( Aws::String &&  value)
inline

A description for the security group rule that references this IPv4 address range.

Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 125 of file IpRange.h.

◆ SetDescription() [2/3]

void Aws::EC2::Model::IpRange::SetDescription ( const Aws::String value)
inline

A description for the security group rule that references this IPv4 address range.

Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 118 of file IpRange.h.

◆ SetDescription() [3/3]

void Aws::EC2::Model::IpRange::SetDescription ( const char *  value)
inline

A description for the security group rule that references this IPv4 address range.

Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 132 of file IpRange.h.

◆ WithCidrIp() [1/3]

IpRange& Aws::EC2::Model::IpRange::WithCidrIp ( Aws::String &&  value)
inline

The IPv4 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv4 address, use the /32 prefix length.

Definition at line 89 of file IpRange.h.

◆ WithCidrIp() [2/3]

IpRange& Aws::EC2::Model::IpRange::WithCidrIp ( const Aws::String value)
inline

The IPv4 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv4 address, use the /32 prefix length.

Definition at line 82 of file IpRange.h.

◆ WithCidrIp() [3/3]

IpRange& Aws::EC2::Model::IpRange::WithCidrIp ( const char *  value)
inline

The IPv4 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv4 address, use the /32 prefix length.

Definition at line 96 of file IpRange.h.

◆ WithDescription() [1/3]

IpRange& Aws::EC2::Model::IpRange::WithDescription ( Aws::String &&  value)
inline

A description for the security group rule that references this IPv4 address range.

Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 146 of file IpRange.h.

◆ WithDescription() [2/3]

IpRange& Aws::EC2::Model::IpRange::WithDescription ( const Aws::String value)
inline

A description for the security group rule that references this IPv4 address range.

Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 139 of file IpRange.h.

◆ WithDescription() [3/3]

IpRange& Aws::EC2::Model::IpRange::WithDescription ( const char *  value)
inline

A description for the security group rule that references this IPv4 address range.

Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 153 of file IpRange.h.


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