AWS SDK for C++  1.9.20
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::CloudWatch::Model::SetAlarmStateRequest Class Reference

#include <SetAlarmStateRequest.h>

+ Inheritance diagram for Aws::CloudWatch::Model::SetAlarmStateRequest:

Public Member Functions

 SetAlarmStateRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetAlarmName () const
 
bool AlarmNameHasBeenSet () const
 
void SetAlarmName (const Aws::String &value)
 
void SetAlarmName (Aws::String &&value)
 
void SetAlarmName (const char *value)
 
SetAlarmStateRequestWithAlarmName (const Aws::String &value)
 
SetAlarmStateRequestWithAlarmName (Aws::String &&value)
 
SetAlarmStateRequestWithAlarmName (const char *value)
 
const StateValueGetStateValue () const
 
bool StateValueHasBeenSet () const
 
void SetStateValue (const StateValue &value)
 
void SetStateValue (StateValue &&value)
 
SetAlarmStateRequestWithStateValue (const StateValue &value)
 
SetAlarmStateRequestWithStateValue (StateValue &&value)
 
const Aws::StringGetStateReason () const
 
bool StateReasonHasBeenSet () const
 
void SetStateReason (const Aws::String &value)
 
void SetStateReason (Aws::String &&value)
 
void SetStateReason (const char *value)
 
SetAlarmStateRequestWithStateReason (const Aws::String &value)
 
SetAlarmStateRequestWithStateReason (Aws::String &&value)
 
SetAlarmStateRequestWithStateReason (const char *value)
 
const Aws::StringGetStateReasonData () const
 
bool StateReasonDataHasBeenSet () const
 
void SetStateReasonData (const Aws::String &value)
 
void SetStateReasonData (Aws::String &&value)
 
void SetStateReasonData (const char *value)
 
SetAlarmStateRequestWithStateReasonData (const Aws::String &value)
 
SetAlarmStateRequestWithStateReasonData (Aws::String &&value)
 
SetAlarmStateRequestWithStateReasonData (const char *value)
 
- Public Member Functions inherited from Aws::CloudWatch::CloudWatchRequest
virtual ~CloudWatchRequest ()
 
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::CloudWatch::CloudWatchRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 22 of file SetAlarmStateRequest.h.

Constructor & Destructor Documentation

◆ SetAlarmStateRequest()

Aws::CloudWatch::Model::SetAlarmStateRequest::SetAlarmStateRequest ( )

Member Function Documentation

◆ AlarmNameHasBeenSet()

bool Aws::CloudWatch::Model::SetAlarmStateRequest::AlarmNameHasBeenSet ( ) const
inline

The name of the alarm.

Definition at line 48 of file SetAlarmStateRequest.h.

◆ DumpBodyToUrl()

void Aws::CloudWatch::Model::SetAlarmStateRequest::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.

◆ GetAlarmName()

const Aws::String& Aws::CloudWatch::Model::SetAlarmStateRequest::GetAlarmName ( ) const
inline

The name of the alarm.

Definition at line 43 of file SetAlarmStateRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::CloudWatch::Model::SetAlarmStateRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 31 of file SetAlarmStateRequest.h.

◆ GetStateReason()

const Aws::String& Aws::CloudWatch::Model::SetAlarmStateRequest::GetStateReason ( ) const
inline

The reason that this alarm is set to this specific state, in text format.

Definition at line 115 of file SetAlarmStateRequest.h.

◆ GetStateReasonData()

const Aws::String& Aws::CloudWatch::Model::SetAlarmStateRequest::GetStateReasonData ( ) const
inline

The reason that this alarm is set to this specific state, in JSON format.

For SNS or EC2 alarm actions, this is just informational. But for EC2 Auto Scaling or application Auto Scaling alarm actions, the Auto Scaling policy uses the information in this field to take the correct action.

Definition at line 159 of file SetAlarmStateRequest.h.

◆ GetStateValue()

const StateValue& Aws::CloudWatch::Model::SetAlarmStateRequest::GetStateValue ( ) const
inline

The value of the state.

Definition at line 84 of file SetAlarmStateRequest.h.

◆ SerializePayload()

Aws::String Aws::CloudWatch::Model::SetAlarmStateRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAlarmName() [1/3]

void Aws::CloudWatch::Model::SetAlarmStateRequest::SetAlarmName ( Aws::String &&  value)
inline

The name of the alarm.

Definition at line 58 of file SetAlarmStateRequest.h.

◆ SetAlarmName() [2/3]

void Aws::CloudWatch::Model::SetAlarmStateRequest::SetAlarmName ( const Aws::String value)
inline

The name of the alarm.

Definition at line 53 of file SetAlarmStateRequest.h.

◆ SetAlarmName() [3/3]

void Aws::CloudWatch::Model::SetAlarmStateRequest::SetAlarmName ( const char *  value)
inline

The name of the alarm.

Definition at line 63 of file SetAlarmStateRequest.h.

◆ SetStateReason() [1/3]

void Aws::CloudWatch::Model::SetAlarmStateRequest::SetStateReason ( Aws::String &&  value)
inline

The reason that this alarm is set to this specific state, in text format.

Definition at line 130 of file SetAlarmStateRequest.h.

◆ SetStateReason() [2/3]

void Aws::CloudWatch::Model::SetAlarmStateRequest::SetStateReason ( const Aws::String value)
inline

The reason that this alarm is set to this specific state, in text format.

Definition at line 125 of file SetAlarmStateRequest.h.

◆ SetStateReason() [3/3]

void Aws::CloudWatch::Model::SetAlarmStateRequest::SetStateReason ( const char *  value)
inline

The reason that this alarm is set to this specific state, in text format.

Definition at line 135 of file SetAlarmStateRequest.h.

◆ SetStateReasonData() [1/3]

void Aws::CloudWatch::Model::SetAlarmStateRequest::SetStateReasonData ( Aws::String &&  value)
inline

The reason that this alarm is set to this specific state, in JSON format.

For SNS or EC2 alarm actions, this is just informational. But for EC2 Auto Scaling or application Auto Scaling alarm actions, the Auto Scaling policy uses the information in this field to take the correct action.

Definition at line 183 of file SetAlarmStateRequest.h.

◆ SetStateReasonData() [2/3]

void Aws::CloudWatch::Model::SetAlarmStateRequest::SetStateReasonData ( const Aws::String value)
inline

The reason that this alarm is set to this specific state, in JSON format.

For SNS or EC2 alarm actions, this is just informational. But for EC2 Auto Scaling or application Auto Scaling alarm actions, the Auto Scaling policy uses the information in this field to take the correct action.

Definition at line 175 of file SetAlarmStateRequest.h.

◆ SetStateReasonData() [3/3]

void Aws::CloudWatch::Model::SetAlarmStateRequest::SetStateReasonData ( const char *  value)
inline

The reason that this alarm is set to this specific state, in JSON format.

For SNS or EC2 alarm actions, this is just informational. But for EC2 Auto Scaling or application Auto Scaling alarm actions, the Auto Scaling policy uses the information in this field to take the correct action.

Definition at line 191 of file SetAlarmStateRequest.h.

◆ SetStateValue() [1/2]

void Aws::CloudWatch::Model::SetAlarmStateRequest::SetStateValue ( const StateValue value)
inline

The value of the state.

Definition at line 94 of file SetAlarmStateRequest.h.

◆ SetStateValue() [2/2]

void Aws::CloudWatch::Model::SetAlarmStateRequest::SetStateValue ( StateValue &&  value)
inline

The value of the state.

Definition at line 99 of file SetAlarmStateRequest.h.

◆ StateReasonDataHasBeenSet()

bool Aws::CloudWatch::Model::SetAlarmStateRequest::StateReasonDataHasBeenSet ( ) const
inline

The reason that this alarm is set to this specific state, in JSON format.

For SNS or EC2 alarm actions, this is just informational. But for EC2 Auto Scaling or application Auto Scaling alarm actions, the Auto Scaling policy uses the information in this field to take the correct action.

Definition at line 167 of file SetAlarmStateRequest.h.

◆ StateReasonHasBeenSet()

bool Aws::CloudWatch::Model::SetAlarmStateRequest::StateReasonHasBeenSet ( ) const
inline

The reason that this alarm is set to this specific state, in text format.

Definition at line 120 of file SetAlarmStateRequest.h.

◆ StateValueHasBeenSet()

bool Aws::CloudWatch::Model::SetAlarmStateRequest::StateValueHasBeenSet ( ) const
inline

The value of the state.

Definition at line 89 of file SetAlarmStateRequest.h.

◆ WithAlarmName() [1/3]

SetAlarmStateRequest& Aws::CloudWatch::Model::SetAlarmStateRequest::WithAlarmName ( Aws::String &&  value)
inline

The name of the alarm.

Definition at line 73 of file SetAlarmStateRequest.h.

◆ WithAlarmName() [2/3]

SetAlarmStateRequest& Aws::CloudWatch::Model::SetAlarmStateRequest::WithAlarmName ( const Aws::String value)
inline

The name of the alarm.

Definition at line 68 of file SetAlarmStateRequest.h.

◆ WithAlarmName() [3/3]

SetAlarmStateRequest& Aws::CloudWatch::Model::SetAlarmStateRequest::WithAlarmName ( const char *  value)
inline

The name of the alarm.

Definition at line 78 of file SetAlarmStateRequest.h.

◆ WithStateReason() [1/3]

SetAlarmStateRequest& Aws::CloudWatch::Model::SetAlarmStateRequest::WithStateReason ( Aws::String &&  value)
inline

The reason that this alarm is set to this specific state, in text format.

Definition at line 145 of file SetAlarmStateRequest.h.

◆ WithStateReason() [2/3]

SetAlarmStateRequest& Aws::CloudWatch::Model::SetAlarmStateRequest::WithStateReason ( const Aws::String value)
inline

The reason that this alarm is set to this specific state, in text format.

Definition at line 140 of file SetAlarmStateRequest.h.

◆ WithStateReason() [3/3]

SetAlarmStateRequest& Aws::CloudWatch::Model::SetAlarmStateRequest::WithStateReason ( const char *  value)
inline

The reason that this alarm is set to this specific state, in text format.

Definition at line 150 of file SetAlarmStateRequest.h.

◆ WithStateReasonData() [1/3]

SetAlarmStateRequest& Aws::CloudWatch::Model::SetAlarmStateRequest::WithStateReasonData ( Aws::String &&  value)
inline

The reason that this alarm is set to this specific state, in JSON format.

For SNS or EC2 alarm actions, this is just informational. But for EC2 Auto Scaling or application Auto Scaling alarm actions, the Auto Scaling policy uses the information in this field to take the correct action.

Definition at line 207 of file SetAlarmStateRequest.h.

◆ WithStateReasonData() [2/3]

SetAlarmStateRequest& Aws::CloudWatch::Model::SetAlarmStateRequest::WithStateReasonData ( const Aws::String value)
inline

The reason that this alarm is set to this specific state, in JSON format.

For SNS or EC2 alarm actions, this is just informational. But for EC2 Auto Scaling or application Auto Scaling alarm actions, the Auto Scaling policy uses the information in this field to take the correct action.

Definition at line 199 of file SetAlarmStateRequest.h.

◆ WithStateReasonData() [3/3]

SetAlarmStateRequest& Aws::CloudWatch::Model::SetAlarmStateRequest::WithStateReasonData ( const char *  value)
inline

The reason that this alarm is set to this specific state, in JSON format.

For SNS or EC2 alarm actions, this is just informational. But for EC2 Auto Scaling or application Auto Scaling alarm actions, the Auto Scaling policy uses the information in this field to take the correct action.

Definition at line 215 of file SetAlarmStateRequest.h.

◆ WithStateValue() [1/2]

SetAlarmStateRequest& Aws::CloudWatch::Model::SetAlarmStateRequest::WithStateValue ( const StateValue value)
inline

The value of the state.

Definition at line 104 of file SetAlarmStateRequest.h.

◆ WithStateValue() [2/2]

SetAlarmStateRequest& Aws::CloudWatch::Model::SetAlarmStateRequest::WithStateValue ( StateValue &&  value)
inline

The value of the state.

Definition at line 109 of file SetAlarmStateRequest.h.


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