7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
44 m_healthyThresholdHasBeenSet =
true;
45 m_healthyThreshold = value;
62 m_unhealthyThresholdHasBeenSet =
true;
63 m_unhealthyThreshold = value;
80 m_timeoutSecondsHasBeenSet =
true;
81 m_timeoutSeconds = value;
98 m_intervalSecondsHasBeenSet =
true;
99 m_intervalSeconds = value;
114 template <
typename PathT = Aws::String>
116 m_pathHasBeenSet =
true;
117 m_path = std::forward<PathT>(value);
119 template <
typename PathT = Aws::String>
121 SetPath(std::forward<PathT>(value));
135 template <
typename SuccessCodesT = Aws::String>
137 m_successCodesHasBeenSet =
true;
138 m_successCodes = std::forward<SuccessCodesT>(value);
140 template <
typename SuccessCodesT = Aws::String>
147 int m_healthyThreshold{0};
149 int m_unhealthyThreshold{0};
151 int m_timeoutSeconds{0};
153 int m_intervalSeconds{0};
158 bool m_healthyThresholdHasBeenSet =
false;
159 bool m_unhealthyThresholdHasBeenSet =
false;
160 bool m_timeoutSecondsHasBeenSet =
false;
161 bool m_intervalSecondsHasBeenSet =
false;
162 bool m_pathHasBeenSet =
false;
163 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