7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appmesh/model/VirtualGatewayPortProtocol.h>
49 inline void SetHealthyThreshold(
int value) { m_healthyThresholdHasBeenSet =
true; m_healthyThreshold = value; }
59 inline void SetIntervalMillis(
long long value) { m_intervalMillisHasBeenSet =
true; m_intervalMillis = value; }
73 inline void SetPath(
const char* value) { m_pathHasBeenSet =
true; m_path.assign(value); }
84 inline int GetPort()
const{
return m_port; }
86 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
112 inline void SetTimeoutMillis(
long long value) { m_timeoutMillisHasBeenSet =
true; m_timeoutMillis = value; }
123 inline void SetUnhealthyThreshold(
int value) { m_unhealthyThresholdHasBeenSet =
true; m_unhealthyThreshold = value; }
128 int m_healthyThreshold;
129 bool m_healthyThresholdHasBeenSet =
false;
131 long long m_intervalMillis;
132 bool m_intervalMillisHasBeenSet =
false;
135 bool m_pathHasBeenSet =
false;
138 bool m_portHasBeenSet =
false;
141 bool m_protocolHasBeenSet =
false;
143 long long m_timeoutMillis;
144 bool m_timeoutMillisHasBeenSet =
false;
146 int m_unhealthyThreshold;
147 bool m_unhealthyThresholdHasBeenSet =
false;
VirtualGatewayHealthCheckPolicy & WithPath(const Aws::String &value)
void SetPath(const char *value)
void SetPath(Aws::String &&value)
bool TimeoutMillisHasBeenSet() const
bool UnhealthyThresholdHasBeenSet() const
bool PortHasBeenSet() const
const VirtualGatewayPortProtocol & GetProtocol() const
VirtualGatewayHealthCheckPolicy & WithPath(const char *value)
VirtualGatewayHealthCheckPolicy & WithHealthyThreshold(int value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
bool IntervalMillisHasBeenSet() const
void SetUnhealthyThreshold(int value)
void SetTimeoutMillis(long long value)
VirtualGatewayHealthCheckPolicy & WithIntervalMillis(long long value)
bool PathHasBeenSet() const
AWS_APPMESH_API VirtualGatewayHealthCheckPolicy()
AWS_APPMESH_API VirtualGatewayHealthCheckPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
VirtualGatewayHealthCheckPolicy & WithUnhealthyThreshold(int value)
void SetProtocol(VirtualGatewayPortProtocol &&value)
int GetHealthyThreshold() const
VirtualGatewayHealthCheckPolicy & WithPort(int value)
bool HealthyThresholdHasBeenSet() const
VirtualGatewayHealthCheckPolicy & WithProtocol(VirtualGatewayPortProtocol &&value)
int GetUnhealthyThreshold() const
AWS_APPMESH_API VirtualGatewayHealthCheckPolicy(Aws::Utils::Json::JsonView jsonValue)
VirtualGatewayHealthCheckPolicy & WithPath(Aws::String &&value)
const Aws::String & GetPath() const
void SetPath(const Aws::String &value)
void SetProtocol(const VirtualGatewayPortProtocol &value)
VirtualGatewayHealthCheckPolicy & WithTimeoutMillis(long long value)
long long GetTimeoutMillis() const
void SetIntervalMillis(long long value)
void SetHealthyThreshold(int value)
bool ProtocolHasBeenSet() const
VirtualGatewayHealthCheckPolicy & WithProtocol(const VirtualGatewayPortProtocol &value)
long long GetIntervalMillis() const
VirtualGatewayPortProtocol
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue