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

#include <GrpcRetryPolicy.h>

Public Member Functions

 GrpcRetryPolicy ()
 
 GrpcRetryPolicy (Aws::Utils::Json::JsonView jsonValue)
 
GrpcRetryPolicyoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::Vector< GrpcRetryPolicyEvent > & GetGrpcRetryEvents () const
 
bool GrpcRetryEventsHasBeenSet () const
 
void SetGrpcRetryEvents (const Aws::Vector< GrpcRetryPolicyEvent > &value)
 
void SetGrpcRetryEvents (Aws::Vector< GrpcRetryPolicyEvent > &&value)
 
GrpcRetryPolicyWithGrpcRetryEvents (const Aws::Vector< GrpcRetryPolicyEvent > &value)
 
GrpcRetryPolicyWithGrpcRetryEvents (Aws::Vector< GrpcRetryPolicyEvent > &&value)
 
GrpcRetryPolicyAddGrpcRetryEvents (const GrpcRetryPolicyEvent &value)
 
GrpcRetryPolicyAddGrpcRetryEvents (GrpcRetryPolicyEvent &&value)
 
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)
 
GrpcRetryPolicyWithHttpRetryEvents (const Aws::Vector< Aws::String > &value)
 
GrpcRetryPolicyWithHttpRetryEvents (Aws::Vector< Aws::String > &&value)
 
GrpcRetryPolicyAddHttpRetryEvents (const Aws::String &value)
 
GrpcRetryPolicyAddHttpRetryEvents (Aws::String &&value)
 
GrpcRetryPolicyAddHttpRetryEvents (const char *value)
 
long long GetMaxRetries () const
 
bool MaxRetriesHasBeenSet () const
 
void SetMaxRetries (long long value)
 
GrpcRetryPolicyWithMaxRetries (long long value)
 
const DurationGetPerRetryTimeout () const
 
bool PerRetryTimeoutHasBeenSet () const
 
void SetPerRetryTimeout (const Duration &value)
 
void SetPerRetryTimeout (Duration &&value)
 
GrpcRetryPolicyWithPerRetryTimeout (const Duration &value)
 
GrpcRetryPolicyWithPerRetryTimeout (Duration &&value)
 
const Aws::Vector< TcpRetryPolicyEvent > & GetTcpRetryEvents () const
 
bool TcpRetryEventsHasBeenSet () const
 
void SetTcpRetryEvents (const Aws::Vector< TcpRetryPolicyEvent > &value)
 
void SetTcpRetryEvents (Aws::Vector< TcpRetryPolicyEvent > &&value)
 
GrpcRetryPolicyWithTcpRetryEvents (const Aws::Vector< TcpRetryPolicyEvent > &value)
 
GrpcRetryPolicyWithTcpRetryEvents (Aws::Vector< TcpRetryPolicyEvent > &&value)
 
GrpcRetryPolicyAddTcpRetryEvents (const TcpRetryPolicyEvent &value)
 
