AWS SDK for C++  1.9.156
AWS SDK for C++
Public Member Functions | List of all members
Aws::IoT::Model::CloudwatchAlarmAction Class Reference

#include <CloudwatchAlarmAction.h>

Public Member Functions

 CloudwatchAlarmAction ()
 
 CloudwatchAlarmAction (Aws::Utils::Json::JsonView jsonValue)
 
CloudwatchAlarmActionoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetRoleArn () const
 
bool RoleArnHasBeenSet () const
 
void SetRoleArn (const Aws::String &value)
 
void SetRoleArn (Aws::String &&value)
 
void SetRoleArn (const char *value)
 
CloudwatchAlarmActionWithRoleArn (const Aws::String &value)
 
CloudwatchAlarmActionWithRoleArn (Aws::String &&value)
 
CloudwatchAlarmActionWithRoleArn (const char *value)
 
const Aws::StringGetAlarmName () const
 
bool AlarmNameHasBeenSet () const
 
void SetAlarmName (const Aws::String &value)
 
void SetAlarmName (Aws::String &&value)
 
void SetAlarmName (const char *value)
 
CloudwatchAlarmActionWithAlarmName (const Aws::String &value)
 
CloudwatchAlarmActionWithAlarmName (Aws::String &&value)
 
CloudwatchAlarmActionWithAlarmName (const char *value)
 
const Aws::StringGetStateReason () const
 
bool StateReasonHasBeenSet () const
 
void SetStateReason (const Aws::String &value)
 
void SetStateReason (Aws::String &&value)
 
void SetStateReason (const char *value)
 
CloudwatchAlarmActionWithStateReason (const Aws::String &value)
 
CloudwatchAlarmActionWithStateReason (Aws::String &&value)
 
CloudwatchAlarmActionWithStateReason (const char *value)
 
const Aws::StringGetStateValue () const
 
bool StateValueHasBeenSet () const
 
void SetStateValue (const Aws::String &value)
 
void SetStateValue (Aws::String &&value)
 
void SetStateValue (const char *value)
 
CloudwatchAlarmActionWithStateValue (const Aws::String &value)
 
CloudwatchAlarmActionWithStateValue (Aws::String &&value)
 
CloudwatchAlarmActionWithStateValue (const char *value)
 

Detailed Description

Describes an action that updates a CloudWatch alarm.

See Also:

AWS API Reference

Definition at line 32 of file CloudwatchAlarmAction.h.

Constructor & Destructor Documentation

◆ CloudwatchAlarmAction() [1/2]

Aws::IoT::Model::CloudwatchAlarmAction::CloudwatchAlarmAction ( )

◆ CloudwatchAlarmAction() [2/2]

Aws::IoT::Model::CloudwatchAlarmAction::CloudwatchAlarmAction ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AlarmNameHasBeenSet()

bool Aws::IoT::Model::CloudwatchAlarmAction::AlarmNameHasBeenSet ( ) const
inline

The CloudWatch alarm name.

Definition at line 90 of file CloudwatchAlarmAction.h.

◆ GetAlarmName()

const Aws::String& Aws::IoT::Model::CloudwatchAlarmAction::GetAlarmName ( ) const
inline

The CloudWatch alarm name.

Definition at line 85 of file CloudwatchAlarmAction.h.

◆ GetRoleArn()

const Aws::String& Aws::IoT::Model::CloudwatchAlarmAction::GetRoleArn ( ) const
inline

The IAM role that allows access to the CloudWatch alarm.

Definition at line 44 of file CloudwatchAlarmAction.h.

◆ GetStateReason()

const Aws::String& Aws::IoT::Model::CloudwatchAlarmAction::GetStateReason ( ) const
inline

The reason for the alarm change.

Definition at line 126 of file CloudwatchAlarmAction.h.

◆ GetStateValue()

const Aws::String& Aws::IoT::Model::CloudwatchAlarmAction::GetStateValue ( ) const
inline

The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.

Definition at line 168 of file CloudwatchAlarmAction.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::IoT::Model::CloudwatchAlarmAction::Jsonize ( ) const

◆ operator=()

CloudwatchAlarmAction& Aws::IoT::Model::CloudwatchAlarmAction::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ RoleArnHasBeenSet()

bool Aws::IoT::Model::CloudwatchAlarmAction::RoleArnHasBeenSet ( ) const
inline

The IAM role that allows access to the CloudWatch alarm.

Definition at line 49 of file CloudwatchAlarmAction.h.

◆ SetAlarmName() [1/3]

void Aws::IoT::Model::CloudwatchAlarmAction::SetAlarmName ( Aws::String &&  value)
inline

The CloudWatch alarm name.

Definition at line 100 of file CloudwatchAlarmAction.h.

◆ SetAlarmName() [2/3]

void Aws::IoT::Model::CloudwatchAlarmAction::SetAlarmName ( const Aws::String value)
inline

The CloudWatch alarm name.

Definition at line 95 of file CloudwatchAlarmAction.h.

◆ SetAlarmName() [3/3]

void Aws::IoT::Model::CloudwatchAlarmAction::SetAlarmName ( const char *  value)
inline

The CloudWatch alarm name.

Definition at line 105 of file CloudwatchAlarmAction.h.

◆ SetRoleArn() [1/3]

void Aws::IoT::Model::CloudwatchAlarmAction::SetRoleArn ( Aws::String &&  value)
inline

The IAM role that allows access to the CloudWatch alarm.

Definition at line 59 of file CloudwatchAlarmAction.h.

◆ SetRoleArn() [2/3]

void Aws::IoT::Model::CloudwatchAlarmAction::SetRoleArn ( const Aws::String value)
inline

The IAM role that allows access to the CloudWatch alarm.

Definition at line 54 of file CloudwatchAlarmAction.h.

◆ SetRoleArn() [3/3]

void Aws::IoT::Model::CloudwatchAlarmAction::SetRoleArn ( const char *  value)
inline

The IAM role that allows access to the CloudWatch alarm.

Definition at line 64 of file CloudwatchAlarmAction.h.

◆ SetStateReason() [1/3]

void Aws::IoT::Model::CloudwatchAlarmAction::SetStateReason ( Aws::String &&  value)
inline

The reason for the alarm change.

Definition at line 141 of file CloudwatchAlarmAction.h.

◆ SetStateReason() [2/3]

void Aws::IoT::Model::CloudwatchAlarmAction::SetStateReason ( const Aws::String value)
inline

The reason for the alarm change.

Definition at line 136 of file CloudwatchAlarmAction.h.

◆ SetStateReason() [3/3]

void Aws::IoT::Model::CloudwatchAlarmAction::SetStateReason ( const char *  value)
inline

The reason for the alarm change.

Definition at line 146 of file CloudwatchAlarmAction.h.

◆ SetStateValue() [1/3]

void Aws::IoT::Model::CloudwatchAlarmAction::SetStateValue ( Aws::String &&  value)
inline

The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.

Definition at line 186 of file CloudwatchAlarmAction.h.

◆ SetStateValue() [2/3]

void Aws::IoT::Model::CloudwatchAlarmAction::SetStateValue ( const Aws::String value)
inline

The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.

Definition at line 180 of file CloudwatchAlarmAction.h.

◆ SetStateValue() [3/3]

void Aws::IoT::Model::CloudwatchAlarmAction::SetStateValue ( const char *  value)
inline

The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.

Definition at line 192 of file CloudwatchAlarmAction.h.

◆ StateReasonHasBeenSet()

bool Aws::IoT::Model::CloudwatchAlarmAction::StateReasonHasBeenSet ( ) const
inline

The reason for the alarm change.

Definition at line 131 of file CloudwatchAlarmAction.h.

◆ StateValueHasBeenSet()

bool Aws::IoT::Model::CloudwatchAlarmAction::StateValueHasBeenSet ( ) const
inline

The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.

Definition at line 174 of file CloudwatchAlarmAction.h.

◆ WithAlarmName() [1/3]

CloudwatchAlarmAction& Aws::IoT::Model::CloudwatchAlarmAction::WithAlarmName ( Aws::String &&  value)
inline

The CloudWatch alarm name.

Definition at line 115 of file CloudwatchAlarmAction.h.

◆ WithAlarmName() [2/3]

CloudwatchAlarmAction& Aws::IoT::Model::CloudwatchAlarmAction::WithAlarmName ( const Aws::String value)
inline

The CloudWatch alarm name.

Definition at line 110 of file CloudwatchAlarmAction.h.

◆ WithAlarmName() [3/3]

CloudwatchAlarmAction& Aws::IoT::Model::CloudwatchAlarmAction::WithAlarmName ( const char *  value)
inline

The CloudWatch alarm name.

Definition at line 120 of file CloudwatchAlarmAction.h.

◆ WithRoleArn() [1/3]

CloudwatchAlarmAction& Aws::IoT::Model::CloudwatchAlarmAction::WithRoleArn ( Aws::String &&  value)
inline

The IAM role that allows access to the CloudWatch alarm.

Definition at line 74 of file CloudwatchAlarmAction.h.

◆ WithRoleArn() [2/3]

CloudwatchAlarmAction& Aws::IoT::Model::CloudwatchAlarmAction::WithRoleArn ( const Aws::String value)
inline

The IAM role that allows access to the CloudWatch alarm.

Definition at line 69 of file CloudwatchAlarmAction.h.

◆ WithRoleArn() [3/3]

CloudwatchAlarmAction& Aws::IoT::Model::CloudwatchAlarmAction::WithRoleArn ( const char *  value)
inline

The IAM role that allows access to the CloudWatch alarm.

Definition at line 79 of file CloudwatchAlarmAction.h.

◆ WithStateReason() [1/3]

CloudwatchAlarmAction& Aws::IoT::Model::CloudwatchAlarmAction::WithStateReason ( Aws::String &&  value)
inline

The reason for the alarm change.

Definition at line 156 of file CloudwatchAlarmAction.h.

◆ WithStateReason() [2/3]

CloudwatchAlarmAction& Aws::IoT::Model::CloudwatchAlarmAction::WithStateReason ( const Aws::String value)
inline

The reason for the alarm change.

Definition at line 151 of file CloudwatchAlarmAction.h.

◆ WithStateReason() [3/3]

CloudwatchAlarmAction& Aws::IoT::Model::CloudwatchAlarmAction::WithStateReason ( const char *  value)
inline

The reason for the alarm change.

Definition at line 161 of file CloudwatchAlarmAction.h.

◆ WithStateValue() [1/3]

CloudwatchAlarmAction& Aws::IoT::Model::CloudwatchAlarmAction::WithStateValue ( Aws::String &&  value)
inline

The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.

Definition at line 204 of file CloudwatchAlarmAction.h.

◆ WithStateValue() [2/3]

CloudwatchAlarmAction& Aws::IoT::Model::CloudwatchAlarmAction::WithStateValue ( const Aws::String value)
inline

The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.

Definition at line 198 of file CloudwatchAlarmAction.h.

◆ WithStateValue() [3/3]

CloudwatchAlarmAction& Aws::IoT::Model::CloudwatchAlarmAction::WithStateValue ( const char *  value)
inline

The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.

Definition at line 210 of file CloudwatchAlarmAction.h.


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