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; }
96 template<
typename PathT = Aws::String>
97 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
98 template<
typename PathT = Aws::String>
111 template<
typename SuccessCodesT = Aws::String>
112 void SetSuccessCodes(SuccessCodesT&& value) { m_successCodesHasBeenSet =
true; m_successCodes = std::forward<SuccessCodesT>(value); }
113 template<
typename SuccessCodesT = Aws::String>
118 int m_healthyThreshold{0};
119 bool m_healthyThresholdHasBeenSet =
false;
121 int m_unhealthyThreshold{0};
122 bool m_unhealthyThresholdHasBeenSet =
false;
124 int m_timeoutSeconds{0};
125 bool m_timeoutSecondsHasBeenSet =
false;
127 int m_intervalSeconds{0};
128 bool m_intervalSecondsHasBeenSet =
false;
131 bool m_pathHasBeenSet =
false;
134 bool m_successCodesHasBeenSet =
false;
void SetPath(PathT &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
ContainerServiceHealthCheckConfig & WithPath(PathT &&value)
const Aws::String & GetPath() const
ContainerServiceHealthCheckConfig & WithSuccessCodes(SuccessCodesT &&value)
bool UnhealthyThresholdHasBeenSet() const
const Aws::String & GetSuccessCodes() const
bool PathHasBeenSet() const
ContainerServiceHealthCheckConfig & WithUnhealthyThreshold(int value)
AWS_LIGHTSAIL_API ContainerServiceHealthCheckConfig(Aws::Utils::Json::JsonView jsonValue)
ContainerServiceHealthCheckConfig & WithIntervalSeconds(int value)
int GetTimeoutSeconds() const
bool IntervalSecondsHasBeenSet() const
void SetIntervalSeconds(int value)
AWS_LIGHTSAIL_API ContainerServiceHealthCheckConfig()=default
ContainerServiceHealthCheckConfig & WithHealthyThreshold(int value)
void SetHealthyThreshold(int value)
int GetHealthyThreshold() const
bool TimeoutSecondsHasBeenSet() const
void SetSuccessCodes(SuccessCodesT &&value)
int GetIntervalSeconds() const
AWS_LIGHTSAIL_API ContainerServiceHealthCheckConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
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