7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetHealthyThreshold(
int value) { m_healthyThresholdHasBeenSet =
true; m_healthyThreshold = value; }
61 inline void SetUnhealthyThreshold(
int value) { m_unhealthyThresholdHasBeenSet =
true; m_unhealthyThreshold = value; }
73 inline void SetTimeoutSeconds(
int value) { m_timeoutSecondsHasBeenSet =
true; m_timeoutSeconds = value; }
85 inline void SetIntervalSeconds(
int value) { m_intervalSecondsHasBeenSet =
true; m_intervalSeconds = value; }
98 inline void SetPath(
const char* value) { m_pathHasBeenSet =
true; m_path.assign(value); }
115 inline void SetSuccessCodes(
const char* value) { m_successCodesHasBeenSet =
true; m_successCodes.assign(value); }
122 int m_healthyThreshold;
123 bool m_healthyThresholdHasBeenSet =
false;
125 int m_unhealthyThreshold;
126 bool m_unhealthyThresholdHasBeenSet =
false;
128 int m_timeoutSeconds;
129 bool m_timeoutSecondsHasBeenSet =
false;
131 int m_intervalSeconds;
132 bool m_intervalSecondsHasBeenSet =
false;
135 bool m_pathHasBeenSet =
false;
138 bool m_successCodesHasBeenSet =
false;
void SetPath(const char *value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPath() const
ContainerServiceHealthCheckConfig & WithSuccessCodes(const Aws::String &value)
ContainerServiceHealthCheckConfig & WithPath(Aws::String &&value)
bool UnhealthyThresholdHasBeenSet() const
ContainerServiceHealthCheckConfig & WithPath(const char *value)
void SetSuccessCodes(Aws::String &&value)
const Aws::String & GetSuccessCodes() const
bool PathHasBeenSet() const
ContainerServiceHealthCheckConfig & WithUnhealthyThreshold(int value)
ContainerServiceHealthCheckConfig & WithSuccessCodes(Aws::String &&value)
AWS_LIGHTSAIL_API ContainerServiceHealthCheckConfig(Aws::Utils::Json::JsonView jsonValue)
ContainerServiceHealthCheckConfig & WithIntervalSeconds(int value)
int GetTimeoutSeconds() const
bool IntervalSecondsHasBeenSet() const
AWS_LIGHTSAIL_API ContainerServiceHealthCheckConfig()
void SetIntervalSeconds(int value)
ContainerServiceHealthCheckConfig & WithHealthyThreshold(int value)
void SetHealthyThreshold(int value)
void SetPath(const Aws::String &value)
int GetHealthyThreshold() const
ContainerServiceHealthCheckConfig & WithPath(const Aws::String &value)
void SetPath(Aws::String &&value)
bool TimeoutSecondsHasBeenSet() const
void SetSuccessCodes(const char *value)
void SetSuccessCodes(const Aws::String &value)
int GetIntervalSeconds() const
AWS_LIGHTSAIL_API ContainerServiceHealthCheckConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ContainerServiceHealthCheckConfig & WithSuccessCodes(const char *value)
bool SuccessCodesHasBeenSet() const
void SetTimeoutSeconds(int value)
int GetUnhealthyThreshold() const
ContainerServiceHealthCheckConfig & WithTimeoutSeconds(int value)
void SetUnhealthyThreshold(int value)
bool HealthyThresholdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue