7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/PortProtocol.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
44 m_healthyThresholdHasBeenSet =
true;
45 m_healthyThreshold = value;
60 m_intervalMillisHasBeenSet =
true;
61 m_intervalMillis = value;
77 template <
typename PathT = Aws::String>
79 m_pathHasBeenSet =
true;
80 m_path = std::forward<PathT>(value);
82 template <
typename PathT = Aws::String>
84 SetPath(std::forward<PathT>(value));
94 inline int GetPort()
const {
return m_port; }
97 m_portHasBeenSet =
true;
116 m_protocolHasBeenSet =
true;
133 m_timeoutMillisHasBeenSet =
true;
134 m_timeoutMillis = value;
150 m_unhealthyThresholdHasBeenSet =
true;
151 m_unhealthyThreshold = value;
159 int m_healthyThreshold{0};
161 long long m_intervalMillis{0};
169 long long m_timeoutMillis{0};
171 int m_unhealthyThreshold{0};
172 bool m_healthyThresholdHasBeenSet =
false;
173 bool m_intervalMillisHasBeenSet =
false;
174 bool m_pathHasBeenSet =
false;
175 bool m_portHasBeenSet =
false;
176 bool m_protocolHasBeenSet =
false;
177 bool m_timeoutMillisHasBeenSet =
false;
178 bool m_unhealthyThresholdHasBeenSet =
false;
HealthCheckPolicy & WithTimeoutMillis(long long value)
void SetTimeoutMillis(long long value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMESH_API HealthCheckPolicy(Aws::Utils::Json::JsonView jsonValue)
HealthCheckPolicy & WithIntervalMillis(long long value)
bool ProtocolHasBeenSet() const
long long GetIntervalMillis() const
HealthCheckPolicy & WithProtocol(PortProtocol value)
HealthCheckPolicy & WithPath(PathT &&value)
PortProtocol GetProtocol() const
AWS_APPMESH_API HealthCheckPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API HealthCheckPolicy()=default
bool UnhealthyThresholdHasBeenSet() const
const Aws::String & GetPath() const
bool PortHasBeenSet() const
int GetHealthyThreshold() const
void SetPath(PathT &&value)
HealthCheckPolicy & WithPort(int value)
long long GetTimeoutMillis() const
bool TimeoutMillisHasBeenSet() const
bool PathHasBeenSet() const
int GetUnhealthyThreshold() const
void SetIntervalMillis(long long value)
void SetProtocol(PortProtocol value)
bool IntervalMillisHasBeenSet() const
HealthCheckPolicy & WithUnhealthyThreshold(int value)
void SetHealthyThreshold(int value)
bool HealthyThresholdHasBeenSet() const
void SetUnhealthyThreshold(int value)
HealthCheckPolicy & WithHealthyThreshold(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue