AWS SDK for C++  1.8.74
AWS SDK for C++
Public Member Functions | List of all members
Aws::ElasticLoadBalancingv2::Model::RuleCondition Class Reference

#include <RuleCondition.h>

Public Member Functions

 RuleCondition ()
 
 RuleCondition (const Aws::Utils::Xml::XmlNode &xmlNode)
 
RuleConditionoperator= (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::StringGetField () const
 
bool FieldHasBeenSet () const
 
void SetField (const Aws::String &value)
 
void SetField (Aws::String &&value)
 
void SetField (const char *value)
 
RuleConditionWithField (const Aws::String &value)
 
RuleConditionWithField (Aws::String &&value)
 
RuleConditionWithField (const char *value)
 
const Aws::Vector< Aws::String > & GetValues () const
 
bool ValuesHasBeenSet () const
 
void SetValues (const Aws::Vector< Aws::String > &value)
 
void SetValues (Aws::Vector< Aws::String > &&value)
 
RuleConditionWithValues (const Aws::Vector< Aws::String > &value)
 
RuleConditionWithValues (Aws::Vector< Aws::String > &&value)
 
RuleConditionAddValues (const Aws::String &value)
 
RuleConditionAddValues (Aws::String &&value)
 
RuleConditionAddValues (const char *value)
 
const HostHeaderConditionConfigGetHostHeaderConfig () const
 
bool HostHeaderConfigHasBeenSet () const
 
void SetHostHeaderConfig (const HostHeaderConditionConfig &value)
 
void SetHostHeaderConfig (HostHeaderConditionConfig &&value)
 
RuleConditionWithHostHeaderConfig (const HostHeaderConditionConfig &value)
 
RuleConditionWithHostHeaderConfig (HostHeaderConditionConfig &&value)
 
const PathPatternConditionConfigGetPathPatternConfig () const
 
bool PathPatternConfigHasBeenSet () const
 
void SetPathPatternConfig (const PathPatternConditionConfig &value)
 
void SetPathPatternConfig (PathPatternConditionConfig &&value)
 
RuleConditionWithPathPatternConfig (const PathPatternConditionConfig &value)
 
RuleConditionWithPathPatternConfig (PathPatternConditionConfig &&value)
 
const HttpHeaderConditionConfigGetHttpHeaderConfig () const
 
bool HttpHeaderConfigHasBeenSet () const
 
void SetHttpHeaderConfig (const HttpHeaderConditionConfig &value)
 
void SetHttpHeaderConfig (HttpHeaderConditionConfig &&value)
 
RuleConditionWithHttpHeaderConfig (const HttpHeaderConditionConfig &value)
 
RuleConditionWithHttpHeaderConfig (HttpHeaderConditionConfig &&value)
 
const QueryStringConditionConfigGetQueryStringConfig () const
 
bool QueryStringConfigHasBeenSet () const
 
void SetQueryStringConfig (const QueryStringConditionConfig &value)
 
void SetQueryStringConfig (QueryStringConditionConfig &&value)
 
RuleConditionWithQueryStringConfig (const QueryStringConditionConfig &value)
 
RuleConditionWithQueryStringConfig (QueryStringConditionConfig &&value)
 
const HttpRequestMethodConditionConfigGetHttpRequestMethodConfig () const
 
bool HttpRequestMethodConfigHasBeenSet () const
 
void SetHttpRequestMethodConfig (const HttpRequestMethodConditionConfig &value)
 
void SetHttpRequestMethodConfig (HttpRequestMethodConditionConfig &&value)
 
RuleConditionWithHttpRequestMethodConfig (const HttpRequestMethodConditionConfig &value)
 
RuleConditionWithHttpRequestMethodConfig (HttpRequestMethodConditionConfig &&value)
 
const SourceIpConditionConfigGetSourceIpConfig () const
 
bool SourceIpConfigHasBeenSet () const
 
void SetSourceIpConfig (const SourceIpConditionConfig &value)
 
void SetSourceIpConfig (SourceIpConditionConfig &&value)
 
RuleConditionWithSourceIpConfig (const SourceIpConditionConfig &value)
 
RuleConditionWithSourceIpConfig (SourceIpConditionConfig &&value)
 

Detailed Description

Information about a condition for a rule.

Each rule can optionally include up to one of each of the following conditions: http-request-method, host-header, path-pattern, and source-ip. Each rule can also optionally include one or more of each of the following conditions: http-header and query-string.

See Also:

AWS API Reference

Definition at line 44 of file RuleCondition.h.

Constructor & Destructor Documentation

◆ RuleCondition() [1/2]

Aws::ElasticLoadBalancingv2::Model::RuleCondition::RuleCondition ( )

◆ RuleCondition() [2/2]

Aws::ElasticLoadBalancingv2::Model::RuleCondition::RuleCondition ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddValues() [1/3]

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::AddValues ( const Aws::String value)
inline

The condition value. Specify only when Field is host-header or path-pattern. Alternatively, to specify multiple host names or multiple path patterns, use HostHeaderConfig or PathPatternConfig.

If Field is host-header and you are not using HostHeaderConfig, you can specify a single host name (for example, my.example.com) in Values. A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters.

  • A-Z, a-z, 0-9

  • - .

  • * (matches 0 or more characters)

  • ? (matches exactly 1 character)

If Field is path-pattern and you are not using PathPatternConfig, you can specify a single path pattern (for example, /img/ *) in Values. A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.

  • A-Z, a-z, 0-9

  • _ - . $ / ~ " ' @ : +

  • & (using &amp;)

  • * (matches 0 or more characters)

  • ? (matches exactly 1 character)

Definition at line 288 of file RuleCondition.h.

◆ AddValues() [2/3]

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::AddValues ( Aws::String &&  value)
inline

The condition value. Specify only when Field is host-header or path-pattern. Alternatively, to specify multiple host names or multiple path patterns, use HostHeaderConfig or PathPatternConfig.

If Field is host-header and you are not using HostHeaderConfig, you can specify a single host name (for example, my.example.com) in Values. A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters.

  • A-Z, a-z, 0-9

  • - .

  • * (matches 0 or more characters)

  • ? (matches exactly 1 character)

If Field is path-pattern and you are not using PathPatternConfig, you can specify a single path pattern (for example, /img/ *) in Values. A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.

  • A-Z, a-z, 0-9

  • _ - . $ / ~ " ' @ : +

  • & (using &amp;)

  • * (matches 0 or more characters)

  • ? (matches exactly 1 character)

Definition at line 310 of file RuleCondition.h.

◆ AddValues() [3/3]

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::AddValues ( const char *  value)
inline

The condition value. Specify only when Field is host-header or path-pattern. Alternatively, to specify multiple host names or multiple path patterns, use HostHeaderConfig or PathPatternConfig.

If Field is host-header and you are not using HostHeaderConfig, you can specify a single host name (for example, my.example.com) in Values. A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters.

  • A-Z, a-z, 0-9

  • - .

  • * (matches 0 or more characters)

  • ? (matches exactly 1 character)

If Field is path-pattern and you are not using PathPatternConfig, you can specify a single path pattern (for example, /img/ *) in Values. A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.

  • A-Z, a-z, 0-9

  • _ - . $ / ~ " ' @ : +

  • & (using &amp;)

  • * (matches 0 or more characters)

  • ? (matches exactly 1 character)

Definition at line 332 of file RuleCondition.h.

◆ FieldHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::RuleCondition::FieldHasBeenSet ( ) const
inline

The field in the HTTP request. The following are the possible values:

  • http-header

  • http-request-method

  • host-header

  • path-pattern

  • query-string

  • source-ip

Definition at line 73 of file RuleCondition.h.

◆ GetField()

const Aws::String& Aws::ElasticLoadBalancingv2::Model::RuleCondition::GetField ( ) const
inline

The field in the HTTP request. The following are the possible values:

  • http-header

  • http-request-method

  • host-header

  • path-pattern

  • query-string

  • source-ip

Definition at line 63 of file RuleCondition.h.

◆ GetHostHeaderConfig()

const HostHeaderConditionConfig& Aws::ElasticLoadBalancingv2::Model::RuleCondition::GetHostHeaderConfig ( ) const
inline

Information for a host header condition. Specify only when Field is host-header.

Definition at line 339 of file RuleCondition.h.

◆ GetHttpHeaderConfig()

const HttpHeaderConditionConfig& Aws::ElasticLoadBalancingv2::Model::RuleCondition::GetHttpHeaderConfig ( ) const
inline

Information for an HTTP header condition. Specify only when Field is http-header.

Definition at line 413 of file RuleCondition.h.

◆ GetHttpRequestMethodConfig()

const HttpRequestMethodConditionConfig& Aws::ElasticLoadBalancingv2::Model::RuleCondition::GetHttpRequestMethodConfig ( ) const
inline

Information for an HTTP method condition. Specify only when Field is http-request-method.

Definition at line 487 of file RuleCondition.h.

◆ GetPathPatternConfig()

const PathPatternConditionConfig& Aws::ElasticLoadBalancingv2::Model::RuleCondition::GetPathPatternConfig ( ) const
inline

Information for a path pattern condition. Specify only when Field is path-pattern.

Definition at line 376 of file RuleCondition.h.

◆ GetQueryStringConfig()

const QueryStringConditionConfig& Aws::ElasticLoadBalancingv2::Model::RuleCondition::GetQueryStringConfig ( ) const
inline

Information for a query string condition. Specify only when Field is query-string.

Definition at line 450 of file RuleCondition.h.

◆ GetSourceIpConfig()

const SourceIpConditionConfig& Aws::ElasticLoadBalancingv2::Model::RuleCondition::GetSourceIpConfig ( ) const
inline

Information for a source IP condition. Specify only when Field is source-ip.

Definition at line 524 of file RuleCondition.h.

◆ GetValues()

const Aws::Vector<Aws::String>& Aws::ElasticLoadBalancingv2::Model::RuleCondition::GetValues ( ) const
inline

The condition value. Specify only when Field is host-header or path-pattern. Alternatively, to specify multiple host names or multiple path patterns, use HostHeaderConfig or PathPatternConfig.

If Field is host-header and you are not using HostHeaderConfig, you can specify a single host name (for example, my.example.com) in Values. A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters.

  • A-Z, a-z, 0-9

  • - .

  • * (matches 0 or more characters)

  • ? (matches exactly 1 character)

If Field is path-pattern and you are not using PathPatternConfig, you can specify a single path pattern (for example, /img/ *) in Values. A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.

  • A-Z, a-z, 0-9

  • _ - . $ / ~ " ' @ : +

  • & (using &amp;)

  • * (matches 0 or more characters)

  • ? (matches exactly 1 character)

Definition at line 156 of file RuleCondition.h.

◆ HostHeaderConfigHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::RuleCondition::HostHeaderConfigHasBeenSet ( ) const
inline

Information for a host header condition. Specify only when Field is host-header.

Definition at line 345 of file RuleCondition.h.

◆ HttpHeaderConfigHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::RuleCondition::HttpHeaderConfigHasBeenSet ( ) const
inline

Information for an HTTP header condition. Specify only when Field is http-header.

Definition at line 419 of file RuleCondition.h.

◆ HttpRequestMethodConfigHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::RuleCondition::HttpRequestMethodConfigHasBeenSet ( ) const
inline

Information for an HTTP method condition. Specify only when Field is http-request-method.

Definition at line 493 of file RuleCondition.h.

◆ operator=()

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

void Aws::ElasticLoadBalancingv2::Model::RuleCondition::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ PathPatternConfigHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::RuleCondition::PathPatternConfigHasBeenSet ( ) const
inline

Information for a path pattern condition. Specify only when Field is path-pattern.

Definition at line 382 of file RuleCondition.h.

◆ QueryStringConfigHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::RuleCondition::QueryStringConfigHasBeenSet ( ) const
inline

Information for a query string condition. Specify only when Field is query-string.

Definition at line 456 of file RuleCondition.h.

◆ SetField() [1/3]

void Aws::ElasticLoadBalancingv2::Model::RuleCondition::SetField ( const Aws::String value)
inline

The field in the HTTP request. The following are the possible values:

  • http-header

  • http-request-method

  • host-header

  • path-pattern

  • query-string

  • source-ip

Definition at line 83 of file RuleCondition.h.

◆ SetField() [2/3]

void Aws::ElasticLoadBalancingv2::Model::RuleCondition::SetField ( Aws::String &&  value)
inline

The field in the HTTP request. The following are the possible values:

  • http-header

  • http-request-method

  • host-header

  • path-pattern

  • query-string

  • source-ip

Definition at line 93 of file RuleCondition.h.

◆ SetField() [3/3]

void Aws::ElasticLoadBalancingv2::Model::RuleCondition::SetField ( const char *  value)
inline

The field in the HTTP request. The following are the possible values:

  • http-header

  • http-request-method

  • host-header

  • path-pattern

  • query-string

  • source-ip

Definition at line 103 of file RuleCondition.h.

◆ SetHostHeaderConfig() [1/2]

void Aws::ElasticLoadBalancingv2::Model::RuleCondition::SetHostHeaderConfig ( const HostHeaderConditionConfig value)
inline

Information for a host header condition. Specify only when Field is host-header.

Definition at line 351 of file RuleCondition.h.

◆ SetHostHeaderConfig() [2/2]

void Aws::ElasticLoadBalancingv2::Model::RuleCondition::SetHostHeaderConfig ( HostHeaderConditionConfig &&  value)
inline

Information for a host header condition. Specify only when Field is host-header.

Definition at line 357 of file RuleCondition.h.

◆ SetHttpHeaderConfig() [1/2]

void Aws::ElasticLoadBalancingv2::Model::RuleCondition::SetHttpHeaderConfig ( const HttpHeaderConditionConfig value)
inline

Information for an HTTP header condition. Specify only when Field is http-header.

Definition at line 425 of file RuleCondition.h.

◆ SetHttpHeaderConfig() [2/2]

void Aws::ElasticLoadBalancingv2::Model::RuleCondition::SetHttpHeaderConfig ( HttpHeaderConditionConfig &&  value)
inline

Information for an HTTP header condition. Specify only when Field is http-header.

Definition at line 431 of file RuleCondition.h.

◆ SetHttpRequestMethodConfig() [1/2]

void Aws::ElasticLoadBalancingv2::Model::RuleCondition::SetHttpRequestMethodConfig ( const HttpRequestMethodConditionConfig value)
inline

Information for an HTTP method condition. Specify only when Field is http-request-method.

Definition at line 499 of file RuleCondition.h.

◆ SetHttpRequestMethodConfig() [2/2]

void Aws::ElasticLoadBalancingv2::Model::RuleCondition::SetHttpRequestMethodConfig ( HttpRequestMethodConditionConfig &&  value)
inline

Information for an HTTP method condition. Specify only when Field is http-request-method.

Definition at line 505 of file RuleCondition.h.

◆ SetPathPatternConfig() [1/2]

void Aws::ElasticLoadBalancingv2::Model::RuleCondition::SetPathPatternConfig ( const PathPatternConditionConfig value)
inline

Information for a path pattern condition. Specify only when Field is path-pattern.

Definition at line 388 of file RuleCondition.h.

◆ SetPathPatternConfig() [2/2]

void Aws::ElasticLoadBalancingv2::Model::RuleCondition::SetPathPatternConfig ( PathPatternConditionConfig &&  value)
inline

Information for a path pattern condition. Specify only when Field is path-pattern.

Definition at line 394 of file RuleCondition.h.

◆ SetQueryStringConfig() [1/2]

void Aws::ElasticLoadBalancingv2::Model::RuleCondition::SetQueryStringConfig ( const QueryStringConditionConfig value)
inline

Information for a query string condition. Specify only when Field is query-string.

Definition at line 462 of file RuleCondition.h.

◆ SetQueryStringConfig() [2/2]

void Aws::ElasticLoadBalancingv2::Model::RuleCondition::SetQueryStringConfig ( QueryStringConditionConfig &&  value)
inline

Information for a query string condition. Specify only when Field is query-string.

Definition at line 468 of file RuleCondition.h.

◆ SetSourceIpConfig() [1/2]

void Aws::ElasticLoadBalancingv2::Model::RuleCondition::SetSourceIpConfig ( const SourceIpConditionConfig value)
inline

Information for a source IP condition. Specify only when Field is source-ip.

Definition at line 536 of file RuleCondition.h.

◆ SetSourceIpConfig() [2/2]

void Aws::ElasticLoadBalancingv2::Model::RuleCondition::SetSourceIpConfig ( SourceIpConditionConfig &&  value)
inline

Information for a source IP condition. Specify only when Field is source-ip.

Definition at line 542 of file RuleCondition.h.

◆ SetValues() [1/2]

void Aws::ElasticLoadBalancingv2::Model::RuleCondition::SetValues ( const Aws::Vector< Aws::String > &  value)
inline

The condition value. Specify only when Field is host-header or path-pattern. Alternatively, to specify multiple host names or multiple path patterns, use HostHeaderConfig or PathPatternConfig.

If Field is host-header and you are not using HostHeaderConfig, you can specify a single host name (for example, my.example.com) in Values. A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters.

  • A-Z, a-z, 0-9

  • - .

  • * (matches 0 or more characters)

  • ? (matches exactly 1 character)

If Field is path-pattern and you are not using PathPatternConfig, you can specify a single path pattern (for example, /img/ *) in Values. A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.

  • A-Z, a-z, 0-9

  • _ - . $ / ~ " ' @ : +

  • & (using &amp;)

  • * (matches 0 or more characters)

  • ? (matches exactly 1 character)

Definition at line 200 of file RuleCondition.h.

◆ SetValues() [2/2]

void Aws::ElasticLoadBalancingv2::Model::RuleCondition::SetValues ( Aws::Vector< Aws::String > &&  value)
inline

The condition value. Specify only when Field is host-header or path-pattern. Alternatively, to specify multiple host names or multiple path patterns, use HostHeaderConfig or PathPatternConfig.

If Field is host-header and you are not using HostHeaderConfig, you can specify a single host name (for example, my.example.com) in Values. A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters.

  • A-Z, a-z, 0-9

  • - .

  • * (matches 0 or more characters)

  • ? (matches exactly 1 character)

If Field is path-pattern and you are not using PathPatternConfig, you can specify a single path pattern (for example, /img/ *) in Values. A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.

  • A-Z, a-z, 0-9

  • _ - . $ / ~ " ' @ : +

  • & (using &amp;)

  • * (matches 0 or more characters)

  • ? (matches exactly 1 character)

Definition at line 222 of file RuleCondition.h.

◆ SourceIpConfigHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::RuleCondition::SourceIpConfigHasBeenSet ( ) const
inline

Information for a source IP condition. Specify only when Field is source-ip.

Definition at line 530 of file RuleCondition.h.

◆ ValuesHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::RuleCondition::ValuesHasBeenSet ( ) const
inline

The condition value. Specify only when Field is host-header or path-pattern. Alternatively, to specify multiple host names or multiple path patterns, use HostHeaderConfig or PathPatternConfig.

If Field is host-header and you are not using HostHeaderConfig, you can specify a single host name (for example, my.example.com) in Values. A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters.

  • A-Z, a-z, 0-9

  • - .

  • * (matches 0 or more characters)

  • ? (matches exactly 1 character)

If Field is path-pattern and you are not using PathPatternConfig, you can specify a single path pattern (for example, /img/ *) in Values. A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.

  • A-Z, a-z, 0-9

  • _ - . $ / ~ " ' @ : +

  • & (using &amp;)

  • * (matches 0 or more characters)

  • ? (matches exactly 1 character)

Definition at line 178 of file RuleCondition.h.

◆ WithField() [1/3]

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::WithField ( const Aws::String value)
inline

The field in the HTTP request. The following are the possible values:

  • http-header

  • http-request-method

  • host-header

  • path-pattern

  • query-string

  • source-ip

Definition at line 113 of file RuleCondition.h.

◆ WithField() [2/3]

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::WithField ( Aws::String &&  value)
inline

The field in the HTTP request. The following are the possible values:

  • http-header

  • http-request-method

  • host-header

  • path-pattern

  • query-string

  • source-ip

Definition at line 123 of file RuleCondition.h.

◆ WithField() [3/3]

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::WithField ( const char *  value)
inline

The field in the HTTP request. The following are the possible values:

  • http-header

  • http-request-method

  • host-header

  • path-pattern

  • query-string

  • source-ip

Definition at line 133 of file RuleCondition.h.

◆ WithHostHeaderConfig() [1/2]

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::WithHostHeaderConfig ( const HostHeaderConditionConfig value)
inline

Information for a host header condition. Specify only when Field is host-header.

Definition at line 363 of file RuleCondition.h.

◆ WithHostHeaderConfig() [2/2]

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::WithHostHeaderConfig ( HostHeaderConditionConfig &&  value)
inline

Information for a host header condition. Specify only when Field is host-header.

Definition at line 369 of file RuleCondition.h.

◆ WithHttpHeaderConfig() [1/2]

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::WithHttpHeaderConfig ( const HttpHeaderConditionConfig value)
inline

Information for an HTTP header condition. Specify only when Field is http-header.

Definition at line 437 of file RuleCondition.h.

◆ WithHttpHeaderConfig() [2/2]

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::WithHttpHeaderConfig ( HttpHeaderConditionConfig &&  value)
inline

Information for an HTTP header condition. Specify only when Field is http-header.

Definition at line 443 of file RuleCondition.h.

◆ WithHttpRequestMethodConfig() [1/2]

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::WithHttpRequestMethodConfig ( const HttpRequestMethodConditionConfig value)
inline

Information for an HTTP method condition. Specify only when Field is http-request-method.

Definition at line 511 of file RuleCondition.h.

◆ WithHttpRequestMethodConfig() [2/2]

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::WithHttpRequestMethodConfig ( HttpRequestMethodConditionConfig &&  value)
inline

Information for an HTTP method condition. Specify only when Field is http-request-method.

Definition at line 517 of file RuleCondition.h.

◆ WithPathPatternConfig() [1/2]

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::WithPathPatternConfig ( const PathPatternConditionConfig value)
inline

Information for a path pattern condition. Specify only when Field is path-pattern.

Definition at line 400 of file RuleCondition.h.

◆ WithPathPatternConfig() [2/2]

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::WithPathPatternConfig ( PathPatternConditionConfig &&  value)
inline

Information for a path pattern condition. Specify only when Field is path-pattern.

Definition at line 406 of file RuleCondition.h.

◆ WithQueryStringConfig() [1/2]

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::WithQueryStringConfig ( const QueryStringConditionConfig value)
inline

Information for a query string condition. Specify only when Field is query-string.

Definition at line 474 of file RuleCondition.h.

◆ WithQueryStringConfig() [2/2]

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::WithQueryStringConfig ( QueryStringConditionConfig &&  value)
inline

Information for a query string condition. Specify only when Field is query-string.

Definition at line 480 of file RuleCondition.h.

◆ WithSourceIpConfig() [1/2]

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::WithSourceIpConfig ( const SourceIpConditionConfig value)
inline

Information for a source IP condition. Specify only when Field is source-ip.

Definition at line 548 of file RuleCondition.h.

◆ WithSourceIpConfig() [2/2]

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::WithSourceIpConfig ( SourceIpConditionConfig &&  value)
inline

Information for a source IP condition. Specify only when Field is source-ip.

Definition at line 554 of file RuleCondition.h.

◆ WithValues() [1/2]

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::WithValues ( const Aws::Vector< Aws::String > &  value)
inline

The condition value. Specify only when Field is host-header or path-pattern. Alternatively, to specify multiple host names or multiple path patterns, use HostHeaderConfig or PathPatternConfig.

If Field is host-header and you are not using HostHeaderConfig, you can specify a single host name (for example, my.example.com) in Values. A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters.

  • A-Z, a-z, 0-9

  • - .

  • * (matches 0 or more characters)

  • ? (matches exactly 1 character)

If Field is path-pattern and you are not using PathPatternConfig, you can specify a single path pattern (for example, /img/ *) in Values. A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.

  • A-Z, a-z, 0-9

  • _ - . $ / ~ " ' @ : +

  • & (using &amp;)

  • * (matches 0 or more characters)

  • ? (matches exactly 1 character)

Definition at line 244 of file RuleCondition.h.

◆ WithValues() [2/2]

RuleCondition& Aws::ElasticLoadBalancingv2::Model::RuleCondition::WithValues ( Aws::Vector< Aws::String > &&  value)
inline

The condition value. Specify only when Field is host-header or path-pattern. Alternatively, to specify multiple host names or multiple path patterns, use HostHeaderConfig or PathPatternConfig.

If Field is host-header and you are not using HostHeaderConfig, you can specify a single host name (for example, my.example.com) in Values. A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters.

  • A-Z, a-z, 0-9

  • - .

  • * (matches 0 or more characters)

  • ? (matches exactly 1 character)

If Field is path-pattern and you are not using PathPatternConfig, you can specify a single path pattern (for example, /img/ *) in Values. A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.

  • A-Z, a-z, 0-9

  • _ - . $ / ~ " ' @ : +

  • & (using &amp;)

  • * (matches 0 or more characters)

  • ? (matches exactly 1 character)

Definition at line 266 of file RuleCondition.h.


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