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

#include <HealthCheckPolicy.h>

Public Member Functions

 HealthCheckPolicy ()
 
 HealthCheckPolicy (Aws::Utils::Json::JsonView jsonValue)
 
HealthCheckPolicyoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
int GetHealthyThreshold () const
 
bool HealthyThresholdHasBeenSet () const
 
void SetHealthyThreshold (int value)
 
HealthCheckPolicyWithHealthyThreshold (int value)
 
long long GetIntervalMillis () const
 
bool IntervalMillisHasBeenSet () const
 
void SetIntervalMillis (long long value)
 
HealthCheckPolicyWithIntervalMillis (long long value)
 
const Aws::StringGetPath () const
 
bool PathHasBeenSet () const
 
void SetPath (const Aws::String &value)
 
void SetPath (Aws::String &&value)
 
void SetPath (const char *value)
 
HealthCheckPolicyWithPath (const Aws::String &value)
 
HealthCheckPolicyWithPath (Aws::String &&value)
 
HealthCheckPolicyWithPath (const char *value)
 
int GetPort () const
 
bool PortHasBeenSet () const
 
void SetPort (int value)
 
HealthCheckPolicyWithPort (int value)
 
const PortProtocolGetProtocol () const
 
bool ProtocolHasBeenSet () const
 
void SetProtocol (const PortProtocol &value)
 
void SetProtocol (PortProtocol &&value)
 
HealthCheckPolicyWithProtocol (const PortProtocol &value)
 
HealthCheckPolicyWithProtocol (PortProtocol &&value)
 
long long GetTimeoutMillis () const
 
bool TimeoutMillisHasBeenSet () const
 
void SetTimeoutMillis (long long value)
 
HealthCheckPolicyWithTimeoutMillis (long long value)
 
int GetUnhealthyThreshold () const
 
bool UnhealthyThresholdHasBeenSet () const
 
void SetUnhealthyThreshold (int value)
 
HealthCheckPolicyWithUnhealthyThreshold (int value)
 

Detailed Description

An object that represents the health check policy for a virtual node's listener.

See Also:

AWS API Reference

Definition at line 33 of file HealthCheckPolicy.h.

Constructor & Destructor Documentation

◆ HealthCheckPolicy() [1/2]

Aws::AppMesh::Model::HealthCheckPolicy::HealthCheckPolicy ( )

◆ HealthCheckPolicy() [2/2]

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

Member Function Documentation

◆ GetHealthyThreshold()

int Aws::AppMesh::Model::HealthCheckPolicy::GetHealthyThreshold ( ) const
inline

The number of consecutive successful health checks that must occur before declaring listener healthy.

Definition at line 46 of file HealthCheckPolicy.h.

◆ GetIntervalMillis()

long long Aws::AppMesh::Model::HealthCheckPolicy::GetIntervalMillis ( ) const
inline

The time period in milliseconds between each health check execution.

Definition at line 70 of file HealthCheckPolicy.h.

◆ GetPath()

const Aws::String& Aws::AppMesh::Model::HealthCheckPolicy::GetPath ( ) const
inline

The destination path for the health check request. This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.

Definition at line 93 of file HealthCheckPolicy.h.

◆ GetPort()

int Aws::AppMesh::Model::HealthCheckPolicy::GetPort ( ) const
inline

The destination port for the health check request. This port must match the port defined in the PortMapping for the listener.

Definition at line 149 of file HealthCheckPolicy.h.

◆ GetProtocol()

const PortProtocol& Aws::AppMesh::Model::HealthCheckPolicy::GetProtocol ( ) const
inline

The protocol for the health check request. If you specify grpc, then your service must conform to the GRPC Health Checking Protocol.

Definition at line 176 of file HealthCheckPolicy.h.

◆ GetTimeoutMillis()

long long Aws::AppMesh::Model::HealthCheckPolicy::GetTimeoutMillis ( ) const
inline

The amount of time to wait when receiving a response from the health check, in milliseconds.

Definition at line 223 of file HealthCheckPolicy.h.

◆ GetUnhealthyThreshold()

int Aws::AppMesh::Model::HealthCheckPolicy::GetUnhealthyThreshold ( ) const
inline

The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.

Definition at line 248 of file HealthCheckPolicy.h.

◆ HealthyThresholdHasBeenSet()

bool Aws::AppMesh::Model::HealthCheckPolicy::HealthyThresholdHasBeenSet ( ) const
inline

The number of consecutive successful health checks that must occur before declaring listener healthy.

Definition at line 52 of file HealthCheckPolicy.h.

◆ IntervalMillisHasBeenSet()

bool Aws::AppMesh::Model::HealthCheckPolicy::IntervalMillisHasBeenSet ( ) const
inline

The time period in milliseconds between each health check execution.

Definition at line 75 of file HealthCheckPolicy.h.

◆ Jsonize()

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

◆ operator=()

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

◆ PathHasBeenSet()

bool Aws::AppMesh::Model::HealthCheckPolicy::PathHasBeenSet ( ) const
inline

The destination path for the health check request. This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.

Definition at line 100 of file HealthCheckPolicy.h.

◆ PortHasBeenSet()

bool Aws::AppMesh::Model::HealthCheckPolicy::PortHasBeenSet ( ) const
inline

The destination port for the health check request. This port must match the port defined in the PortMapping for the listener.

Definition at line 155 of file HealthCheckPolicy.h.

◆ ProtocolHasBeenSet()

bool Aws::AppMesh::Model::HealthCheckPolicy::ProtocolHasBeenSet ( ) const
inline

The protocol for the health check request. If you specify grpc, then your service must conform to the GRPC Health Checking Protocol.

Definition at line 184 of file HealthCheckPolicy.h.

◆ SetHealthyThreshold()

void Aws::AppMesh::Model::HealthCheckPolicy::SetHealthyThreshold ( int  value)
inline

The number of consecutive successful health checks that must occur before declaring listener healthy.

Definition at line 58 of file HealthCheckPolicy.h.

◆ SetIntervalMillis()

void Aws::AppMesh::Model::HealthCheckPolicy::SetIntervalMillis ( long long  value)
inline

The time period in milliseconds between each health check execution.

Definition at line 80 of file HealthCheckPolicy.h.

◆ SetPath() [1/3]

void Aws::AppMesh::Model::HealthCheckPolicy::SetPath ( const Aws::String value)
inline

The destination path for the health check request. This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.

Definition at line 107 of file HealthCheckPolicy.h.

◆ SetPath() [2/3]

void Aws::AppMesh::Model::HealthCheckPolicy::SetPath ( Aws::String &&  value)
inline

The destination path for the health check request. This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.

Definition at line 114 of file HealthCheckPolicy.h.

◆ SetPath() [3/3]

void Aws::AppMesh::Model::HealthCheckPolicy::SetPath ( const char *  value)
inline

The destination path for the health check request. This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.

Definition at line 121 of file HealthCheckPolicy.h.

◆ SetPort()

void Aws::AppMesh::Model::HealthCheckPolicy::SetPort ( int  value)
inline

The destination port for the health check request. This port must match the port defined in the PortMapping for the listener.

Definition at line 161 of file HealthCheckPolicy.h.

◆ SetProtocol() [1/2]

void Aws::AppMesh::Model::HealthCheckPolicy::SetProtocol ( const PortProtocol value)
inline

The protocol for the health check request. If you specify grpc, then your service must conform to the GRPC Health Checking Protocol.

Definition at line 192 of file HealthCheckPolicy.h.

◆ SetProtocol() [2/2]

void Aws::AppMesh::Model::HealthCheckPolicy::SetProtocol ( PortProtocol &&  value)
inline

The protocol for the health check request. If you specify grpc, then your service must conform to the GRPC Health Checking Protocol.

Definition at line 200 of file HealthCheckPolicy.h.

◆ SetTimeoutMillis()

void Aws::AppMesh::Model::HealthCheckPolicy::SetTimeoutMillis ( long long  value)
inline

The amount of time to wait when receiving a response from the health check, in milliseconds.

Definition at line 235 of file HealthCheckPolicy.h.

◆ SetUnhealthyThreshold()

void Aws::AppMesh::Model::HealthCheckPolicy::SetUnhealthyThreshold ( int  value)
inline

The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.

Definition at line 260 of file HealthCheckPolicy.h.

◆ TimeoutMillisHasBeenSet()

bool Aws::AppMesh::Model::HealthCheckPolicy::TimeoutMillisHasBeenSet ( ) const
inline

The amount of time to wait when receiving a response from the health check, in milliseconds.

Definition at line 229 of file HealthCheckPolicy.h.

◆ UnhealthyThresholdHasBeenSet()

bool Aws::AppMesh::Model::HealthCheckPolicy::UnhealthyThresholdHasBeenSet ( ) const
inline

The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.

Definition at line 254 of file HealthCheckPolicy.h.

◆ WithHealthyThreshold()

HealthCheckPolicy& Aws::AppMesh::Model::HealthCheckPolicy::WithHealthyThreshold ( int  value)
inline

The number of consecutive successful health checks that must occur before declaring listener healthy.

Definition at line 64 of file HealthCheckPolicy.h.

◆ WithIntervalMillis()

HealthCheckPolicy& Aws::AppMesh::Model::HealthCheckPolicy::WithIntervalMillis ( long long  value)
inline

The time period in milliseconds between each health check execution.

Definition at line 85 of file HealthCheckPolicy.h.

◆ WithPath() [1/3]

HealthCheckPolicy& Aws::AppMesh::Model::HealthCheckPolicy::WithPath ( const Aws::String value)
inline

The destination path for the health check request. This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.

Definition at line 128 of file HealthCheckPolicy.h.

◆ WithPath() [2/3]

HealthCheckPolicy& Aws::AppMesh::Model::HealthCheckPolicy::WithPath ( Aws::String &&  value)
inline

The destination path for the health check request. This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.

Definition at line 135 of file HealthCheckPolicy.h.

◆ WithPath() [3/3]

HealthCheckPolicy& Aws::AppMesh::Model::HealthCheckPolicy::WithPath ( const char *  value)
inline

The destination path for the health check request. This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.

Definition at line 142 of file HealthCheckPolicy.h.

◆ WithPort()

HealthCheckPolicy& Aws::AppMesh::Model::HealthCheckPolicy::WithPort ( int  value)
inline

The destination port for the health check request. This port must match the port defined in the PortMapping for the listener.

Definition at line 167 of file HealthCheckPolicy.h.

◆ WithProtocol() [1/2]

HealthCheckPolicy& Aws::AppMesh::Model::HealthCheckPolicy::WithProtocol ( const PortProtocol value)
inline

The protocol for the health check request. If you specify grpc, then your service must conform to the GRPC Health Checking Protocol.

Definition at line 208 of file HealthCheckPolicy.h.

◆ WithProtocol() [2/2]

HealthCheckPolicy& Aws::AppMesh::Model::HealthCheckPolicy::WithProtocol ( PortProtocol &&  value)
inline

The protocol for the health check request. If you specify grpc, then your service must conform to the GRPC Health Checking Protocol.

Definition at line 216 of file HealthCheckPolicy.h.

◆ WithTimeoutMillis()

HealthCheckPolicy& Aws::AppMesh::Model::HealthCheckPolicy::WithTimeoutMillis ( long long  value)
inline

The amount of time to wait when receiving a response from the health check, in milliseconds.

Definition at line 241 of file HealthCheckPolicy.h.

◆ WithUnhealthyThreshold()

HealthCheckPolicy& Aws::AppMesh::Model::HealthCheckPolicy::WithUnhealthyThreshold ( int  value)
inline

The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.

Definition at line 266 of file HealthCheckPolicy.h.


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