7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
9#include <aws/ecs/model/GatewayConnectorHealthCheckMatcher.h>
10#include <aws/ecs/model/GatewayConnectorHealthCheckProtocol.h>
47 m_healthCheckProtocolHasBeenSet =
true;
48 m_healthCheckProtocol = value;
63 m_healthCheckPortHasBeenSet =
true;
64 m_healthCheckPort = value;
78 template <
typename HealthCheckPathT = Aws::String>
80 m_healthCheckPathHasBeenSet =
true;
81 m_healthCheckPath = std::forward<HealthCheckPathT>(value);
83 template <
typename HealthCheckPathT = Aws::String>
98 m_healthCheckTimeoutSecondsHasBeenSet =
true;
99 m_healthCheckTimeoutSeconds = value;
115 m_healthCheckIntervalSecondsHasBeenSet =
true;
116 m_healthCheckIntervalSeconds = value;
132 m_healthyThresholdCountHasBeenSet =
true;
133 m_healthyThresholdCount = value;
149 m_unhealthyThresholdCountHasBeenSet =
true;
150 m_unhealthyThresholdCount = value;
165 template <
typename MatcherT = GatewayConnectorHealthCheckMatcher>
167 m_matcherHasBeenSet =
true;
168 m_matcher = std::forward<MatcherT>(value);
170 template <
typename MatcherT = GatewayConnectorHealthCheckMatcher>
179 int m_healthCheckPort{0};
183 int m_healthCheckTimeoutSeconds{0};
185 int m_healthCheckIntervalSeconds{0};
187 int m_healthyThresholdCount{0};
189 int m_unhealthyThresholdCount{0};
191 GatewayConnectorHealthCheckMatcher m_matcher;
192 bool m_healthCheckProtocolHasBeenSet =
false;
193 bool m_healthCheckPortHasBeenSet =
false;
194 bool m_healthCheckPathHasBeenSet =
false;
195 bool m_healthCheckTimeoutSecondsHasBeenSet =
false;
196 bool m_healthCheckIntervalSecondsHasBeenSet =
false;
197 bool m_healthyThresholdCountHasBeenSet =
false;
198 bool m_unhealthyThresholdCountHasBeenSet =
false;
199 bool m_matcherHasBeenSet =
false;
int GetHealthCheckTimeoutSeconds() const
AWS_ECS_API GatewayConnectorHealthCheck()=default
void SetHealthCheckIntervalSeconds(int value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
GatewayConnectorHealthCheck & WithHealthCheckProtocol(GatewayConnectorHealthCheckProtocol value)
GatewayConnectorHealthCheckProtocol GetHealthCheckProtocol() const
GatewayConnectorHealthCheck & WithHealthCheckTimeoutSeconds(int value)
AWS_ECS_API GatewayConnectorHealthCheck & operator=(Aws::Utils::Json::JsonView jsonValue)
GatewayConnectorHealthCheck & WithHealthCheckPath(HealthCheckPathT &&value)
const Aws::String & GetHealthCheckPath() const
bool UnhealthyThresholdCountHasBeenSet() const
AWS_ECS_API GatewayConnectorHealthCheck(Aws::Utils::Json::JsonView jsonValue)
int GetHealthCheckIntervalSeconds() const
GatewayConnectorHealthCheck & WithMatcher(MatcherT &&value)
void SetHealthCheckProtocol(GatewayConnectorHealthCheckProtocol value)
GatewayConnectorHealthCheck & WithHealthyThresholdCount(int value)
bool HealthCheckProtocolHasBeenSet() const
bool HealthyThresholdCountHasBeenSet() const
int GetHealthyThresholdCount() const
void SetMatcher(MatcherT &&value)
void SetHealthCheckPort(int value)
int GetUnhealthyThresholdCount() const
void SetHealthCheckTimeoutSeconds(int value)
GatewayConnectorHealthCheck & WithHealthCheckIntervalSeconds(int value)
void SetUnhealthyThresholdCount(int value)
GatewayConnectorHealthCheck & WithUnhealthyThresholdCount(int value)
bool HealthCheckPathHasBeenSet() const
bool HealthCheckPortHasBeenSet() const
GatewayConnectorHealthCheck & WithHealthCheckPort(int value)
void SetHealthCheckPath(HealthCheckPathT &&value)
bool MatcherHasBeenSet() const
bool HealthCheckTimeoutSecondsHasBeenSet() const
void SetHealthyThresholdCount(int value)
const GatewayConnectorHealthCheckMatcher & GetMatcher() const
int GetHealthCheckPort() const
bool HealthCheckIntervalSecondsHasBeenSet() const
GatewayConnectorHealthCheckProtocol
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue