AWS SDK for C++  1.9.132
AWS SDK for C++
Public Member Functions | List of all members
Aws::Redshift::Model::CreateUsageLimitResult Class Reference

#include <CreateUsageLimitResult.h>

Public Member Functions

 CreateUsageLimitResult ()
 
 CreateUsageLimitResult (const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
 
CreateUsageLimitResultoperator= (const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
 
const Aws::StringGetUsageLimitId () const
 
void SetUsageLimitId (const Aws::String &value)
 
void SetUsageLimitId (Aws::String &&value)
 
void SetUsageLimitId (const char *value)
 
CreateUsageLimitResultWithUsageLimitId (const Aws::String &value)
 
CreateUsageLimitResultWithUsageLimitId (Aws::String &&value)
 
CreateUsageLimitResultWithUsageLimitId (const char *value)
 
const Aws::StringGetClusterIdentifier () const
 
void SetClusterIdentifier (const Aws::String &value)
 
void SetClusterIdentifier (Aws::String &&value)
 
void SetClusterIdentifier (const char *value)
 
CreateUsageLimitResultWithClusterIdentifier (const Aws::String &value)
 
CreateUsageLimitResultWithClusterIdentifier (Aws::String &&value)
 
CreateUsageLimitResultWithClusterIdentifier (const char *value)
 
const UsageLimitFeatureTypeGetFeatureType () const
 
void SetFeatureType (const UsageLimitFeatureType &value)
 
void SetFeatureType (UsageLimitFeatureType &&value)
 
CreateUsageLimitResultWithFeatureType (const UsageLimitFeatureType &value)
 
CreateUsageLimitResultWithFeatureType (UsageLimitFeatureType &&value)
 
const UsageLimitLimitTypeGetLimitType () const
 
void SetLimitType (const UsageLimitLimitType &value)
 
void SetLimitType (UsageLimitLimitType &&value)
 
CreateUsageLimitResultWithLimitType (const UsageLimitLimitType &value)
 
CreateUsageLimitResultWithLimitType (UsageLimitLimitType &&value)
 
long long GetAmount () const
 
void SetAmount (long long value)
 
CreateUsageLimitResultWithAmount (long long value)
 
const UsageLimitPeriodGetPeriod () const
 
void SetPeriod (const UsageLimitPeriod &value)
 
void SetPeriod (UsageLimitPeriod &&value)
 
CreateUsageLimitResultWithPeriod (const UsageLimitPeriod &value)
 
CreateUsageLimitResultWithPeriod (UsageLimitPeriod &&value)
 
const UsageLimitBreachActionGetBreachAction () const
 
void SetBreachAction (const UsageLimitBreachAction &value)
 
void SetBreachAction (UsageLimitBreachAction &&value)
 
CreateUsageLimitResultWithBreachAction (const UsageLimitBreachAction &value)
 
CreateUsageLimitResultWithBreachAction (UsageLimitBreachAction &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateUsageLimitResultWithTags (const Aws::Vector< Tag > &value)
 
CreateUsageLimitResultWithTags (Aws::Vector< Tag > &&value)
 
CreateUsageLimitResultAddTags (const Tag &value)
 
CreateUsageLimitResultAddTags (Tag &&value)
 
const ResponseMetadataGetResponseMetadata () const
 
void SetResponseMetadata (const ResponseMetadata &value)
 
void SetResponseMetadata (ResponseMetadata &&value)
 
CreateUsageLimitResultWithResponseMetadata (const ResponseMetadata &value)
 
CreateUsageLimitResultWithResponseMetadata (ResponseMetadata &&value)
 

Detailed Description

Describes a usage limit object for a cluster.

See Also:

AWS API Reference

Definition at line 39 of file CreateUsageLimitResult.h.

Constructor & Destructor Documentation

◆ CreateUsageLimitResult() [1/2]

Aws::Redshift::Model::CreateUsageLimitResult::CreateUsageLimitResult ( )

◆ CreateUsageLimitResult() [2/2]

Aws::Redshift::Model::CreateUsageLimitResult::CreateUsageLimitResult ( const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &  result)

Member Function Documentation

◆ AddTags() [1/2]

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::AddTags ( const Tag value)
inline

A list of tag instances.

Definition at line 300 of file CreateUsageLimitResult.h.

◆ AddTags() [2/2]

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::AddTags ( Tag &&  value)
inline

A list of tag instances.

Definition at line 305 of file CreateUsageLimitResult.h.

◆ GetAmount()

long long Aws::Redshift::Model::CreateUsageLimitResult::GetAmount ( ) const
inline

The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).

Definition at line 180 of file CreateUsageLimitResult.h.

◆ GetBreachAction()

const UsageLimitBreachAction& Aws::Redshift::Model::CreateUsageLimitResult::GetBreachAction ( ) const
inline

The action that Amazon Redshift takes when the limit is reached. Possible values are:

  • log - To log an event in a system table. The default is log.

  • emit-metric - To emit CloudWatch metrics.

  • disable - To disable the feature until the next usage period begins.

Definition at line 233 of file CreateUsageLimitResult.h.

◆ GetClusterIdentifier()

const Aws::String& Aws::Redshift::Model::CreateUsageLimitResult::GetClusterIdentifier ( ) const
inline

The identifier of the cluster with a usage limit.

Definition at line 86 of file CreateUsageLimitResult.h.

◆ GetFeatureType()

const UsageLimitFeatureType& Aws::Redshift::Model::CreateUsageLimitResult::GetFeatureType ( ) const
inline

The Amazon Redshift feature to which the limit applies.

Definition at line 122 of file CreateUsageLimitResult.h.

◆ GetLimitType()

const UsageLimitLimitType& Aws::Redshift::Model::CreateUsageLimitResult::GetLimitType ( ) const
inline

The type of limit. Depending on the feature type, this can be based on a time duration or data size.

Definition at line 149 of file CreateUsageLimitResult.h.

◆ GetPeriod()

const UsageLimitPeriod& Aws::Redshift::Model::CreateUsageLimitResult::GetPeriod ( ) const
inline

The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

Definition at line 199 of file CreateUsageLimitResult.h.

◆ GetResponseMetadata()

const ResponseMetadata& Aws::Redshift::Model::CreateUsageLimitResult::GetResponseMetadata ( ) const
inline

Definition at line 309 of file CreateUsageLimitResult.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::Redshift::Model::CreateUsageLimitResult::GetTags ( ) const
inline

A list of tag instances.

Definition at line 275 of file CreateUsageLimitResult.h.

◆ GetUsageLimitId()

const Aws::String& Aws::Redshift::Model::CreateUsageLimitResult::GetUsageLimitId ( ) const
inline

The identifier of the usage limit.

Definition at line 50 of file CreateUsageLimitResult.h.

◆ operator=()

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::operator= ( const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &  result)

◆ SetAmount()

void Aws::Redshift::Model::CreateUsageLimitResult::SetAmount ( long long  value)
inline

The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).

Definition at line 186 of file CreateUsageLimitResult.h.

◆ SetBreachAction() [1/2]

void Aws::Redshift::Model::CreateUsageLimitResult::SetBreachAction ( const UsageLimitBreachAction value)
inline

The action that Amazon Redshift takes when the limit is reached. Possible values are:

  • log - To log an event in a system table. The default is log.

  • emit-metric - To emit CloudWatch metrics.

  • disable - To disable the feature until the next usage period begins.

Definition at line 242 of file CreateUsageLimitResult.h.

◆ SetBreachAction() [2/2]

void Aws::Redshift::Model::CreateUsageLimitResult::SetBreachAction ( UsageLimitBreachAction &&  value)
inline

The action that Amazon Redshift takes when the limit is reached. Possible values are:

  • log - To log an event in a system table. The default is log.

  • emit-metric - To emit CloudWatch metrics.

  • disable - To disable the feature until the next usage period begins.

Definition at line 251 of file CreateUsageLimitResult.h.

◆ SetClusterIdentifier() [1/3]

void Aws::Redshift::Model::CreateUsageLimitResult::SetClusterIdentifier ( Aws::String &&  value)
inline

The identifier of the cluster with a usage limit.

Definition at line 96 of file CreateUsageLimitResult.h.

◆ SetClusterIdentifier() [2/3]

void Aws::Redshift::Model::CreateUsageLimitResult::SetClusterIdentifier ( const Aws::String value)
inline

The identifier of the cluster with a usage limit.

Definition at line 91 of file CreateUsageLimitResult.h.

◆ SetClusterIdentifier() [3/3]

void Aws::Redshift::Model::CreateUsageLimitResult::SetClusterIdentifier ( const char *  value)
inline

The identifier of the cluster with a usage limit.

Definition at line 101 of file CreateUsageLimitResult.h.

◆ SetFeatureType() [1/2]

void Aws::Redshift::Model::CreateUsageLimitResult::SetFeatureType ( const UsageLimitFeatureType value)
inline

The Amazon Redshift feature to which the limit applies.

Definition at line 127 of file CreateUsageLimitResult.h.

◆ SetFeatureType() [2/2]

void Aws::Redshift::Model::CreateUsageLimitResult::SetFeatureType ( UsageLimitFeatureType &&  value)
inline

The Amazon Redshift feature to which the limit applies.

Definition at line 132 of file CreateUsageLimitResult.h.

◆ SetLimitType() [1/2]

void Aws::Redshift::Model::CreateUsageLimitResult::SetLimitType ( const UsageLimitLimitType value)
inline

The type of limit. Depending on the feature type, this can be based on a time duration or data size.

Definition at line 155 of file CreateUsageLimitResult.h.

◆ SetLimitType() [2/2]

void Aws::Redshift::Model::CreateUsageLimitResult::SetLimitType ( UsageLimitLimitType &&  value)
inline

The type of limit. Depending on the feature type, this can be based on a time duration or data size.

Definition at line 161 of file CreateUsageLimitResult.h.

◆ SetPeriod() [1/2]

void Aws::Redshift::Model::CreateUsageLimitResult::SetPeriod ( const UsageLimitPeriod value)
inline

The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

Definition at line 205 of file CreateUsageLimitResult.h.

◆ SetPeriod() [2/2]

void Aws::Redshift::Model::CreateUsageLimitResult::SetPeriod ( UsageLimitPeriod &&  value)
inline

The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

Definition at line 211 of file CreateUsageLimitResult.h.

◆ SetResponseMetadata() [1/2]

void Aws::Redshift::Model::CreateUsageLimitResult::SetResponseMetadata ( const ResponseMetadata value)
inline

Definition at line 312 of file CreateUsageLimitResult.h.

◆ SetResponseMetadata() [2/2]

void Aws::Redshift::Model::CreateUsageLimitResult::SetResponseMetadata ( ResponseMetadata &&  value)
inline

Definition at line 315 of file CreateUsageLimitResult.h.

◆ SetTags() [1/2]

void Aws::Redshift::Model::CreateUsageLimitResult::SetTags ( Aws::Vector< Tag > &&  value)
inline

A list of tag instances.

Definition at line 285 of file CreateUsageLimitResult.h.

◆ SetTags() [2/2]

void Aws::Redshift::Model::CreateUsageLimitResult::SetTags ( const Aws::Vector< Tag > &  value)
inline

A list of tag instances.

Definition at line 280 of file CreateUsageLimitResult.h.

◆ SetUsageLimitId() [1/3]

void Aws::Redshift::Model::CreateUsageLimitResult::SetUsageLimitId ( Aws::String &&  value)
inline

The identifier of the usage limit.

Definition at line 60 of file CreateUsageLimitResult.h.

◆ SetUsageLimitId() [2/3]

void Aws::Redshift::Model::CreateUsageLimitResult::SetUsageLimitId ( const Aws::String value)
inline

The identifier of the usage limit.

Definition at line 55 of file CreateUsageLimitResult.h.

◆ SetUsageLimitId() [3/3]

void Aws::Redshift::Model::CreateUsageLimitResult::SetUsageLimitId ( const char *  value)
inline

The identifier of the usage limit.

Definition at line 65 of file CreateUsageLimitResult.h.

◆ WithAmount()

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::WithAmount ( long long  value)
inline

The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).

Definition at line 192 of file CreateUsageLimitResult.h.

◆ WithBreachAction() [1/2]

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::WithBreachAction ( const UsageLimitBreachAction value)
inline

The action that Amazon Redshift takes when the limit is reached. Possible values are:

  • log - To log an event in a system table. The default is log.

  • emit-metric - To emit CloudWatch metrics.

  • disable - To disable the feature until the next usage period begins.

Definition at line 260 of file CreateUsageLimitResult.h.

◆ WithBreachAction() [2/2]

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::WithBreachAction ( UsageLimitBreachAction &&  value)
inline

The action that Amazon Redshift takes when the limit is reached. Possible values are:

  • log - To log an event in a system table. The default is log.

  • emit-metric - To emit CloudWatch metrics.

  • disable - To disable the feature until the next usage period begins.

Definition at line 269 of file CreateUsageLimitResult.h.

◆ WithClusterIdentifier() [1/3]

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::WithClusterIdentifier ( Aws::String &&  value)
inline

The identifier of the cluster with a usage limit.

Definition at line 111 of file CreateUsageLimitResult.h.

◆ WithClusterIdentifier() [2/3]

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::WithClusterIdentifier ( const Aws::String value)
inline

The identifier of the cluster with a usage limit.

Definition at line 106 of file CreateUsageLimitResult.h.

◆ WithClusterIdentifier() [3/3]

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::WithClusterIdentifier ( const char *  value)
inline

The identifier of the cluster with a usage limit.

Definition at line 116 of file CreateUsageLimitResult.h.

◆ WithFeatureType() [1/2]

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::WithFeatureType ( const UsageLimitFeatureType value)
inline

The Amazon Redshift feature to which the limit applies.

Definition at line 137 of file CreateUsageLimitResult.h.

◆ WithFeatureType() [2/2]

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::WithFeatureType ( UsageLimitFeatureType &&  value)
inline

The Amazon Redshift feature to which the limit applies.

Definition at line 142 of file CreateUsageLimitResult.h.

◆ WithLimitType() [1/2]

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::WithLimitType ( const UsageLimitLimitType value)
inline

The type of limit. Depending on the feature type, this can be based on a time duration or data size.

Definition at line 167 of file CreateUsageLimitResult.h.

◆ WithLimitType() [2/2]

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::WithLimitType ( UsageLimitLimitType &&  value)
inline

The type of limit. Depending on the feature type, this can be based on a time duration or data size.

Definition at line 173 of file CreateUsageLimitResult.h.

◆ WithPeriod() [1/2]

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::WithPeriod ( const UsageLimitPeriod value)
inline

The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

Definition at line 217 of file CreateUsageLimitResult.h.

◆ WithPeriod() [2/2]

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::WithPeriod ( UsageLimitPeriod &&  value)
inline

The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

Definition at line 223 of file CreateUsageLimitResult.h.

◆ WithResponseMetadata() [1/2]

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::WithResponseMetadata ( const ResponseMetadata value)
inline

Definition at line 318 of file CreateUsageLimitResult.h.

◆ WithResponseMetadata() [2/2]

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::WithResponseMetadata ( ResponseMetadata &&  value)
inline

Definition at line 321 of file CreateUsageLimitResult.h.

◆ WithTags() [1/2]

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::WithTags ( Aws::Vector< Tag > &&  value)
inline

A list of tag instances.

Definition at line 295 of file CreateUsageLimitResult.h.

◆ WithTags() [2/2]

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::WithTags ( const Aws::Vector< Tag > &  value)
inline

A list of tag instances.

Definition at line 290 of file CreateUsageLimitResult.h.

◆ WithUsageLimitId() [1/3]

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::WithUsageLimitId ( Aws::String &&  value)
inline

The identifier of the usage limit.

Definition at line 75 of file CreateUsageLimitResult.h.

◆ WithUsageLimitId() [2/3]

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::WithUsageLimitId ( const Aws::String value)
inline

The identifier of the usage limit.

Definition at line 70 of file CreateUsageLimitResult.h.

◆ WithUsageLimitId() [3/3]

CreateUsageLimitResult& Aws::Redshift::Model::CreateUsageLimitResult::WithUsageLimitId ( const char *  value)
inline

The identifier of the usage limit.

Definition at line 80 of file CreateUsageLimitResult.h.


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