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

#include <RedirectActionConfig.h>

Public Member Functions

 RedirectActionConfig ()
 
 RedirectActionConfig (const Aws::Utils::Xml::XmlNode &xmlNode)
 
RedirectActionConfigoperator= (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::StringGetProtocol () const
 
bool ProtocolHasBeenSet () const
 
void SetProtocol (const Aws::String &value)
 
void SetProtocol (Aws::String &&value)
 
void SetProtocol (const char *value)
 
RedirectActionConfigWithProtocol (const Aws::String &value)
 
RedirectActionConfigWithProtocol (Aws::String &&value)
 
RedirectActionConfigWithProtocol (const char *value)
 
const Aws::StringGetPort () const
 
bool PortHasBeenSet () const
 
void SetPort (const Aws::String &value)
 
void SetPort (Aws::String &&value)
 
void SetPort (const char *value)
 
RedirectActionConfigWithPort (const Aws::String &value)
 
RedirectActionConfigWithPort (Aws::String &&value)
 
RedirectActionConfigWithPort (const char *value)
 
const Aws::StringGetHost () const
 
bool HostHasBeenSet () const
 
void SetHost (const Aws::String &value)
 
void SetHost (Aws::String &&value)
 
void SetHost (const char *value)
 
RedirectActionConfigWithHost (const Aws::String &value)
 
RedirectActionConfigWithHost (Aws::String &&value)
 
RedirectActionConfigWithHost (const char *value)
 
const Aws::StringGetPath () const
 
bool PathHasBeenSet () const
 
void SetPath (const Aws::String &value)
 
void SetPath (Aws::String &&value)
 
void SetPath (const char *value)
 
RedirectActionConfigWithPath (const Aws::String &value)
 
RedirectActionConfigWithPath (Aws::String &&value)
 
RedirectActionConfigWithPath (const char *value)
 
const Aws::StringGetQuery () const
 
bool QueryHasBeenSet () const
 
void SetQuery (const Aws::String &value)
 
void SetQuery (Aws::String &&value)
 
void SetQuery (const char *value)
 
RedirectActionConfigWithQuery (const Aws::String &value)
 
RedirectActionConfigWithQuery (Aws::String &&value)
 
RedirectActionConfigWithQuery (const char *value)
 
const RedirectActionStatusCodeEnumGetStatusCode () const
 
bool StatusCodeHasBeenSet () const
 
void SetStatusCode (const RedirectActionStatusCodeEnum &value)
 
void SetStatusCode (RedirectActionStatusCodeEnum &&value)
 
RedirectActionConfigWithStatusCode (const RedirectActionStatusCodeEnum &value)
 
RedirectActionConfigWithStatusCode (RedirectActionStatusCodeEnum &&value)
 

Detailed Description

Information about a redirect action.

A URI consists of the following components: protocol://hostname:port/path?query. You must modify at least one of the following components to avoid a redirect loop: protocol, hostname, port, or path. Any components that you do not modify retain their original values.

You can reuse URI components using the following reserved keywords:

For example, you can change the path to "/new/#{path}", the hostname to "example.#{host}", or the query to "#{query}&amp;value=xyz".

See Also:

AWS API Reference

Definition at line 41 of file RedirectActionConfig.h.

Constructor & Destructor Documentation

◆ RedirectActionConfig() [1/2]

Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::RedirectActionConfig ( )

◆ RedirectActionConfig() [2/2]

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

Member Function Documentation

◆ GetHost()

const Aws::String& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::GetHost ( ) const
inline

The hostname. This component is not percent-encoded. The hostname can contain #{host}.

Definition at line 154 of file RedirectActionConfig.h.

◆ GetPath()

const Aws::String& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::GetPath ( ) const
inline

The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.

Definition at line 203 of file RedirectActionConfig.h.

◆ GetPort()

const Aws::String& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::GetPort ( ) const
inline

The port. You can specify a value from 1 to 65535 or #{port}.

Definition at line 112 of file RedirectActionConfig.h.

◆ GetProtocol()

const Aws::String& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::GetProtocol ( ) const
inline

The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.

Definition at line 57 of file RedirectActionConfig.h.

◆ GetQuery()

const Aws::String& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::GetQuery ( ) const
inline

The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.

Definition at line 253 of file RedirectActionConfig.h.

◆ GetStatusCode()

const RedirectActionStatusCodeEnum& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::GetStatusCode ( ) const
inline

The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).

Definition at line 309 of file RedirectActionConfig.h.

◆ HostHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::HostHasBeenSet ( ) const
inline

The hostname. This component is not percent-encoded. The hostname can contain #{host}.

Definition at line 160 of file RedirectActionConfig.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PathHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::PathHasBeenSet ( ) const
inline

The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.

Definition at line 209 of file RedirectActionConfig.h.

◆ PortHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::PortHasBeenSet ( ) const
inline

The port. You can specify a value from 1 to 65535 or #{port}.

Definition at line 117 of file RedirectActionConfig.h.

◆ ProtocolHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::ProtocolHasBeenSet ( ) const
inline

The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.

Definition at line 64 of file RedirectActionConfig.h.

◆ QueryHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::QueryHasBeenSet ( ) const
inline

The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.

Definition at line 260 of file RedirectActionConfig.h.

◆ SetHost() [1/3]

void Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::SetHost ( Aws::String &&  value)
inline

The hostname. This component is not percent-encoded. The hostname can contain #{host}.

Definition at line 172 of file RedirectActionConfig.h.

◆ SetHost() [2/3]

void Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::SetHost ( const Aws::String value)
inline

The hostname. This component is not percent-encoded. The hostname can contain #{host}.

Definition at line 166 of file RedirectActionConfig.h.

◆ SetHost() [3/3]

void Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::SetHost ( const char *  value)
inline

The hostname. This component is not percent-encoded. The hostname can contain #{host}.

Definition at line 178 of file RedirectActionConfig.h.

◆ SetPath() [1/3]

void Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::SetPath ( Aws::String &&  value)
inline

The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.

Definition at line 221 of file RedirectActionConfig.h.

◆ SetPath() [2/3]

void Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::SetPath ( const Aws::String value)
inline

The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.

Definition at line 215 of file RedirectActionConfig.h.

◆ SetPath() [3/3]

void Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::SetPath ( const char *  value)
inline

The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.

Definition at line 227 of file RedirectActionConfig.h.

◆ SetPort() [1/3]

void Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::SetPort ( Aws::String &&  value)
inline

The port. You can specify a value from 1 to 65535 or #{port}.

Definition at line 127 of file RedirectActionConfig.h.

◆ SetPort() [2/3]

void Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::SetPort ( const Aws::String value)
inline

The port. You can specify a value from 1 to 65535 or #{port}.

Definition at line 122 of file RedirectActionConfig.h.

◆ SetPort() [3/3]

void Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::SetPort ( const char *  value)
inline

The port. You can specify a value from 1 to 65535 or #{port}.

Definition at line 132 of file RedirectActionConfig.h.

◆ SetProtocol() [1/3]

void Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::SetProtocol ( Aws::String &&  value)
inline

The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.

Definition at line 78 of file RedirectActionConfig.h.

◆ SetProtocol() [2/3]

void Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::SetProtocol ( const Aws::String value)
inline

The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.

Definition at line 71 of file RedirectActionConfig.h.

◆ SetProtocol() [3/3]

void Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::SetProtocol ( const char *  value)
inline

The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.

Definition at line 85 of file RedirectActionConfig.h.

◆ SetQuery() [1/3]

void Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::SetQuery ( Aws::String &&  value)
inline

The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.

Definition at line 274 of file RedirectActionConfig.h.

◆ SetQuery() [2/3]

void Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::SetQuery ( const Aws::String value)
inline

The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.

Definition at line 267 of file RedirectActionConfig.h.

◆ SetQuery() [3/3]

void Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::SetQuery ( const char *  value)
inline

The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.

Definition at line 281 of file RedirectActionConfig.h.

◆ SetStatusCode() [1/2]

void Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::SetStatusCode ( const RedirectActionStatusCodeEnum value)
inline

The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).

Definition at line 321 of file RedirectActionConfig.h.

◆ SetStatusCode() [2/2]

void Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::SetStatusCode ( RedirectActionStatusCodeEnum &&  value)
inline

The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).

Definition at line 327 of file RedirectActionConfig.h.

◆ StatusCodeHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::StatusCodeHasBeenSet ( ) const
inline

The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).

Definition at line 315 of file RedirectActionConfig.h.

◆ WithHost() [1/3]

RedirectActionConfig& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::WithHost ( Aws::String &&  value)
inline

The hostname. This component is not percent-encoded. The hostname can contain #{host}.

Definition at line 190 of file RedirectActionConfig.h.

◆ WithHost() [2/3]

RedirectActionConfig& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::WithHost ( const Aws::String value)
inline

The hostname. This component is not percent-encoded. The hostname can contain #{host}.

Definition at line 184 of file RedirectActionConfig.h.

◆ WithHost() [3/3]

RedirectActionConfig& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::WithHost ( const char *  value)
inline

The hostname. This component is not percent-encoded. The hostname can contain #{host}.

Definition at line 196 of file RedirectActionConfig.h.

◆ WithPath() [1/3]

RedirectActionConfig& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::WithPath ( Aws::String &&  value)
inline

The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.

Definition at line 239 of file RedirectActionConfig.h.

◆ WithPath() [2/3]

RedirectActionConfig& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::WithPath ( const Aws::String value)
inline

The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.

Definition at line 233 of file RedirectActionConfig.h.

◆ WithPath() [3/3]

RedirectActionConfig& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::WithPath ( const char *  value)
inline

The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.

Definition at line 245 of file RedirectActionConfig.h.

◆ WithPort() [1/3]

RedirectActionConfig& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::WithPort ( Aws::String &&  value)
inline

The port. You can specify a value from 1 to 65535 or #{port}.

Definition at line 142 of file RedirectActionConfig.h.

◆ WithPort() [2/3]

RedirectActionConfig& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::WithPort ( const Aws::String value)
inline

The port. You can specify a value from 1 to 65535 or #{port}.

Definition at line 137 of file RedirectActionConfig.h.

◆ WithPort() [3/3]

RedirectActionConfig& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::WithPort ( const char *  value)
inline

The port. You can specify a value from 1 to 65535 or #{port}.

Definition at line 147 of file RedirectActionConfig.h.

◆ WithProtocol() [1/3]

RedirectActionConfig& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::WithProtocol ( Aws::String &&  value)
inline

The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.

Definition at line 99 of file RedirectActionConfig.h.

◆ WithProtocol() [2/3]

RedirectActionConfig& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::WithProtocol ( const Aws::String value)
inline

The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.

Definition at line 92 of file RedirectActionConfig.h.

◆ WithProtocol() [3/3]

RedirectActionConfig& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::WithProtocol ( const char *  value)
inline

The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.

Definition at line 106 of file RedirectActionConfig.h.

◆ WithQuery() [1/3]

RedirectActionConfig& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::WithQuery ( Aws::String &&  value)
inline

The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.

Definition at line 295 of file RedirectActionConfig.h.

◆ WithQuery() [2/3]

RedirectActionConfig& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::WithQuery ( const Aws::String value)
inline

The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.

Definition at line 288 of file RedirectActionConfig.h.

◆ WithQuery() [3/3]

RedirectActionConfig& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::WithQuery ( const char *  value)
inline

The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.

Definition at line 302 of file RedirectActionConfig.h.

◆ WithStatusCode() [1/2]

RedirectActionConfig& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::WithStatusCode ( const RedirectActionStatusCodeEnum value)
inline

The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).

Definition at line 333 of file RedirectActionConfig.h.

◆ WithStatusCode() [2/2]

RedirectActionConfig& Aws::ElasticLoadBalancingv2::Model::RedirectActionConfig::WithStatusCode ( RedirectActionStatusCodeEnum &&  value)
inline

The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).

Definition at line 339 of file RedirectActionConfig.h.


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