AWS SDK for C++  1.8.94
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::AutoScaling::Model::SetInstanceHealthRequest Class Reference

#include <SetInstanceHealthRequest.h>

+ Inheritance diagram for Aws::AutoScaling::Model::SetInstanceHealthRequest:

Public Member Functions

 SetInstanceHealthRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetInstanceId () const
 
bool InstanceIdHasBeenSet () const
 
void SetInstanceId (const Aws::String &value)
 
void SetInstanceId (Aws::String &&value)
 
void SetInstanceId (const char *value)
 
SetInstanceHealthRequestWithInstanceId (const Aws::String &value)
 
SetInstanceHealthRequestWithInstanceId (Aws::String &&value)
 
SetInstanceHealthRequestWithInstanceId (const char *value)
 
const Aws::StringGetHealthStatus () const
 
bool HealthStatusHasBeenSet () const
 
void SetHealthStatus (const Aws::String &value)
 
void SetHealthStatus (Aws::String &&value)
 
void SetHealthStatus (const char *value)
 
SetInstanceHealthRequestWithHealthStatus (const Aws::String &value)
 
SetInstanceHealthRequestWithHealthStatus (Aws::String &&value)
 
SetInstanceHealthRequestWithHealthStatus (const char *value)
 
bool GetShouldRespectGracePeriod () const
 
bool ShouldRespectGracePeriodHasBeenSet () const
 
void SetShouldRespectGracePeriod (bool value)
 
SetInstanceHealthRequestWithShouldRespectGracePeriod (bool value)
 
- Public Member Functions inherited from Aws::AutoScaling::AutoScalingRequest
virtual ~AutoScalingRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Protected Member Functions

void DumpBodyToUrl (Aws::Http::URI &uri) const override
 
- Protected Member Functions inherited from Aws::AutoScaling::AutoScalingRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 21 of file SetInstanceHealthRequest.h.

Constructor & Destructor Documentation

◆ SetInstanceHealthRequest()

Aws::AutoScaling::Model::SetInstanceHealthRequest::SetInstanceHealthRequest ( )

Member Function Documentation

◆ DumpBodyToUrl()

void Aws::AutoScaling::Model::SetInstanceHealthRequest::DumpBodyToUrl ( Aws::Http::URI uri) const
overrideprotectedvirtual

Default does nothing. Override this to convert what would otherwise be the payload of the request to a query string format.

Reimplemented from Aws::AmazonWebServiceRequest.

◆ GetHealthStatus()

const Aws::String& Aws::AutoScaling::Model::SetInstanceHealthRequest::GetHealthStatus ( ) const
inline

The health status of the instance. Set to Healthy to have the instance remain in service. Set to Unhealthy to have the instance be out of service. Amazon EC2 Auto Scaling terminates and replaces the unhealthy instance.

Definition at line 86 of file SetInstanceHealthRequest.h.

◆ GetInstanceId()

const Aws::String& Aws::AutoScaling::Model::SetInstanceHealthRequest::GetInstanceId ( ) const
inline

The ID of the instance.

Definition at line 42 of file SetInstanceHealthRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::AutoScaling::Model::SetInstanceHealthRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 30 of file SetInstanceHealthRequest.h.

◆ GetShouldRespectGracePeriod()

bool Aws::AutoScaling::Model::SetInstanceHealthRequest::GetShouldRespectGracePeriod ( ) const
inline

If the Auto Scaling group of the specified instance has a HealthCheckGracePeriod specified for the group, by default, this call respects the grace period. Set this to False, to have the call not respect the grace period associated with the group.

For more information about the health check grace period, see CreateAutoScalingGroup in the Amazon EC2 Auto Scaling API Reference.

Definition at line 154 of file SetInstanceHealthRequest.h.

◆ HealthStatusHasBeenSet()

bool Aws::AutoScaling::Model::SetInstanceHealthRequest::HealthStatusHasBeenSet ( ) const
inline

The health status of the instance. Set to Healthy to have the instance remain in service. Set to Unhealthy to have the instance be out of service. Amazon EC2 Auto Scaling terminates and replaces the unhealthy instance.

Definition at line 94 of file SetInstanceHealthRequest.h.

◆ InstanceIdHasBeenSet()

bool Aws::AutoScaling::Model::SetInstanceHealthRequest::InstanceIdHasBeenSet ( ) const
inline

The ID of the instance.

Definition at line 47 of file SetInstanceHealthRequest.h.

◆ SerializePayload()

Aws::String Aws::AutoScaling::Model::SetInstanceHealthRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetHealthStatus() [1/3]

void Aws::AutoScaling::Model::SetInstanceHealthRequest::SetHealthStatus ( const Aws::String value)
inline

The health status of the instance. Set to Healthy to have the instance remain in service. Set to Unhealthy to have the instance be out of service. Amazon EC2 Auto Scaling terminates and replaces the unhealthy instance.

Definition at line 102 of file SetInstanceHealthRequest.h.

◆ SetHealthStatus() [2/3]

void Aws::AutoScaling::Model::SetInstanceHealthRequest::SetHealthStatus ( Aws::String &&  value)
inline

The health status of the instance. Set to Healthy to have the instance remain in service. Set to Unhealthy to have the instance be out of service. Amazon EC2 Auto Scaling terminates and replaces the unhealthy instance.

Definition at line 110 of file SetInstanceHealthRequest.h.

◆ SetHealthStatus() [3/3]

void Aws::AutoScaling::Model::SetInstanceHealthRequest::SetHealthStatus ( const char *  value)
inline

The health status of the instance. Set to Healthy to have the instance remain in service. Set to Unhealthy to have the instance be out of service. Amazon EC2 Auto Scaling terminates and replaces the unhealthy instance.

Definition at line 118 of file SetInstanceHealthRequest.h.

◆ SetInstanceId() [1/3]

void Aws::AutoScaling::Model::SetInstanceHealthRequest::SetInstanceId ( const Aws::String value)
inline

The ID of the instance.

Definition at line 52 of file SetInstanceHealthRequest.h.

◆ SetInstanceId() [2/3]

void Aws::AutoScaling::Model::SetInstanceHealthRequest::SetInstanceId ( Aws::String &&  value)
inline

The ID of the instance.

Definition at line 57 of file SetInstanceHealthRequest.h.

◆ SetInstanceId() [3/3]

void Aws::AutoScaling::Model::SetInstanceHealthRequest::SetInstanceId ( const char *  value)
inline

The ID of the instance.

Definition at line 62 of file SetInstanceHealthRequest.h.

◆ SetShouldRespectGracePeriod()

void Aws::AutoScaling::Model::SetInstanceHealthRequest::SetShouldRespectGracePeriod ( bool  value)
inline

If the Auto Scaling group of the specified instance has a HealthCheckGracePeriod specified for the group, by default, this call respects the grace period. Set this to False, to have the call not respect the grace period associated with the group.

For more information about the health check grace period, see CreateAutoScalingGroup in the Amazon EC2 Auto Scaling API Reference.

Definition at line 176 of file SetInstanceHealthRequest.h.

◆ ShouldRespectGracePeriodHasBeenSet()

bool Aws::AutoScaling::Model::SetInstanceHealthRequest::ShouldRespectGracePeriodHasBeenSet ( ) const
inline

If the Auto Scaling group of the specified instance has a HealthCheckGracePeriod specified for the group, by default, this call respects the grace period. Set this to False, to have the call not respect the grace period associated with the group.

For more information about the health check grace period, see CreateAutoScalingGroup in the Amazon EC2 Auto Scaling API Reference.

Definition at line 165 of file SetInstanceHealthRequest.h.

◆ WithHealthStatus() [1/3]

SetInstanceHealthRequest& Aws::AutoScaling::Model::SetInstanceHealthRequest::WithHealthStatus ( const Aws::String value)
inline

The health status of the instance. Set to Healthy to have the instance remain in service. Set to Unhealthy to have the instance be out of service. Amazon EC2 Auto Scaling terminates and replaces the unhealthy instance.

Definition at line 126 of file SetInstanceHealthRequest.h.

◆ WithHealthStatus() [2/3]

SetInstanceHealthRequest& Aws::AutoScaling::Model::SetInstanceHealthRequest::WithHealthStatus ( Aws::String &&  value)
inline

The health status of the instance. Set to Healthy to have the instance remain in service. Set to Unhealthy to have the instance be out of service. Amazon EC2 Auto Scaling terminates and replaces the unhealthy instance.

Definition at line 134 of file SetInstanceHealthRequest.h.

◆ WithHealthStatus() [3/3]

SetInstanceHealthRequest& Aws::AutoScaling::Model::SetInstanceHealthRequest::WithHealthStatus ( const char *  value)
inline

The health status of the instance. Set to Healthy to have the instance remain in service. Set to Unhealthy to have the instance be out of service. Amazon EC2 Auto Scaling terminates and replaces the unhealthy instance.

Definition at line 142 of file SetInstanceHealthRequest.h.

◆ WithInstanceId() [1/3]

SetInstanceHealthRequest& Aws::AutoScaling::Model::SetInstanceHealthRequest::WithInstanceId ( const Aws::String value)
inline

The ID of the instance.

Definition at line 67 of file SetInstanceHealthRequest.h.

◆ WithInstanceId() [2/3]

SetInstanceHealthRequest& Aws::AutoScaling::Model::SetInstanceHealthRequest::WithInstanceId ( Aws::String &&  value)
inline

The ID of the instance.

Definition at line 72 of file SetInstanceHealthRequest.h.

◆ WithInstanceId() [3/3]

SetInstanceHealthRequest& Aws::AutoScaling::Model::SetInstanceHealthRequest::WithInstanceId ( const char *  value)
inline

The ID of the instance.

Definition at line 77 of file SetInstanceHealthRequest.h.

◆ WithShouldRespectGracePeriod()

SetInstanceHealthRequest& Aws::AutoScaling::Model::SetInstanceHealthRequest::WithShouldRespectGracePeriod ( bool  value)
inline

If the Auto Scaling group of the specified instance has a HealthCheckGracePeriod specified for the group, by default, this call respects the grace period. Set this to False, to have the call not respect the grace period associated with the group.

For more information about the health check grace period, see CreateAutoScalingGroup in the Amazon EC2 Auto Scaling API Reference.

Definition at line 187 of file SetInstanceHealthRequest.h.


The documentation for this class was generated from the following file: