7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/apprunner/model/HealthCheckProtocol.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
67 inline void SetPath(
const char* value) { m_pathHasBeenSet =
true; m_path.assign(value); }
80 inline void SetInterval(
int value) { m_intervalHasBeenSet =
true; m_interval = value; }
91 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
102 inline void SetHealthyThreshold(
int value) { m_healthyThresholdHasBeenSet =
true; m_healthyThreshold = value; }
113 inline void SetUnhealthyThreshold(
int value) { m_unhealthyThresholdHasBeenSet =
true; m_unhealthyThreshold = value; }
119 bool m_protocolHasBeenSet =
false;
122 bool m_pathHasBeenSet =
false;
125 bool m_intervalHasBeenSet =
false;
128 bool m_timeoutHasBeenSet =
false;
130 int m_healthyThreshold;
131 bool m_healthyThresholdHasBeenSet =
false;
133 int m_unhealthyThreshold;
134 bool m_unhealthyThresholdHasBeenSet =
false;
AWS_APPRUNNER_API HealthCheckConfiguration()
bool IntervalHasBeenSet() const
AWS_APPRUNNER_API HealthCheckConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
HealthCheckConfiguration & WithTimeout(int value)
void SetUnhealthyThreshold(int value)
void SetPath(Aws::String &&value)
const Aws::String & GetPath() const
HealthCheckConfiguration & WithHealthyThreshold(int value)
void SetTimeout(int value)
const HealthCheckProtocol & GetProtocol() const
HealthCheckConfiguration & WithPath(const Aws::String &value)
HealthCheckConfiguration & WithProtocol(const HealthCheckProtocol &value)
void SetHealthyThreshold(int value)
bool UnhealthyThresholdHasBeenSet() const
HealthCheckConfiguration & WithPath(const char *value)
void SetPath(const Aws::String &value)
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
HealthCheckConfiguration & WithProtocol(HealthCheckProtocol &&value)
void SetPath(const char *value)
void SetInterval(int value)
HealthCheckConfiguration & WithInterval(int value)
int GetHealthyThreshold() const
bool ProtocolHasBeenSet() const
void SetProtocol(HealthCheckProtocol &&value)
bool TimeoutHasBeenSet() const
HealthCheckConfiguration & WithPath(Aws::String &&value)
int GetUnhealthyThreshold() const
void SetProtocol(const HealthCheckProtocol &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue