7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rtbfabric/RTBFabric_EXPORTS.h>
9#include <aws/rtbfabric/model/Protocol.h>
41 inline int GetPort()
const {
return m_port; }
44 m_portHasBeenSet =
true;
60 template <
typename PathT = Aws::String>
62 m_pathHasBeenSet =
true;
63 m_path = std::forward<PathT>(value);
65 template <
typename PathT = Aws::String>
67 SetPath(std::forward<PathT>(value));
79 m_protocolHasBeenSet =
true;
96 m_timeoutMsHasBeenSet =
true;
113 m_intervalSecondsHasBeenSet =
true;
114 m_intervalSeconds = value;
131 template <
typename StatusCodeMatcherT = Aws::String>
133 m_statusCodeMatcherHasBeenSet =
true;
134 m_statusCodeMatcher = std::forward<StatusCodeMatcherT>(value);
136 template <
typename StatusCodeMatcherT = Aws::String>
151 m_healthyThresholdCountHasBeenSet =
true;
152 m_healthyThresholdCount = value;
168 m_unhealthyThresholdCountHasBeenSet =
true;
169 m_unhealthyThresholdCount = value;
185 int m_intervalSeconds{0};
189 int m_healthyThresholdCount{0};
191 int m_unhealthyThresholdCount{0};
192 bool m_portHasBeenSet =
false;
193 bool m_pathHasBeenSet =
false;
194 bool m_protocolHasBeenSet =
false;
195 bool m_timeoutMsHasBeenSet =
false;
196 bool m_intervalSecondsHasBeenSet =
false;
197 bool m_statusCodeMatcherHasBeenSet =
false;
198 bool m_healthyThresholdCountHasBeenSet =
false;
199 bool m_unhealthyThresholdCountHasBeenSet =
false;
HealthCheckConfig & WithPort(int value)
AWS_RTBFABRIC_API HealthCheckConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
HealthCheckConfig & WithPath(PathT &&value)
AWS_RTBFABRIC_API HealthCheckConfig(Aws::Utils::Json::JsonView jsonValue)
bool UnhealthyThresholdCountHasBeenSet() const
HealthCheckConfig & WithStatusCodeMatcher(StatusCodeMatcherT &&value)
void SetStatusCodeMatcher(StatusCodeMatcherT &&value)
int GetUnhealthyThresholdCount() const
bool HealthyThresholdCountHasBeenSet() const
HealthCheckConfig & WithTimeoutMs(int value)
bool StatusCodeMatcherHasBeenSet() const
bool PathHasBeenSet() const
const Aws::String & GetPath() const
void SetIntervalSeconds(int value)
Protocol GetProtocol() const
void SetProtocol(Protocol value)
void SetTimeoutMs(int value)
HealthCheckConfig & WithIntervalSeconds(int value)
void SetHealthyThresholdCount(int value)
bool IntervalSecondsHasBeenSet() const
bool TimeoutMsHasBeenSet() const
void SetPath(PathT &&value)
AWS_RTBFABRIC_API HealthCheckConfig()=default
bool ProtocolHasBeenSet() const
bool PortHasBeenSet() const
AWS_RTBFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const
HealthCheckConfig & WithHealthyThresholdCount(int value)
int GetHealthyThresholdCount() const
int GetIntervalSeconds() const
HealthCheckConfig & WithProtocol(Protocol value)
const Aws::String & GetStatusCodeMatcher() const
HealthCheckConfig & WithUnhealthyThresholdCount(int value)
void SetUnhealthyThresholdCount(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue