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

#include <HttpRetryPolicy.h>

Public Member Functions

 HttpRetryPolicy ()
 
 HttpRetryPolicy (Aws::Utils::Json::JsonView jsonValue)
 
HttpRetryPolicyoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::Vector< Aws::String > & GetHttpRetryEvents () const
 
bool HttpRetryEventsHasBeenSet () const
 
void SetHttpRetryEvents (const Aws::Vector< Aws::String > &value)
 
void SetHttpRetryEvents (Aws::Vector< Aws::String > &&value)
 
HttpRetryPolicyWithHttpRetryEvents (const Aws::Vector< Aws::String > &value)
 
HttpRetryPolicyWithHttpRetryEvents (Aws::Vector< Aws::String > &&value)
 
HttpRetryPolicyAddHttpRetryEvents (const Aws::String &value)
 
HttpRetryPolicyAddHttpRetryEvents (Aws::String &&value)
 
HttpRetryPolicyAddHttpRetryEvents (const char *value)
 
long long GetMaxRetries () const
 
bool MaxRetriesHasBeenSet () const
 
void SetMaxRetries (long long value)
 
HttpRetryPolicyWithMaxRetries (long long value)
 
const DurationGetPerRetryTimeout () const
 
bool PerRetryTimeoutHasBeenSet () const
 
void SetPerRetryTimeout (const Duration &value)
 
void SetPerRetryTimeout (Duration &&value)
 
HttpRetryPolicyWithPerRetryTimeout (const Duration &value)
 
HttpRetryPolicyWithPerRetryTimeout (Duration &&value)
 
const Aws::Vector< TcpRetryPolicyEvent > & GetTcpRetryEvents () const
 
bool TcpRetryEventsHasBeenSet () const
 
void SetTcpRetryEvents (const Aws::Vector< TcpRetryPolicyEvent > &value)
 
void SetTcpRetryEvents (Aws::Vector< TcpRetryPolicyEvent > &&value)
 
HttpRetryPolicyWithTcpRetryEvents (const Aws::Vector< TcpRetryPolicyEvent > &value)
 
HttpRetryPolicyWithTcpRetryEvents (Aws::Vector< TcpRetryPolicyEvent > &&value)
 
HttpRetryPolicyAddTcpRetryEvents (const TcpRetryPolicyEvent &value)
 
HttpRetryPolicyAddTcpRetryEvents (TcpRetryPolicyEvent &&value)
 

Detailed Description

An object that represents a retry policy. Specify at least one value for at least one of the types of RetryEvents, a value for maxRetries, and a value for perRetryTimeout.

See Also:

AWS API Reference

Definition at line 37 of file HttpRetryPolicy.h.

Constructor & Destructor Documentation

◆ HttpRetryPolicy() [1/2]

Aws::AppMesh::Model::HttpRetryPolicy::HttpRetryPolicy ( )

◆ HttpRetryPolicy() [2/2]

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

Member Function Documentation

◆ AddHttpRetryEvents() [1/3]

HttpRetryPolicy& Aws::AppMesh::Model::HttpRetryPolicy::AddHttpRetryEvents ( const Aws::String value)
inline

Specify at least one of the following values.

  • server-error – HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511

  • gateway-error – HTTP status codes 502, 503, and 504

  • client-error – HTTP status code 409

  • stream-error – Retry on refused stream

Definition at line 114 of file HttpRetryPolicy.h.

◆ AddHttpRetryEvents() [2/3]

HttpRetryPolicy& Aws::AppMesh::Model::HttpRetryPolicy::AddHttpRetryEvents ( Aws::String &&  value)
inline

Specify at least one of the following values.

  • server-error – HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511

  • gateway-error – HTTP status codes 502, 503, and 504

  • client-error – HTTP status code 409

  • stream-error – Retry on refused stream

Definition at line 124 of file HttpRetryPolicy.h.

◆ AddHttpRetryEvents() [3/3]

HttpRetryPolicy& Aws::AppMesh::Model::HttpRetryPolicy::AddHttpRetryEvents ( const char *  value)
inline

Specify at least one of the following values.

  • server-error – HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511

  • gateway-error – HTTP status codes 502, 503, and 504

  • client-error – HTTP status code 409

  • stream-error – Retry on refused stream

Definition at line 134 of file HttpRetryPolicy.h.

◆ AddTcpRetryEvents() [1/2]

HttpRetryPolicy& Aws::AppMesh::Model::HttpRetryPolicy::AddTcpRetryEvents ( const TcpRetryPolicyEvent value)
inline

Specify a valid value. The event occurs before any processing of a request has started and is encountered when the upstream is temporarily or permanently unavailable.

Definition at line 236 of file HttpRetryPolicy.h.

◆ AddTcpRetryEvents() [2/2]

HttpRetryPolicy& Aws::AppMesh::Model::HttpRetryPolicy::AddTcpRetryEvents ( TcpRetryPolicyEvent &&  value)
inline

Specify a valid value. The event occurs before any processing of a request has started and is encountered when the upstream is temporarily or permanently unavailable.

Definition at line 243 of file HttpRetryPolicy.h.

◆ GetHttpRetryEvents()

const Aws::Vector<Aws::String>& Aws::AppMesh::Model::HttpRetryPolicy::GetHttpRetryEvents ( ) const
inline

Specify at least one of the following values.

  • server-error – HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511

  • gateway-error – HTTP status codes 502, 503, and 504

  • client-error – HTTP status code 409

  • stream-error – Retry on refused stream

Definition at line 54 of file HttpRetryPolicy.h.

◆ GetMaxRetries()

long long Aws::AppMesh::Model::HttpRetryPolicy::GetMaxRetries ( ) const
inline

The maximum number of retry attempts.

Definition at line 140 of file HttpRetryPolicy.h.

◆ GetPerRetryTimeout()

const Duration& Aws::AppMesh::Model::HttpRetryPolicy::GetPerRetryTimeout ( ) const
inline

The timeout for each retry attempt.

Definition at line 161 of file HttpRetryPolicy.h.

◆ GetTcpRetryEvents()

const Aws::Vector<TcpRetryPolicyEvent>& Aws::AppMesh::Model::HttpRetryPolicy::GetTcpRetryEvents ( ) const
inline

Specify a valid value. The event occurs before any processing of a request has started and is encountered when the upstream is temporarily or permanently unavailable.

Definition at line 194 of file HttpRetryPolicy.h.

◆ HttpRetryEventsHasBeenSet()

bool Aws::AppMesh::Model::HttpRetryPolicy::HttpRetryEventsHasBeenSet ( ) const
inline

Specify at least one of the following values.

  • server-error – HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511

  • gateway-error – HTTP status codes 502, 503, and 504

  • client-error – HTTP status code 409

  • stream-error – Retry on refused stream

Definition at line 64 of file HttpRetryPolicy.h.

◆ Jsonize()

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

◆ MaxRetriesHasBeenSet()

bool Aws::AppMesh::Model::HttpRetryPolicy::MaxRetriesHasBeenSet ( ) const
inline

The maximum number of retry attempts.

Definition at line 145 of file HttpRetryPolicy.h.

◆ operator=()

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

◆ PerRetryTimeoutHasBeenSet()

bool Aws::AppMesh::Model::HttpRetryPolicy::PerRetryTimeoutHasBeenSet ( ) const
inline

The timeout for each retry attempt.

Definition at line 166 of file HttpRetryPolicy.h.

◆ SetHttpRetryEvents() [1/2]

void Aws::AppMesh::Model::HttpRetryPolicy::SetHttpRetryEvents ( const Aws::Vector< Aws::String > &  value)
inline

Specify at least one of the following values.

  • server-error – HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511

  • gateway-error – HTTP status codes 502, 503, and 504

  • client-error – HTTP status code 409

  • stream-error – Retry on refused stream

Definition at line 74 of file HttpRetryPolicy.h.

◆ SetHttpRetryEvents() [2/2]

void Aws::AppMesh::Model::HttpRetryPolicy::SetHttpRetryEvents ( Aws::Vector< Aws::String > &&  value)
inline

Specify at least one of the following values.

  • server-error – HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511

  • gateway-error – HTTP status codes 502, 503, and 504

  • client-error – HTTP status code 409

  • stream-error – Retry on refused stream

Definition at line 84 of file HttpRetryPolicy.h.

◆ SetMaxRetries()

void Aws::AppMesh::Model::HttpRetryPolicy::SetMaxRetries ( long long  value)
inline

The maximum number of retry attempts.

Definition at line 150 of file HttpRetryPolicy.h.

◆ SetPerRetryTimeout() [1/2]

void Aws::AppMesh::Model::HttpRetryPolicy::SetPerRetryTimeout ( const Duration value)
inline

The timeout for each retry attempt.

Definition at line 171 of file HttpRetryPolicy.h.

◆ SetPerRetryTimeout() [2/2]

void Aws::AppMesh::Model::HttpRetryPolicy::SetPerRetryTimeout ( Duration &&  value)
inline

The timeout for each retry attempt.

Definition at line 176 of file HttpRetryPolicy.h.

◆ SetTcpRetryEvents() [1/2]

void Aws::AppMesh::Model::HttpRetryPolicy::SetTcpRetryEvents ( const Aws::Vector< TcpRetryPolicyEvent > &  value)
inline

Specify a valid value. The event occurs before any processing of a request has started and is encountered when the upstream is temporarily or permanently unavailable.

Definition at line 208 of file HttpRetryPolicy.h.

◆ SetTcpRetryEvents() [2/2]

void Aws::AppMesh::Model::HttpRetryPolicy::SetTcpRetryEvents ( Aws::Vector< TcpRetryPolicyEvent > &&  value)
inline

Specify a valid value. The event occurs before any processing of a request has started and is encountered when the upstream is temporarily or permanently unavailable.

Definition at line 215 of file HttpRetryPolicy.h.

◆ TcpRetryEventsHasBeenSet()

bool Aws::AppMesh::Model::HttpRetryPolicy::TcpRetryEventsHasBeenSet ( ) const
inline

Specify a valid value. The event occurs before any processing of a request has started and is encountered when the upstream is temporarily or permanently unavailable.

Definition at line 201 of file HttpRetryPolicy.h.

◆ WithHttpRetryEvents() [1/2]

HttpRetryPolicy& Aws::AppMesh::Model::HttpRetryPolicy::WithHttpRetryEvents ( const Aws::Vector< Aws::String > &  value)
inline

Specify at least one of the following values.

  • server-error – HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511

  • gateway-error – HTTP status codes 502, 503, and 504

  • client-error – HTTP status code 409

  • stream-error – Retry on refused stream

Definition at line 94 of file HttpRetryPolicy.h.

◆ WithHttpRetryEvents() [2/2]

HttpRetryPolicy& Aws::AppMesh::Model::HttpRetryPolicy::WithHttpRetryEvents ( Aws::Vector< Aws::String > &&  value)
inline

Specify at least one of the following values.

  • server-error – HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511

  • gateway-error – HTTP status codes 502, 503, and 504

  • client-error – HTTP status code 409

  • stream-error – Retry on refused stream

Definition at line 104 of file HttpRetryPolicy.h.

◆ WithMaxRetries()

HttpRetryPolicy& Aws::AppMesh::Model::HttpRetryPolicy::WithMaxRetries ( long long  value)
inline

The maximum number of retry attempts.

Definition at line 155 of file HttpRetryPolicy.h.

◆ WithPerRetryTimeout() [1/2]

HttpRetryPolicy& Aws::AppMesh::Model::HttpRetryPolicy::WithPerRetryTimeout ( const Duration value)
inline

The timeout for each retry attempt.

Definition at line 181 of file HttpRetryPolicy.h.

◆ WithPerRetryTimeout() [2/2]

HttpRetryPolicy& Aws::AppMesh::Model::HttpRetryPolicy::WithPerRetryTimeout ( Duration &&  value)
inline

The timeout for each retry attempt.

Definition at line 186 of file HttpRetryPolicy.h.

◆ WithTcpRetryEvents() [1/2]

HttpRetryPolicy& Aws::AppMesh::Model::HttpRetryPolicy::WithTcpRetryEvents ( const Aws::Vector< TcpRetryPolicyEvent > &  value)
inline

Specify a valid value. The event occurs before any processing of a request has started and is encountered when the upstream is temporarily or permanently unavailable.

Definition at line 222 of file HttpRetryPolicy.h.

◆ WithTcpRetryEvents() [2/2]

HttpRetryPolicy& Aws::AppMesh::Model::HttpRetryPolicy::WithTcpRetryEvents ( Aws::Vector< TcpRetryPolicyEvent > &&  value)
inline

Specify a valid value. The event occurs before any processing of a request has started and is encountered when the upstream is temporarily or permanently unavailable.

Definition at line 229 of file HttpRetryPolicy.h.


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