7#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
8#include <aws/servicediscovery/ServiceDiscoveryRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/servicediscovery/model/CustomHealthStatus.h>
15namespace ServiceDiscovery
31 inline virtual const char*
GetServiceRequestName()
const override {
return "UpdateInstanceCustomHealthStatus"; }
47 inline void SetServiceId(
const char* value) { m_serviceIdHasBeenSet =
true; m_serviceId.assign(value); }
61 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
82 bool m_serviceIdHasBeenSet =
false;
85 bool m_instanceIdHasBeenSet =
false;
88 bool m_statusHasBeenSet =
false;
UpdateInstanceCustomHealthStatusRequest & WithStatus(CustomHealthStatus &&value)
const Aws::String & GetServiceId() const
void SetInstanceId(Aws::String &&value)
const Aws::String & GetInstanceId() const
virtual const char * GetServiceRequestName() const override
UpdateInstanceCustomHealthStatusRequest & WithInstanceId(const Aws::String &value)
UpdateInstanceCustomHealthStatusRequest & WithServiceId(const char *value)
const CustomHealthStatus & GetStatus() const
UpdateInstanceCustomHealthStatusRequest & WithServiceId(const Aws::String &value)
bool ServiceIdHasBeenSet() const
void SetInstanceId(const Aws::String &value)
bool InstanceIdHasBeenSet() const
AWS_SERVICEDISCOVERY_API Aws::String SerializePayload() const override
bool StatusHasBeenSet() const
AWS_SERVICEDISCOVERY_API UpdateInstanceCustomHealthStatusRequest()
void SetStatus(CustomHealthStatus &&value)
void SetServiceId(const Aws::String &value)
UpdateInstanceCustomHealthStatusRequest & WithInstanceId(Aws::String &&value)
void SetServiceId(const char *value)
UpdateInstanceCustomHealthStatusRequest & WithInstanceId(const char *value)
void SetInstanceId(const char *value)
void SetStatus(const CustomHealthStatus &value)
void SetServiceId(Aws::String &&value)
UpdateInstanceCustomHealthStatusRequest & WithServiceId(Aws::String &&value)
UpdateInstanceCustomHealthStatusRequest & WithStatus(const CustomHealthStatus &value)
AWS_SERVICEDISCOVERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String