GrpcRetryPolicyAddTcpRetryEvents (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 38 of file GrpcRetryPolicy.h.

Constructor & Destructor Documentation

◆ GrpcRetryPolicy() [1/2]

Aws::AppMesh::Model::GrpcRetryPolicy::GrpcRetryPolicy ( )

◆ GrpcRetryPolicy() [2/2]

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

Member Function Documentation

◆ AddGrpcRetryEvents() [1/2]

GrpcRetryPolicy& Aws::AppMesh::Model::GrpcRetryPolicy::AddGrpcRetryEvents ( const GrpcRetryPolicyEvent value)
inline

Specify at least one of the valid values.

Definition at line 80 of file GrpcRetryPolicy.h.

◆ AddGrpcRetryEvents() [2/2]

GrpcRetryPolicy& Aws::AppMesh::Model::GrpcRetryPolicy::AddGrpcRetryEvents ( GrpcRetryPolicyEvent &&  value)
inline

Specify at least one of the valid values.

Definition at line 85 of file GrpcRetryPolicy.h.

◆ AddHttpRetryEvents() [1/3]

GrpcRetryPolicy& Aws::AppMesh::Model::GrpcRetryPolicy::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 156 of file GrpcRetryPolicy.h.

◆ AddHttpRetryEvents() [2/3]

GrpcRetryPolicy& Aws::AppMesh::Model::GrpcRetryPolicy::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 166 of file GrpcRetryPolicy.h.

◆ AddHttpRetryEvents() [3/3]

GrpcRetryPolicy& Aws::AppMesh::Model::GrpcRetryPolicy::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 176 of file GrpcRetryPolicy.h.

◆ AddTcpRetryEvents() [1/2]

GrpcRetryPolicy& Aws::AppMesh::Model::GrpcRetryPolicy::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 278 of file GrpcRetryPolicy.h.

◆ AddTcpRetryEvents() [2/2]

GrpcRetryPolicy& Aws::AppMesh::Model::GrpcRetryPolicy::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 285 of file GrpcRetryPolicy.h.

◆ GetGrpcRetryEvents()

const Aws::Vector<GrpcRetryPolicyEvent>& Aws::AppMesh::Model::GrpcRetryPolicy::GetGrpcRetryEvents ( ) const
inline

Specify at least one of the valid values.

Definition at line 50 of file GrpcRetryPolicy.h.

◆ GetHttpRetryEvents()

const Aws::Vector<Aws::String>& Aws::AppMesh::Model::GrpcRetryPolicy::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 96 of file GrpcRetryPolicy.h.

◆ GetMaxRetries()

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

The maximum number of retry attempts.

Definition at line 182 of file GrpcRetryPolicy.h.

◆ GetPerRetryTimeout()

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

The timeout for each retry attempt.

Definition at line 203 of file GrpcRetryPolicy.h.

◆ GetTcpRetryEvents()

const Aws::Vector<TcpRetryPolicyEvent>& Aws::AppMesh::Model::GrpcRetryPolicy::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 236 of file GrpcRetryPolicy.h.

◆ GrpcRetryEventsHasBeenSet()

bool Aws::AppMesh::Model::GrpcRetryPolicy::GrpcRetryEventsHasBeenSet ( ) const
inline

Specify at least one of the valid values.

Definition at line 55 of file GrpcRetryPolicy.h.

◆ HttpRetryEventsHasBeenSet()

bool Aws::AppMesh::Model::GrpcRetryPolicy::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 106 of file GrpcRetryPolicy.h.

◆ Jsonize()

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

◆ MaxRetriesHasBeenSet()

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

The maximum number of retry attempts.

Definition at line 187 of file GrpcRetryPolicy.h.

◆ operator=()

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

◆ PerRetryTimeoutHasBeenSet()

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

The timeout for each retry attempt.

Definition at line 208 of file GrpcRetryPolicy.h.

◆ SetGrpcRetryEvents() [1/2]

void Aws::AppMesh::Model::GrpcRetryPolicy::SetGrpcRetryEvents ( const Aws::Vector< GrpcRetryPolicyEvent > &  value)
inline

Specify at least one of the valid values.

Definition at line 60 of file GrpcRetryPolicy.h.

◆ SetGrpcRetryEvents() [2/2]

void Aws::AppMesh::Model::GrpcRetryPolicy::SetGrpcRetryEvents ( Aws::Vector< GrpcRetryPolicyEvent > &&  value)
inline

Specify at least one of the valid values.

Definition at line 65 of file GrpcRetryPolicy.h.

◆ SetHttpRetryEvents() [1/2]

void Aws::AppMesh::Model::GrpcRetryPolicy::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 116 of file GrpcRetryPolicy.h.

◆ SetHttpRetryEvents() [2/2]

void Aws::AppMesh::Model::GrpcRetryPolicy::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 126 of file GrpcRetryPolicy.h.

◆ SetMaxRetries()

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

The maximum number of retry attempts.

Definition at line 192 of file GrpcRetryPolicy.h.

◆ SetPerRetryTimeout() [1/2]

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

The timeout for each retry attempt.

Definition at line 213 of file GrpcRetryPolicy.h.

◆ SetPerRetryTimeout() [2/2]

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

The timeout for each retry attempt.

Definition at line 218 of file GrpcRetryPolicy.h.

◆ SetTcpRetryEvents() [1/2]

void Aws::AppMesh::Model::GrpcRetryPolicy::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 250 of file GrpcRetryPolicy.h.

◆ SetTcpRetryEvents() [2/2]

void Aws::AppMesh::Model::GrpcRetryPolicy::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 257 of file GrpcRetryPolicy.h.

◆ TcpRetryEventsHasBeenSet()

bool Aws::AppMesh::Model::GrpcRetryPolicy::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 243 of file GrpcRetryPolicy.h.

◆ WithGrpcRetryEvents() [1/2]

GrpcRetryPolicy& Aws::AppMesh::Model::GrpcRetryPolicy::WithGrpcRetryEvents ( const Aws::Vector< GrpcRetryPolicyEvent > &  value)
inline

Specify at least one of the valid values.

Definition at line 70 of file GrpcRetryPolicy.h.

◆ WithGrpcRetryEvents() [2/2]

GrpcRetryPolicy& Aws::AppMesh::Model::GrpcRetryPolicy::WithGrpcRetryEvents ( Aws::Vector< GrpcRetryPolicyEvent > &&  value)
inline

Specify at least one of the valid values.

Definition at line 75 of file GrpcRetryPolicy.h.

◆ WithHttpRetryEvents() [1/2]

GrpcRetryPolicy& Aws::AppMesh::Model::GrpcRetryPolicy::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 136 of file GrpcRetryPolicy.h.

◆ WithHttpRetryEvents() [2/2]

GrpcRetryPolicy& Aws::AppMesh::Model::GrpcRetryPolicy::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 146 of file GrpcRetryPolicy.h.

◆ WithMaxRetries()

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

The maximum number of retry attempts.

Definition at line 197 of file GrpcRetryPolicy.h.

◆ WithPerRetryTimeout() [1/2]

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

The timeout for each retry attempt.

Definition at line 223 of file GrpcRetryPolicy.h.

◆ WithPerRetryTimeout() [2/2]

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

The timeout for each retry attempt.

Definition at line 228 of file GrpcRetryPolicy.h.

◆ WithTcpRetryEvents() [1/2]

GrpcRetryPolicy& Aws::AppMesh::Model::GrpcRetryPolicy::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 264 of file GrpcRetryPolicy.h.

◆ WithTcpRetryEvents() [2/2]

GrpcRetryPolicy& Aws::AppMesh::Model::GrpcRetryPolicy::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 271 of file GrpcRetryPolicy.h.


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