7#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
8#include <aws/servicediscovery/model/HealthCheckType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ServiceDiscovery
126 inline void SetResourcePath(
const char* value) { m_resourcePathHasBeenSet =
true; m_resourcePath.assign(value); }
143 inline void SetFailureThreshold(
int value) { m_failureThresholdHasBeenSet =
true; m_failureThreshold = value; }
149 bool m_typeHasBeenSet =
false;
152 bool m_resourcePathHasBeenSet =
false;
154 int m_failureThreshold;
155 bool m_failureThresholdHasBeenSet =
false;
AWS_SERVICEDISCOVERY_API HealthCheckConfig(Aws::Utils::Json::JsonView jsonValue)
void SetResourcePath(const Aws::String &value)
HealthCheckConfig & WithType(const HealthCheckType &value)
void SetResourcePath(Aws::String &&value)
void SetType(const HealthCheckType &value)
const HealthCheckType & GetType() const
HealthCheckConfig & WithResourcePath(Aws::String &&value)
AWS_SERVICEDISCOVERY_API HealthCheckConfig()
int GetFailureThreshold() const
const Aws::String & GetResourcePath() const
bool FailureThresholdHasBeenSet() const
bool ResourcePathHasBeenSet() const
HealthCheckConfig & WithResourcePath(const Aws::String &value)
HealthCheckConfig & WithType(HealthCheckType &&value)
void SetResourcePath(const char *value)
void SetType(HealthCheckType &&value)
HealthCheckConfig & WithResourcePath(const char *value)
AWS_SERVICEDISCOVERY_API HealthCheckConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
HealthCheckConfig & WithFailureThreshold(int value)
bool TypeHasBeenSet() const
void SetFailureThreshold(int value)
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue