AWS SDK for C++  1.8.93
AWS SDK for C++
Public Member Functions | List of all members
Aws::Lightsail::Model::MonitoredResourceInfo Class Reference

#include <MonitoredResourceInfo.h>

Public Member Functions

 MonitoredResourceInfo ()
 
 MonitoredResourceInfo (Aws::Utils::Json::JsonView jsonValue)
 
MonitoredResourceInfooperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetArn () const
 
bool ArnHasBeenSet () const
 
void SetArn (const Aws::String &value)
 
void SetArn (Aws::String &&value)
 
void SetArn (const char *value)
 
MonitoredResourceInfoWithArn (const Aws::String &value)
 
MonitoredResourceInfoWithArn (Aws::String &&value)
 
MonitoredResourceInfoWithArn (const char *value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
MonitoredResourceInfoWithName (const Aws::String &value)
 
MonitoredResourceInfoWithName (Aws::String &&value)
 
MonitoredResourceInfoWithName (const char *value)
 
const ResourceTypeGetResourceType () const
 
bool ResourceTypeHasBeenSet () const
 
void SetResourceType (const ResourceType &value)
 
void SetResourceType (ResourceType &&value)
 
MonitoredResourceInfoWithResourceType (const ResourceType &value)
 
MonitoredResourceInfoWithResourceType (ResourceType &&value)
 

Detailed Description

Describes resource being monitored by an alarm.

An alarm is a way to monitor your Amazon Lightsail resource metrics. For more information, see Alarms in Amazon Lightsail.

See Also:

AWS API Reference

Definition at line 35 of file MonitoredResourceInfo.h.

Constructor & Destructor Documentation

◆ MonitoredResourceInfo() [1/2]

Aws::Lightsail::Model::MonitoredResourceInfo::MonitoredResourceInfo ( )

◆ MonitoredResourceInfo() [2/2]

Aws::Lightsail::Model::MonitoredResourceInfo::MonitoredResourceInfo ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ ArnHasBeenSet()

bool Aws::Lightsail::Model::MonitoredResourceInfo::ArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the resource being monitored.

Definition at line 52 of file MonitoredResourceInfo.h.

◆ GetArn()

const Aws::String& Aws::Lightsail::Model::MonitoredResourceInfo::GetArn ( ) const
inline

The Amazon Resource Name (ARN) of the resource being monitored.

Definition at line 47 of file MonitoredResourceInfo.h.

◆ GetName()

const Aws::String& Aws::Lightsail::Model::MonitoredResourceInfo::GetName ( ) const
inline

The name of the Lightsail resource being monitored.

Definition at line 88 of file MonitoredResourceInfo.h.

◆ GetResourceType()

const ResourceType& Aws::Lightsail::Model::MonitoredResourceInfo::GetResourceType ( ) const
inline

The Lightsail resource type of the resource being monitored.

Instances, load balancers, and relational databases are the only Lightsail resources that can currently be monitored by alarms.

Definition at line 131 of file MonitoredResourceInfo.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Lightsail::Model::MonitoredResourceInfo::Jsonize ( ) const

◆ NameHasBeenSet()

bool Aws::Lightsail::Model::MonitoredResourceInfo::NameHasBeenSet ( ) const
inline

The name of the Lightsail resource being monitored.

Definition at line 93 of file MonitoredResourceInfo.h.

◆ operator=()

MonitoredResourceInfo& Aws::Lightsail::Model::MonitoredResourceInfo::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ResourceTypeHasBeenSet()

bool Aws::Lightsail::Model::MonitoredResourceInfo::ResourceTypeHasBeenSet ( ) const
inline

The Lightsail resource type of the resource being monitored.

Instances, load balancers, and relational databases are the only Lightsail resources that can currently be monitored by alarms.

Definition at line 138 of file MonitoredResourceInfo.h.

◆ SetArn() [1/3]

void Aws::Lightsail::Model::MonitoredResourceInfo::SetArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the resource being monitored.

Definition at line 57 of file MonitoredResourceInfo.h.

◆ SetArn() [2/3]

void Aws::Lightsail::Model::MonitoredResourceInfo::SetArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the resource being monitored.

Definition at line 62 of file MonitoredResourceInfo.h.

◆ SetArn() [3/3]

void Aws::Lightsail::Model::MonitoredResourceInfo::SetArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the resource being monitored.

Definition at line 67 of file MonitoredResourceInfo.h.

◆ SetName() [1/3]

void Aws::Lightsail::Model::MonitoredResourceInfo::SetName ( const Aws::String value)
inline

The name of the Lightsail resource being monitored.

Definition at line 98 of file MonitoredResourceInfo.h.

◆ SetName() [2/3]

void Aws::Lightsail::Model::MonitoredResourceInfo::SetName ( Aws::String &&  value)
inline

The name of the Lightsail resource being monitored.

Definition at line 103 of file MonitoredResourceInfo.h.

◆ SetName() [3/3]

void Aws::Lightsail::Model::MonitoredResourceInfo::SetName ( const char *  value)
inline

The name of the Lightsail resource being monitored.

Definition at line 108 of file MonitoredResourceInfo.h.

◆ SetResourceType() [1/2]

void Aws::Lightsail::Model::MonitoredResourceInfo::SetResourceType ( const ResourceType value)
inline

The Lightsail resource type of the resource being monitored.

Instances, load balancers, and relational databases are the only Lightsail resources that can currently be monitored by alarms.

Definition at line 145 of file MonitoredResourceInfo.h.

◆ SetResourceType() [2/2]

void Aws::Lightsail::Model::MonitoredResourceInfo::SetResourceType ( ResourceType &&  value)
inline

The Lightsail resource type of the resource being monitored.

Instances, load balancers, and relational databases are the only Lightsail resources that can currently be monitored by alarms.

Definition at line 152 of file MonitoredResourceInfo.h.

◆ WithArn() [1/3]

MonitoredResourceInfo& Aws::Lightsail::Model::MonitoredResourceInfo::WithArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the resource being monitored.

Definition at line 72 of file MonitoredResourceInfo.h.

◆ WithArn() [2/3]

MonitoredResourceInfo& Aws::Lightsail::Model::MonitoredResourceInfo::WithArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the resource being monitored.

Definition at line 77 of file MonitoredResourceInfo.h.

◆ WithArn() [3/3]

MonitoredResourceInfo& Aws::Lightsail::Model::MonitoredResourceInfo::WithArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the resource being monitored.

Definition at line 82 of file MonitoredResourceInfo.h.

◆ WithName() [1/3]

MonitoredResourceInfo& Aws::Lightsail::Model::MonitoredResourceInfo::WithName ( const Aws::String value)
inline

The name of the Lightsail resource being monitored.

Definition at line 113 of file MonitoredResourceInfo.h.

◆ WithName() [2/3]

MonitoredResourceInfo& Aws::Lightsail::Model::MonitoredResourceInfo::WithName ( Aws::String &&  value)
inline

The name of the Lightsail resource being monitored.

Definition at line 118 of file MonitoredResourceInfo.h.

◆ WithName() [3/3]

MonitoredResourceInfo& Aws::Lightsail::Model::MonitoredResourceInfo::WithName ( const char *  value)
inline

The name of the Lightsail resource being monitored.

Definition at line 123 of file MonitoredResourceInfo.h.

◆ WithResourceType() [1/2]

MonitoredResourceInfo& Aws::Lightsail::Model::MonitoredResourceInfo::WithResourceType ( const ResourceType value)
inline

The Lightsail resource type of the resource being monitored.

Instances, load balancers, and relational databases are the only Lightsail resources that can currently be monitored by alarms.

Definition at line 159 of file MonitoredResourceInfo.h.

◆ WithResourceType() [2/2]

MonitoredResourceInfo& Aws::Lightsail::Model::MonitoredResourceInfo::WithResourceType ( ResourceType &&  value)
inline

The Lightsail resource type of the resource being monitored.

Instances, load balancers, and relational databases are the only Lightsail resources that can currently be monitored by alarms.

Definition at line 166 of file MonitoredResourceInfo.h.


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