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

#include <HttpRouteMatch.h>

Public Member Functions

 HttpRouteMatch ()
 
 HttpRouteMatch (Aws::Utils::Json::JsonView jsonValue)
 
HttpRouteMatchoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::Vector< HttpRouteHeader > & GetHeaders () const
 
bool HeadersHasBeenSet () const
 
void SetHeaders (const Aws::Vector< HttpRouteHeader > &value)
 
void SetHeaders (Aws::Vector< HttpRouteHeader > &&value)
 
HttpRouteMatchWithHeaders (const Aws::Vector< HttpRouteHeader > &value)
 
HttpRouteMatchWithHeaders (Aws::Vector< HttpRouteHeader > &&value)
 
HttpRouteMatchAddHeaders (const HttpRouteHeader &value)
 
HttpRouteMatchAddHeaders (HttpRouteHeader &&value)
 
const HttpMethodGetMethod () const
 
bool MethodHasBeenSet () const
 
void SetMethod (const HttpMethod &value)
 
void SetMethod (HttpMethod &&value)
 
HttpRouteMatchWithMethod (const HttpMethod &value)
 
HttpRouteMatchWithMethod (HttpMethod &&value)
 
const Aws::StringGetPrefix () const
 
bool PrefixHasBeenSet () const
 
void SetPrefix (const Aws::String &value)
 
void SetPrefix (Aws::String &&value)
 
void SetPrefix (const char *value)
 
HttpRouteMatchWithPrefix (const Aws::String &value)
 
HttpRouteMatchWithPrefix (Aws::String &&value)
 
HttpRouteMatchWithPrefix (const char *value)
 
const HttpSchemeGetScheme () const
 
bool SchemeHasBeenSet () const
 
void SetScheme (const HttpScheme &value)
 
void SetScheme (HttpScheme &&value)
 
HttpRouteMatchWithScheme (const HttpScheme &value)
 
HttpRouteMatchWithScheme (HttpScheme &&value)
 

Detailed Description

An object that represents the requirements for a route to match HTTP requests for a virtual router.

See Also:

AWS API Reference

Definition at line 36 of file HttpRouteMatch.h.

Constructor & Destructor Documentation

◆ HttpRouteMatch() [1/2]

Aws::AppMesh::Model::HttpRouteMatch::HttpRouteMatch ( )

◆ HttpRouteMatch() [2/2]

Aws::AppMesh::Model::HttpRouteMatch::HttpRouteMatch ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddHeaders() [1/2]

HttpRouteMatch& Aws::AppMesh::Model::HttpRouteMatch::AddHeaders ( const HttpRouteHeader value)
inline

An object that represents the client request headers to match on.

Definition at line 78 of file HttpRouteMatch.h.

◆ AddHeaders() [2/2]

HttpRouteMatch& Aws::AppMesh::Model::HttpRouteMatch::AddHeaders ( HttpRouteHeader &&  value)
inline

An object that represents the client request headers to match on.

Definition at line 83 of file HttpRouteMatch.h.

◆ GetHeaders()

const Aws::Vector<HttpRouteHeader>& Aws::AppMesh::Model::HttpRouteMatch::GetHeaders ( ) const
inline

An object that represents the client request headers to match on.

Definition at line 48 of file HttpRouteMatch.h.

◆ GetMethod()

const HttpMethod& Aws::AppMesh::Model::HttpRouteMatch::GetMethod ( ) const
inline

The client request method to match on. Specify only one.

Definition at line 89 of file HttpRouteMatch.h.

◆ GetPrefix()

const Aws::String& Aws::AppMesh::Model::HttpRouteMatch::GetPrefix ( ) const
inline

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name. You can also match for path-based routing of requests. For example, if your virtual service name is my-service.local and you want the route to match requests to my-service.local/metrics, your prefix should be /metrics.

Definition at line 125 of file HttpRouteMatch.h.

◆ GetScheme()

const HttpScheme& Aws::AppMesh::Model::HttpRouteMatch::GetScheme ( ) const
inline

The client request scheme to match on. Specify only one.

Definition at line 201 of file HttpRouteMatch.h.

◆ HeadersHasBeenSet()

bool Aws::AppMesh::Model::HttpRouteMatch::HeadersHasBeenSet ( ) const
inline

An object that represents the client request headers to match on.

Definition at line 53 of file HttpRouteMatch.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::AppMesh::Model::HttpRouteMatch::Jsonize ( ) const

◆ MethodHasBeenSet()

bool Aws::AppMesh::Model::HttpRouteMatch::MethodHasBeenSet ( ) const
inline

The client request method to match on. Specify only one.

Definition at line 94 of file HttpRouteMatch.h.

◆ operator=()

HttpRouteMatch& Aws::AppMesh::Model::HttpRouteMatch::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PrefixHasBeenSet()

bool Aws::AppMesh::Model::HttpRouteMatch::PrefixHasBeenSet ( ) const
inline

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name. You can also match for path-based routing of requests. For example, if your virtual service name is my-service.local and you want the route to match requests to my-service.local/metrics, your prefix should be /metrics.

Definition at line 135 of file HttpRouteMatch.h.

◆ SchemeHasBeenSet()

bool Aws::AppMesh::Model::HttpRouteMatch::SchemeHasBeenSet ( ) const
inline

The client request scheme to match on. Specify only one.

Definition at line 206 of file HttpRouteMatch.h.

◆ SetHeaders() [1/2]

