7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/apprunner/model/HealthCheckProtocol.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
63 template<
typename PathT = Aws::String>
64 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
65 template<
typename PathT = Aws::String>
76 inline void SetInterval(
int value) { m_intervalHasBeenSet =
true; m_interval = value; }
87 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
98 inline void SetHealthyThreshold(
int value) { m_healthyThresholdHasBeenSet =
true; m_healthyThreshold = value; }
109 inline void SetUnhealthyThreshold(
int value) { m_unhealthyThresholdHasBeenSet =
true; m_unhealthyThreshold = value; }
115 bool m_protocolHasBeenSet =
false;
118 bool m_pathHasBeenSet =
false;
121 bool m_intervalHasBeenSet =
false;
124 bool m_timeoutHasBeenSet =
false;
126 int m_healthyThreshold{0};
127 bool m_healthyThresholdHasBeenSet =
false;
129 int m_unhealthyThreshold{0};
130 bool m_unhealthyThresholdHasBeenSet =
false;
HealthCheckConfiguration & WithProtocol(HealthCheckProtocol value)
bool IntervalHasBeenSet() const
AWS_APPRUNNER_API HealthCheckConfiguration()=default
AWS_APPRUNNER_API HealthCheckConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
HealthCheckConfiguration & WithTimeout(int value)
void SetUnhealthyThreshold(int value)
const Aws::String & GetPath() const
HealthCheckConfiguration & WithHealthyThreshold(int value)
void SetTimeout(int value)
void SetHealthyThreshold(int value)
HealthCheckConfiguration & WithPath(PathT &&value)
bool UnhealthyThresholdHasBeenSet() const
bool PathHasBeenSet() const
bool HealthyThresholdHasBeenSet() const
AWS_APPRUNNER_API HealthCheckConfiguration(Aws::Utils::Json::JsonView jsonValue)
HealthCheckConfiguration & WithUnhealthyThreshold(int value)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
HealthCheckProtocol GetProtocol() const
void SetInterval(int value)
HealthCheckConfiguration & WithInterval(int value)
int GetHealthyThreshold() const
bool ProtocolHasBeenSet() const
bool TimeoutHasBeenSet() const
void SetPath(PathT &&value)
int GetUnhealthyThreshold() const
void SetProtocol(HealthCheckProtocol value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue