AWS SDK for C++  1.8.54
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::Redshift::Model::CreateUsageLimitRequest Class Reference

#include <CreateUsageLimitRequest.h>

+ Inheritance diagram for Aws::Redshift::Model::CreateUsageLimitRequest:

Public Member Functions

 CreateUsageLimitRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetClusterIdentifier () const
 
bool ClusterIdentifierHasBeenSet () const
 
void SetClusterIdentifier (const Aws::String &value)
 
void SetClusterIdentifier (Aws::String &&value)
 
void SetClusterIdentifier (const char *value)
 
CreateUsageLimitRequestWithClusterIdentifier (const Aws::String &value)
 
CreateUsageLimitRequestWithClusterIdentifier (Aws::String &&value)
 
CreateUsageLimitRequestWithClusterIdentifier (const char *value)
 
const UsageLimitFeatureTypeGetFeatureType () const
 
bool FeatureTypeHasBeenSet () const
 
void SetFeatureType (const UsageLimitFeatureType &value)
 
void SetFeatureType (UsageLimitFeatureType &&value)
 
CreateUsageLimitRequestWithFeatureType (const UsageLimitFeatureType &value)
 
CreateUsageLimitRequestWithFeatureType (UsageLimitFeatureType &&value)
 
const UsageLimitLimitTypeGetLimitType () const
 
bool LimitTypeHasBeenSet () const
 
void SetLimitType (const UsageLimitLimitType &value)
 
void SetLimitType (UsageLimitLimitType &&value)
 
CreateUsageLimitRequestWithLimitType (const UsageLimitLimitType &value)
 
CreateUsageLimitRequestWithLimitType (UsageLimitLimitType &&value)
 
long long GetAmount () const
 
bool AmountHasBeenSet () const
 
void SetAmount (long long value)
 
CreateUsageLimitRequestWithAmount (long long value)
 
const UsageLimitPeriodGetPeriod () const
 
bool PeriodHasBeenSet () const
 
void SetPeriod (const UsageLimitPeriod &value)
 
void SetPeriod (UsageLimitPeriod &&value)
 
CreateUsageLimitRequestWithPeriod (const UsageLimitPeriod &value)
 
CreateUsageLimitRequestWithPeriod (UsageLimitPeriod &&value)
 
const UsageLimitBreachActionGetBreachAction () const
 
bool BreachActionHasBeenSet () const
 
void SetBreachAction (const UsageLimitBreachAction &value)
 
void SetBreachAction (UsageLimitBreachAction &&value)
 
CreateUsageLimitRequestWithBreachAction (const UsageLimitBreachAction &value)
 
CreateUsageLimitRequestWithBreachAction (UsageLimitBreachAction &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateUsageLimitRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateUsageLimitRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateUsageLimitRequestAddTags (const Tag &value)
 
CreateUsageLimitRequestAddTags (Tag &&value)
 
- Public Member Functions inherited from Aws::Redshift::RedshiftRequest
virtual ~RedshiftRequest ()
 
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::Redshift::RedshiftRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 27 of file CreateUsageLimitRequest.h.

Constructor & Destructor Documentation

◆ CreateUsageLimitRequest()

Aws::Redshift::Model::CreateUsageLimitRequest::CreateUsageLimitRequest ( )

Member Function Documentation

◆ AddTags() [1/2]

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

A list of tag instances.

Definition at line 304 of file CreateUsageLimitRequest.h.

◆ AddTags() [2/2]

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

A list of tag instances.

Definition at line 309 of file CreateUsageLimitRequest.h.

◆ AmountHasBeenSet()

bool Aws::Redshift::Model::CreateUsageLimitRequest::AmountHasBeenSet ( ) const
inline

The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). The value must be a positive number.

Definition at line 182 of file CreateUsageLimitRequest.h.

◆ BreachActionHasBeenSet()

bool Aws::Redshift::Model::CreateUsageLimitRequest::BreachActionHasBeenSet ( ) const
inline

The action that Amazon Redshift takes when the limit is reached. The default is log. For more information about this parameter, see UsageLimit.

Definition at line 244 of file CreateUsageLimitRequest.h.

◆ ClusterIdentifierHasBeenSet()

bool Aws::Redshift::Model::CreateUsageLimitRequest::ClusterIdentifierHasBeenSet ( ) const
inline

The identifier of the cluster that you want to limit usage.

Definition at line 53 of file CreateUsageLimitRequest.h.

◆ DumpBodyToUrl()

void Aws::Redshift::Model::CreateUsageLimitRequest::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.

◆ FeatureTypeHasBeenSet()

bool Aws::Redshift::Model::CreateUsageLimitRequest::FeatureTypeHasBeenSet ( ) const
inline

The Amazon Redshift feature that you want to limit.

Definition at line 94 of file CreateUsageLimitRequest.h.

◆ GetAmount()

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

The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). The value must be a positive number.

Definition at line 176 of file CreateUsageLimitRequest.h.

◆ GetBreachAction()

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

The action that Amazon Redshift takes when the limit is reached. The default is log. For more information about this parameter, see UsageLimit.

Definition at line 238 of file CreateUsageLimitRequest.h.

◆ GetClusterIdentifier()

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

The identifier of the cluster that you want to limit usage.

Definition at line 48 of file CreateUsageLimitRequest.h.

◆ GetFeatureType()

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

The Amazon Redshift feature that you want to limit.

Definition at line 89 of file CreateUsageLimitRequest.h.

◆ GetLimitType()

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

The type of limit. Depending on the feature type, this can be based on a time duration or data size. If FeatureType is spectrum, then LimitType must be data-scanned. If FeatureType is concurrency-scaling, then LimitType must be time.

Definition at line 124 of file CreateUsageLimitRequest.h.

◆ GetPeriod()

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

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

Definition at line 201 of file CreateUsageLimitRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::Redshift::Model::CreateUsageLimitRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 36 of file CreateUsageLimitRequest.h.

◆ GetTags()

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

A list of tag instances.

Definition at line 274 of file CreateUsageLimitRequest.h.

◆ LimitTypeHasBeenSet()

bool Aws::Redshift::Model::CreateUsageLimitRequest::LimitTypeHasBeenSet ( ) const
inline

The type of limit. Depending on the feature type, this can be based on a time duration or data size. If FeatureType is spectrum, then LimitType must be data-scanned. If FeatureType is concurrency-scaling, then LimitType must be time.

Definition at line 133 of file CreateUsageLimitRequest.h.

◆ PeriodHasBeenSet()

bool Aws::Redshift::Model::CreateUsageLimitRequest::PeriodHasBeenSet ( ) const
inline

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

Definition at line 207 of file CreateUsageLimitRequest.h.

◆ SerializePayload()

Aws::String Aws::Redshift::Model::CreateUsageLimitRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAmount()

void Aws::Redshift::Model::CreateUsageLimitRequest::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). The value must be a positive number.

Definition at line 188 of file CreateUsageLimitRequest.h.

◆ SetBreachAction() [1/2]

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

The action that Amazon Redshift takes when the limit is reached. The default is log. For more information about this parameter, see UsageLimit.

Definition at line 250 of file CreateUsageLimitRequest.h.

◆ SetBreachAction() [2/2]

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

The action that Amazon Redshift takes when the limit is reached. The default is log. For more information about this parameter, see UsageLimit.

Definition at line 256 of file CreateUsageLimitRequest.h.

◆ SetClusterIdentifier() [1/3]

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

The identifier of the cluster that you want to limit usage.

Definition at line 58 of file CreateUsageLimitRequest.h.

◆ SetClusterIdentifier() [2/3]

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

The identifier of the cluster that you want to limit usage.

Definition at line 63 of file CreateUsageLimitRequest.h.

◆ SetClusterIdentifier() [3/3]

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

The identifier of the cluster that you want to limit usage.

Definition at line 68 of file CreateUsageLimitRequest.h.

◆ SetFeatureType() [1/2]

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

The Amazon Redshift feature that you want to limit.

Definition at line 99 of file CreateUsageLimitRequest.h.

◆ SetFeatureType() [2/2]

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

The Amazon Redshift feature that you want to limit.

Definition at line 104 of file CreateUsageLimitRequest.h.

◆ SetLimitType() [1/2]

void Aws::Redshift::Model::CreateUsageLimitRequest::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. If FeatureType is spectrum, then LimitType must be data-scanned. If FeatureType is concurrency-scaling, then LimitType must be time.

Definition at line 142 of file CreateUsageLimitRequest.h.

◆ SetLimitType() [2/2]

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

The type of limit. Depending on the feature type, this can be based on a time duration or data size. If FeatureType is spectrum, then LimitType must be data-scanned. If FeatureType is concurrency-scaling, then LimitType must be time.

Definition at line 151 of file CreateUsageLimitRequest.h.

◆ SetPeriod() [1/2]

void Aws::Redshift::Model::CreateUsageLimitRequest::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 213 of file CreateUsageLimitRequest.h.

◆ SetPeriod() [2/2]

void Aws::Redshift::Model::CreateUsageLimitRequest::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 219 of file CreateUsageLimitRequest.h.

◆ SetTags() [1/2]

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

A list of tag instances.

Definition at line 284 of file CreateUsageLimitRequest.h.

◆ SetTags() [2/2]

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

A list of tag instances.

Definition at line 289 of file CreateUsageLimitRequest.h.

◆ TagsHasBeenSet()

bool Aws::Redshift::Model::CreateUsageLimitRequest::TagsHasBeenSet ( ) const
inline

A list of tag instances.

Definition at line 279 of file CreateUsageLimitRequest.h.

◆ WithAmount()

CreateUsageLimitRequest& Aws::Redshift::Model::CreateUsageLimitRequest::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). The value must be a positive number.

Definition at line 194 of file CreateUsageLimitRequest.h.

◆ WithBreachAction() [1/2]

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

The action that Amazon Redshift takes when the limit is reached. The default is log. For more information about this parameter, see UsageLimit.

Definition at line 262 of file CreateUsageLimitRequest.h.

◆ WithBreachAction() [2/2]

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

The action that Amazon Redshift takes when the limit is reached. The default is log. For more information about this parameter, see UsageLimit.

Definition at line 268 of file CreateUsageLimitRequest.h.

◆ WithClusterIdentifier() [1/3]

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

The identifier of the cluster that you want to limit usage.

Definition at line 73 of file CreateUsageLimitRequest.h.

◆ WithClusterIdentifier() [2/3]

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

The identifier of the cluster that you want to limit usage.

Definition at line 78 of file CreateUsageLimitRequest.h.

◆ WithClusterIdentifier() [3/3]

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

The identifier of the cluster that you want to limit usage.

Definition at line 83 of file CreateUsageLimitRequest.h.

◆ WithFeatureType() [1/2]

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

The Amazon Redshift feature that you want to limit.

Definition at line 109 of file CreateUsageLimitRequest.h.

◆ WithFeatureType() [2/2]

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

The Amazon Redshift feature that you want to limit.

Definition at line 114 of file CreateUsageLimitRequest.h.

◆ WithLimitType() [1/2]

CreateUsageLimitRequest& Aws::Redshift::Model::CreateUsageLimitRequest::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. If FeatureType is spectrum, then LimitType must be data-scanned. If FeatureType is concurrency-scaling, then LimitType must be time.

Definition at line 160 of file CreateUsageLimitRequest.h.

◆ WithLimitType() [2/2]

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

The type of limit. Depending on the feature type, this can be based on a time duration or data size. If FeatureType is spectrum, then LimitType must be data-scanned. If FeatureType is concurrency-scaling, then LimitType must be time.

Definition at line 169 of file CreateUsageLimitRequest.h.

◆ WithPeriod() [1/2]

CreateUsageLimitRequest& Aws::Redshift::Model::CreateUsageLimitRequest::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 225 of file CreateUsageLimitRequest.h.

◆ WithPeriod() [2/2]

CreateUsageLimitRequest& Aws::Redshift::Model::CreateUsageLimitRequest::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 231 of file CreateUsageLimitRequest.h.

◆ WithTags() [1/2]

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

A list of tag instances.

Definition at line 294 of file CreateUsageLimitRequest.h.

◆ WithTags() [2/2]

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

A list of tag instances.

Definition at line 299 of file CreateUsageLimitRequest.h.


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