void Aws::AppMesh::Model::HttpRouteMatch::SetHeaders ( const Aws::Vector< HttpRouteHeader > &  value)
inline

An object that represents the client request headers to match on.

Definition at line 58 of file HttpRouteMatch.h.

◆ SetHeaders() [2/2]

void Aws::AppMesh::Model::HttpRouteMatch::SetHeaders ( Aws::Vector< HttpRouteHeader > &&  value)
inline

An object that represents the client request headers to match on.

Definition at line 63 of file HttpRouteMatch.h.

◆ SetMethod() [1/2]

void Aws::AppMesh::Model::HttpRouteMatch::SetMethod ( const HttpMethod value)
inline

The client request method to match on. Specify only one.

Definition at line 99 of file HttpRouteMatch.h.

◆ SetMethod() [2/2]

void Aws::AppMesh::Model::HttpRouteMatch::SetMethod ( HttpMethod &&  value)
inline

The client request method to match on. Specify only one.

Definition at line 104 of file HttpRouteMatch.h.

◆ SetPrefix() [1/3]

void Aws::AppMesh::Model::HttpRouteMatch::SetPrefix ( const Aws::String value)
inline

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name. You can also match for path-based routing of requests. For example, if your virtual service name is my-service.local and you want the route to match requests to my-service.local/metrics, your prefix should be /metrics.

Definition at line 145 of file HttpRouteMatch.h.

◆ SetPrefix() [2/3]

void Aws::AppMesh::Model::HttpRouteMatch::SetPrefix ( Aws::String &&  value)
inline

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name. You can also match for path-based routing of requests. For example, if your virtual service name is my-service.local and you want the route to match requests to my-service.local/metrics, your prefix should be /metrics.

Definition at line 155 of file HttpRouteMatch.h.

◆ SetPrefix() [3/3]

void Aws::AppMesh::Model::HttpRouteMatch::SetPrefix ( const char *  value)
inline

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name. You can also match for path-based routing of requests. For example, if your virtual service name is my-service.local and you want the route to match requests to my-service.local/metrics, your prefix should be /metrics.

Definition at line 165 of file HttpRouteMatch.h.

◆ SetScheme() [1/2]

void Aws::AppMesh::Model::HttpRouteMatch::SetScheme ( const HttpScheme value)
inline

The client request scheme to match on. Specify only one.

Definition at line 211 of file HttpRouteMatch.h.

◆ SetScheme() [2/2]

void Aws::AppMesh::Model::HttpRouteMatch::SetScheme ( HttpScheme &&  value)
inline

The client request scheme to match on. Specify only one.

Definition at line 216 of file HttpRouteMatch.h.

◆ WithHeaders() [1/2]

HttpRouteMatch& Aws::AppMesh::Model::HttpRouteMatch::WithHeaders ( const Aws::Vector< HttpRouteHeader > &  value)
inline

An object that represents the client request headers to match on.

Definition at line 68 of file HttpRouteMatch.h.

◆ WithHeaders() [2/2]

HttpRouteMatch& Aws::AppMesh::Model::HttpRouteMatch::WithHeaders ( Aws::Vector< HttpRouteHeader > &&  value)
inline

An object that represents the client request headers to match on.

Definition at line 73 of file HttpRouteMatch.h.

◆ WithMethod() [1/2]

HttpRouteMatch& Aws::AppMesh::Model::HttpRouteMatch::WithMethod ( const HttpMethod value)
inline

The client request method to match on. Specify only one.

Definition at line 109 of file HttpRouteMatch.h.

◆ WithMethod() [2/2]

HttpRouteMatch& Aws::AppMesh::Model::HttpRouteMatch::WithMethod ( HttpMethod &&  value)
inline

The client request method to match on. Specify only one.

Definition at line 114 of file HttpRouteMatch.h.

◆ WithPrefix() [1/3]

HttpRouteMatch& Aws::AppMesh::Model::HttpRouteMatch::WithPrefix ( const Aws::String value)
inline

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name. You can also match for path-based routing of requests. For example, if your virtual service name is my-service.local and you want the route to match requests to my-service.local/metrics, your prefix should be /metrics.

Definition at line 175 of file HttpRouteMatch.h.

◆ WithPrefix() [2/3]

HttpRouteMatch& Aws::AppMesh::Model::HttpRouteMatch::WithPrefix ( Aws::String &&  value)
inline

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name. You can also match for path-based routing of requests. For example, if your virtual service name is my-service.local and you want the route to match requests to my-service.local/metrics, your prefix should be /metrics.

Definition at line 185 of file HttpRouteMatch.h.

◆ WithPrefix() [3/3]

HttpRouteMatch& Aws::AppMesh::Model::HttpRouteMatch::WithPrefix ( const char *  value)
inline

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name. You can also match for path-based routing of requests. For example, if your virtual service name is my-service.local and you want the route to match requests to my-service.local/metrics, your prefix should be /metrics.

Definition at line 195 of file HttpRouteMatch.h.

◆ WithScheme() [1/2]

HttpRouteMatch& Aws::AppMesh::Model::HttpRouteMatch::WithScheme ( const HttpScheme value)
inline

The client request scheme to match on. Specify only one.

Definition at line 221 of file HttpRouteMatch.h.

◆ WithScheme() [2/2]

HttpRouteMatch& Aws::AppMesh::Model::HttpRouteMatch::WithScheme ( HttpScheme &&  value)
inline

The client request scheme to match on. Specify only one.

Definition at line 226 of file HttpRouteMatch.h.


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