AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::OpsWorks::Model::StopInstanceRequest Class Reference

#include <StopInstanceRequest.h>

+ Inheritance diagram for Aws::OpsWorks::Model::StopInstanceRequest:

Public Member Functions

 StopInstanceRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () 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)
 
StopInstanceRequestWithInstanceId (const Aws::String &value)
 
StopInstanceRequestWithInstanceId (Aws::String &&value)
 
StopInstanceRequestWithInstanceId (const char *value)
 
bool GetForce () const
 
bool ForceHasBeenSet () const
 
void SetForce (bool value)
 
StopInstanceRequestWithForce (bool value)
 
- Public Member Functions inherited from Aws::OpsWorks::OpsWorksRequest
virtual ~OpsWorksRequest ()
 
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
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 21 of file StopInstanceRequest.h.

Constructor & Destructor Documentation

◆ StopInstanceRequest()

Aws::OpsWorks::Model::StopInstanceRequest::StopInstanceRequest ( )

Member Function Documentation

◆ ForceHasBeenSet()

bool Aws::OpsWorks::Model::StopInstanceRequest::ForceHasBeenSet ( ) const
inline

Specifies whether to force an instance to stop. If the instance's root device type is ebs, or EBS-backed, adding the Force parameter to the StopInstances API call disassociates the AWS OpsWorks Stacks instance from EC2, and forces deletion of only the OpsWorks Stacks instance. You must also delete the formerly-associated instance in EC2 after troubleshooting and replacing the AWS OpsWorks Stacks instance with a new one.

Definition at line 98 of file StopInstanceRequest.h.

◆ GetForce()

bool Aws::OpsWorks::Model::StopInstanceRequest::GetForce ( ) const
inline

Specifies whether to force an instance to stop. If the instance's root device type is ebs, or EBS-backed, adding the Force parameter to the StopInstances API call disassociates the AWS OpsWorks Stacks instance from EC2, and forces deletion of only the OpsWorks Stacks instance. You must also delete the formerly-associated instance in EC2 after troubleshooting and replacing the AWS OpsWorks Stacks instance with a new one.

Definition at line 87 of file StopInstanceRequest.h.

◆ GetInstanceId()

const Aws::String& Aws::OpsWorks::Model::StopInstanceRequest::GetInstanceId ( ) const
inline

The instance ID.

Definition at line 40 of file StopInstanceRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::OpsWorks::Model::StopInstanceRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::OpsWorks::OpsWorksRequest.

◆ GetServiceRequestName()

virtual const char* Aws::OpsWorks::Model::StopInstanceRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 30 of file StopInstanceRequest.h.

◆ InstanceIdHasBeenSet()

bool Aws::OpsWorks::Model::StopInstanceRequest::InstanceIdHasBeenSet ( ) const
inline

The instance ID.

Definition at line 45 of file StopInstanceRequest.h.

◆ SerializePayload()

Aws::String Aws::OpsWorks::Model::StopInstanceRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetForce()

void Aws::OpsWorks::Model::StopInstanceRequest::SetForce ( bool  value)
inline

Specifies whether to force an instance to stop. If the instance's root device type is ebs, or EBS-backed, adding the Force parameter to the StopInstances API call disassociates the AWS OpsWorks Stacks instance from EC2, and forces deletion of only the OpsWorks Stacks instance. You must also delete the formerly-associated instance in EC2 after troubleshooting and replacing the AWS OpsWorks Stacks instance with a new one.

Definition at line 109 of file StopInstanceRequest.h.

◆ SetInstanceId() [1/3]

void Aws::OpsWorks::Model::StopInstanceRequest::SetInstanceId ( const Aws::String value)
inline

The instance ID.

Definition at line 50 of file StopInstanceRequest.h.

◆ SetInstanceId() [2/3]

void Aws::OpsWorks::Model::StopInstanceRequest::SetInstanceId ( Aws::String &&  value)
inline

The instance ID.

Definition at line 55 of file StopInstanceRequest.h.

◆ SetInstanceId() [3/3]

void Aws::OpsWorks::Model::StopInstanceRequest::SetInstanceId ( const char *  value)
inline

The instance ID.

Definition at line 60 of file StopInstanceRequest.h.

◆ WithForce()

StopInstanceRequest& Aws::OpsWorks::Model::StopInstanceRequest::WithForce ( bool  value)
inline

Specifies whether to force an instance to stop. If the instance's root device type is ebs, or EBS-backed, adding the Force parameter to the StopInstances API call disassociates the AWS OpsWorks Stacks instance from EC2, and forces deletion of only the OpsWorks Stacks instance. You must also delete the formerly-associated instance in EC2 after troubleshooting and replacing the AWS OpsWorks Stacks instance with a new one.

Definition at line 120 of file StopInstanceRequest.h.

◆ WithInstanceId() [1/3]

StopInstanceRequest& Aws::OpsWorks::Model::StopInstanceRequest::WithInstanceId ( const Aws::String value)
inline

The instance ID.

Definition at line 65 of file StopInstanceRequest.h.

◆ WithInstanceId() [2/3]

StopInstanceRequest& Aws::OpsWorks::Model::StopInstanceRequest::WithInstanceId ( Aws::String &&  value)
inline

The instance ID.

Definition at line 70 of file StopInstanceRequest.h.

◆ WithInstanceId() [3/3]

StopInstanceRequest& Aws::OpsWorks::Model::StopInstanceRequest::WithInstanceId ( const char *  value)
inline

The instance ID.

Definition at line 75 of file StopInstanceRequest.h.


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