7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/vpc-lattice/model/Matcher.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/vpc-lattice/model/TargetGroupProtocol.h>
11#include <aws/vpc-lattice/model/HealthCheckProtocolVersion.h>
51 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
95 inline void SetMatcher(
const Matcher& value) { m_matcherHasBeenSet =
true; m_matcher = value; }
96 inline void SetMatcher(
Matcher&& value) { m_matcherHasBeenSet =
true; m_matcher = std::move(value); }
113 inline void SetPath(
const char* value) { m_pathHasBeenSet =
true; m_path.assign(value); }
126 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
170 bool m_enabledHasBeenSet =
false;
172 int m_healthCheckIntervalSeconds;
173 bool m_healthCheckIntervalSecondsHasBeenSet =
false;
175 int m_healthCheckTimeoutSeconds;
176 bool m_healthCheckTimeoutSecondsHasBeenSet =
false;
178 int m_healthyThresholdCount;
179 bool m_healthyThresholdCountHasBeenSet =
false;
182 bool m_matcherHasBeenSet =
false;
185 bool m_pathHasBeenSet =
false;
188 bool m_portHasBeenSet =
false;
191 bool m_protocolHasBeenSet =
false;
194 bool m_protocolVersionHasBeenSet =
false;
196 int m_unhealthyThresholdCount;
197 bool m_unhealthyThresholdCountHasBeenSet =
false;
bool UnhealthyThresholdCountHasBeenSet() const
bool HealthyThresholdCountHasBeenSet() const
AWS_VPCLATTICE_API HealthCheckConfig(Aws::Utils::Json::JsonView jsonValue)
HealthCheckConfig & WithPath(const char *value)
HealthCheckConfig & WithUnhealthyThresholdCount(int value)
AWS_VPCLATTICE_API HealthCheckConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMatcher(Matcher &&value)
const TargetGroupProtocol & GetProtocol() const
const HealthCheckProtocolVersion & GetProtocolVersion() const
void SetHealthyThresholdCount(int value)
HealthCheckConfig & WithMatcher(const Matcher &value)
HealthCheckConfig & WithHealthyThresholdCount(int value)
HealthCheckConfig & WithHealthCheckTimeoutSeconds(int value)
bool ProtocolHasBeenSet() const
HealthCheckConfig & WithPort(int value)
bool EnabledHasBeenSet() const
void SetPath(const Aws::String &value)
int GetHealthyThresholdCount() const
void SetEnabled(bool value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMatcher(const Matcher &value)
HealthCheckConfig & WithProtocolVersion(const HealthCheckProtocolVersion &value)
void SetPath(Aws::String &&value)
void SetProtocolVersion(HealthCheckProtocolVersion &&value)
bool HealthCheckTimeoutSecondsHasBeenSet() const
void SetHealthCheckIntervalSeconds(int value)
HealthCheckConfig & WithProtocol(const TargetGroupProtocol &value)
bool HealthCheckIntervalSecondsHasBeenSet() const
HealthCheckConfig & WithProtocol(TargetGroupProtocol &&value)
const Matcher & GetMatcher() const
void SetProtocol(const TargetGroupProtocol &value)
void SetUnhealthyThresholdCount(int value)
HealthCheckConfig & WithPath(const Aws::String &value)
HealthCheckConfig & WithMatcher(Matcher &&value)
void SetProtocol(TargetGroupProtocol &&value)
bool PathHasBeenSet() const
bool MatcherHasBeenSet() const
int GetHealthCheckIntervalSeconds() const
bool ProtocolVersionHasBeenSet() const
HealthCheckConfig & WithEnabled(bool value)
bool PortHasBeenSet() const
int GetHealthCheckTimeoutSeconds() const
HealthCheckConfig & WithProtocolVersion(HealthCheckProtocolVersion &&value)
const Aws::String & GetPath() const
HealthCheckConfig & WithHealthCheckIntervalSeconds(int value)
int GetUnhealthyThresholdCount() const
void SetPath(const char *value)
void SetHealthCheckTimeoutSeconds(int value)
void SetProtocolVersion(const HealthCheckProtocolVersion &value)
HealthCheckConfig & WithPath(Aws::String &&value)
AWS_VPCLATTICE_API HealthCheckConfig()
HealthCheckProtocolVersion
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue