AWS SDK for C++  1.9.104
AWS SDK for C++
Public Member Functions | List of all members
Aws::Lightsail::Model::ContainerServiceHealthCheckConfig Class Reference

#include <ContainerServiceHealthCheckConfig.h>

Public Member Functions

 ContainerServiceHealthCheckConfig ()
 
 ContainerServiceHealthCheckConfig (Aws::Utils::Json::JsonView jsonValue)
 
ContainerServiceHealthCheckConfigoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
int GetHealthyThreshold () const
 
bool HealthyThresholdHasBeenSet () const
 
void SetHealthyThreshold (int value)
 
ContainerServiceHealthCheckConfigWithHealthyThreshold (int value)
 
int GetUnhealthyThreshold () const
 
bool UnhealthyThresholdHasBeenSet () const
 
void SetUnhealthyThreshold (int value)
 
ContainerServiceHealthCheckConfigWithUnhealthyThreshold (int value)
 
int GetTimeoutSeconds () const
 
bool TimeoutSecondsHasBeenSet () const
 
void SetTimeoutSeconds (int value)
 
ContainerServiceHealthCheckConfigWithTimeoutSeconds (int value)
 
int GetIntervalSeconds () const
 
bool IntervalSecondsHasBeenSet () const
 
void SetIntervalSeconds (int value)
 
ContainerServiceHealthCheckConfigWithIntervalSeconds (int value)
 
const Aws::StringGetPath () const
 
bool PathHasBeenSet () const
 
void SetPath (const Aws::String &value)
 
void SetPath (Aws::String &&value)
 
void SetPath (const char *value)
 
ContainerServiceHealthCheckConfigWithPath (const Aws::String &value)
 
ContainerServiceHealthCheckConfigWithPath (Aws::String &&value)
 
ContainerServiceHealthCheckConfigWithPath (const char *value)
 
const Aws::StringGetSuccessCodes () const
 
bool SuccessCodesHasBeenSet () const
 
void SetSuccessCodes (const Aws::String &value)
 
void SetSuccessCodes (Aws::String &&value)
 
void SetSuccessCodes (const char *value)
 
ContainerServiceHealthCheckConfigWithSuccessCodes (const Aws::String &value)
 
ContainerServiceHealthCheckConfigWithSuccessCodes (Aws::String &&value)
 
ContainerServiceHealthCheckConfigWithSuccessCodes (const char *value)
 

Detailed Description

Describes the health check configuration of an Amazon Lightsail container service.

See Also:

AWS API Reference

Definition at line 32 of file ContainerServiceHealthCheckConfig.h.

Constructor & Destructor Documentation

◆ ContainerServiceHealthCheckConfig() [1/2]

Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::ContainerServiceHealthCheckConfig ( )

◆ ContainerServiceHealthCheckConfig() [2/2]

Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::ContainerServiceHealthCheckConfig ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetHealthyThreshold()

int Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::GetHealthyThreshold ( ) const
inline

The number of consecutive health checks successes required before moving the container to the Healthy state. The default value is 2.

Definition at line 46 of file ContainerServiceHealthCheckConfig.h.

◆ GetIntervalSeconds()

int Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::GetIntervalSeconds ( ) const
inline

The approximate interval, in seconds, between health checks of an individual container. You can specify between 5 and 300 seconds. The default value is 5.

Definition at line 133 of file ContainerServiceHealthCheckConfig.h.

◆ GetPath()

const Aws::String& Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::GetPath ( ) const
inline

The path on the container on which to perform the health check. The default value is /.

Definition at line 161 of file ContainerServiceHealthCheckConfig.h.

◆ GetSuccessCodes()

const Aws::String& Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::GetSuccessCodes ( ) const
inline

The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499. You can specify multiple values (for example, 200,202) or a range of values (for example, 200-299).

Definition at line 212 of file ContainerServiceHealthCheckConfig.h.

◆ GetTimeoutSeconds()

int Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::GetTimeoutSeconds ( ) const
inline

The amount of time, in seconds, during which no response means a failed health check. You can specify between 2 and 60 seconds. The default value is 2.

Definition at line 104 of file ContainerServiceHealthCheckConfig.h.

◆ GetUnhealthyThreshold()

int Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::GetUnhealthyThreshold ( ) const
inline

The number of consecutive health check failures required before moving the container to the Unhealthy state. The default value is 2.

Definition at line 75 of file ContainerServiceHealthCheckConfig.h.

◆ HealthyThresholdHasBeenSet()

bool Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::HealthyThresholdHasBeenSet ( ) const
inline

The number of consecutive health checks successes required before moving the container to the Healthy state. The default value is 2.

Definition at line 53 of file ContainerServiceHealthCheckConfig.h.

◆ IntervalSecondsHasBeenSet()

bool Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::IntervalSecondsHasBeenSet ( ) const
inline

The approximate interval, in seconds, between health checks of an individual container. You can specify between 5 and 300 seconds. The default value is 5.

Definition at line 140 of file ContainerServiceHealthCheckConfig.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::Jsonize ( ) const

◆ operator=()

ContainerServiceHealthCheckConfig& Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PathHasBeenSet()

bool Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::PathHasBeenSet ( ) const
inline

The path on the container on which to perform the health check. The default value is /.

Definition at line 167 of file ContainerServiceHealthCheckConfig.h.

◆ SetHealthyThreshold()

void Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::SetHealthyThreshold ( int  value)
inline

The number of consecutive health checks successes required before moving the container to the Healthy state. The default value is 2.

Definition at line 60 of file ContainerServiceHealthCheckConfig.h.

◆ SetIntervalSeconds()

void Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::SetIntervalSeconds ( int  value)
inline

The approximate interval, in seconds, between health checks of an individual container. You can specify between 5 and 300 seconds. The default value is 5.

Definition at line 147 of file ContainerServiceHealthCheckConfig.h.

◆ SetPath() [1/3]

void Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::SetPath ( Aws::String &&  value)
inline

The path on the container on which to perform the health check. The default value is /.

Definition at line 179 of file ContainerServiceHealthCheckConfig.h.

◆ SetPath() [2/3]

void Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::SetPath ( const Aws::String value)
inline

The path on the container on which to perform the health check. The default value is /.

Definition at line 173 of file ContainerServiceHealthCheckConfig.h.

◆ SetPath() [3/3]

void Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::SetPath ( const char *  value)
inline

The path on the container on which to perform the health check. The default value is /.

Definition at line 185 of file ContainerServiceHealthCheckConfig.h.

◆ SetSuccessCodes() [1/3]

void Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::SetSuccessCodes ( Aws::String &&  value)
inline

The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499. You can specify multiple values (for example, 200,202) or a range of values (for example, 200-299).

Definition at line 236 of file ContainerServiceHealthCheckConfig.h.

◆ SetSuccessCodes() [2/3]

void Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::SetSuccessCodes ( const Aws::String value)
inline

The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499. You can specify multiple values (for example, 200,202) or a range of values (for example, 200-299).

Definition at line 228 of file ContainerServiceHealthCheckConfig.h.

◆ SetSuccessCodes() [3/3]

void Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::SetSuccessCodes ( const char *  value)
inline

The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499. You can specify multiple values (for example, 200,202) or a range of values (for example, 200-299).

Definition at line 244 of file ContainerServiceHealthCheckConfig.h.

◆ SetTimeoutSeconds()

void Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::SetTimeoutSeconds ( int  value)
inline

The amount of time, in seconds, during which no response means a failed health check. You can specify between 2 and 60 seconds. The default value is 2.

Definition at line 118 of file ContainerServiceHealthCheckConfig.h.

◆ SetUnhealthyThreshold()

void Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::SetUnhealthyThreshold ( int  value)
inline

The number of consecutive health check failures required before moving the container to the Unhealthy state. The default value is 2.

Definition at line 89 of file ContainerServiceHealthCheckConfig.h.

◆ SuccessCodesHasBeenSet()

bool Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::SuccessCodesHasBeenSet ( ) const
inline

The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499. You can specify multiple values (for example, 200,202) or a range of values (for example, 200-299).

Definition at line 220 of file ContainerServiceHealthCheckConfig.h.

◆ TimeoutSecondsHasBeenSet()

bool Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::TimeoutSecondsHasBeenSet ( ) const
inline

The amount of time, in seconds, during which no response means a failed health check. You can specify between 2 and 60 seconds. The default value is 2.

Definition at line 111 of file ContainerServiceHealthCheckConfig.h.

◆ UnhealthyThresholdHasBeenSet()

bool Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::UnhealthyThresholdHasBeenSet ( ) const
inline

The number of consecutive health check failures required before moving the container to the Unhealthy state. The default value is 2.

Definition at line 82 of file ContainerServiceHealthCheckConfig.h.

◆ WithHealthyThreshold()

ContainerServiceHealthCheckConfig& Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::WithHealthyThreshold ( int  value)
inline

The number of consecutive health checks successes required before moving the container to the Healthy state. The default value is 2.

Definition at line 67 of file ContainerServiceHealthCheckConfig.h.

◆ WithIntervalSeconds()

ContainerServiceHealthCheckConfig& Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::WithIntervalSeconds ( int  value)
inline

The approximate interval, in seconds, between health checks of an individual container. You can specify between 5 and 300 seconds. The default value is 5.

Definition at line 154 of file ContainerServiceHealthCheckConfig.h.

◆ WithPath() [1/3]

ContainerServiceHealthCheckConfig& Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::WithPath ( Aws::String &&  value)
inline

The path on the container on which to perform the health check. The default value is /.

Definition at line 197 of file ContainerServiceHealthCheckConfig.h.

◆ WithPath() [2/3]

ContainerServiceHealthCheckConfig& Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::WithPath ( const Aws::String value)
inline

The path on the container on which to perform the health check. The default value is /.

Definition at line 191 of file ContainerServiceHealthCheckConfig.h.

◆ WithPath() [3/3]

ContainerServiceHealthCheckConfig& Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::WithPath ( const char *  value)
inline

The path on the container on which to perform the health check. The default value is /.

Definition at line 203 of file ContainerServiceHealthCheckConfig.h.

◆ WithSuccessCodes() [1/3]

ContainerServiceHealthCheckConfig& Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::WithSuccessCodes ( Aws::String &&  value)
inline

The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499. You can specify multiple values (for example, 200,202) or a range of values (for example, 200-299).

Definition at line 260 of file ContainerServiceHealthCheckConfig.h.

◆ WithSuccessCodes() [2/3]

ContainerServiceHealthCheckConfig& Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::WithSuccessCodes ( const Aws::String value)
inline

The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499. You can specify multiple values (for example, 200,202) or a range of values (for example, 200-299).

Definition at line 252 of file ContainerServiceHealthCheckConfig.h.

◆ WithSuccessCodes() [3/3]

ContainerServiceHealthCheckConfig& Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::WithSuccessCodes ( const char *  value)
inline

The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499. You can specify multiple values (for example, 200,202) or a range of values (for example, 200-299).

Definition at line 268 of file ContainerServiceHealthCheckConfig.h.

◆ WithTimeoutSeconds()

ContainerServiceHealthCheckConfig& Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::WithTimeoutSeconds ( int  value)
inline

The amount of time, in seconds, during which no response means a failed health check. You can specify between 2 and 60 seconds. The default value is 2.

Definition at line 125 of file ContainerServiceHealthCheckConfig.h.

◆ WithUnhealthyThreshold()

ContainerServiceHealthCheckConfig& Aws::Lightsail::Model::ContainerServiceHealthCheckConfig::WithUnhealthyThreshold ( int  value)
inline

The number of consecutive health check failures required before moving the container to the Unhealthy state. The default value is 2.

Definition at line 96 of file ContainerServiceHealthCheckConfig.h.


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