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

#include <PutInsightRuleRequest.h>

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

Public Member Functions

 PutInsightRuleRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetRuleName () const
 
bool RuleNameHasBeenSet () const
 
void SetRuleName (const Aws::String &value)
 
void SetRuleName (Aws::String &&value)
 
void SetRuleName (const char *value)
 
PutInsightRuleRequestWithRuleName (const Aws::String &value)
 
PutInsightRuleRequestWithRuleName (Aws::String &&value)
 
PutInsightRuleRequestWithRuleName (const char *value)
 
const Aws::StringGetRuleState () const
 
bool RuleStateHasBeenSet () const
 
void SetRuleState (const Aws::String &value)
 
void SetRuleState (Aws::String &&value)
 
void SetRuleState (const char *value)
 
PutInsightRuleRequestWithRuleState (const Aws::String &value)
 
PutInsightRuleRequestWithRuleState (Aws::String &&value)
 
PutInsightRuleRequestWithRuleState (const char *value)
 
const Aws::StringGetRuleDefinition () const
 
bool RuleDefinitionHasBeenSet () const
 
void SetRuleDefinition (const Aws::String &value)
 
void SetRuleDefinition (Aws::String &&value)
 
void SetRuleDefinition (const char *value)
 
PutInsightRuleRequestWithRuleDefinition (const Aws::String &value)
 
PutInsightRuleRequestWithRuleDefinition (Aws::String &&value)
 
PutInsightRuleRequestWithRuleDefinition (const char *value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
PutInsightRuleRequestWithTags (const Aws::Vector< Tag > &value)
 
PutInsightRuleRequestWithTags (Aws::Vector< Tag > &&value)
 
PutInsightRuleRequestAddTags (const Tag &value)
 
PutInsightRuleRequestAddTags (Tag &&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 23 of file PutInsightRuleRequest.h.

Constructor & Destructor Documentation

◆ PutInsightRuleRequest()

Aws::CloudWatch::Model::PutInsightRuleRequest::PutInsightRuleRequest ( )

Member Function Documentation

◆ AddTags() [1/2]

PutInsightRuleRequest& Aws::CloudWatch::Model::PutInsightRuleRequest::AddTags ( const Tag value)
inline

A list of key-value pairs to associate with the Contributor Insights rule. You can associate as many as 50 tags with a rule.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.

To be able to associate tags with a rule, you must have the cloudwatch:TagResource permission in addition to the cloudwatch:PutInsightRule permission.

If you are using this operation to update an existing Contributor Insights rule, any tags you specify in this parameter are ignored. To change the tags of an existing rule, use TagResource.

Definition at line 291 of file PutInsightRuleRequest.h.

◆ AddTags() [2/2]

PutInsightRuleRequest& Aws::CloudWatch::Model::PutInsightRuleRequest::AddTags ( Tag &&  value)
inline

A list of key-value pairs to associate with the Contributor Insights rule. You can associate as many as 50 tags with a rule.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.

To be able to associate tags with a rule, you must have the cloudwatch:TagResource permission in addition to the cloudwatch:PutInsightRule permission.

If you are using this operation to update an existing Contributor Insights rule, any tags you specify in this parameter are ignored. To change the tags of an existing rule, use TagResource.

Definition at line 306 of file PutInsightRuleRequest.h.

◆ DumpBodyToUrl()

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

◆ GetRuleDefinition()

const Aws::String& Aws::CloudWatch::Model::PutInsightRuleRequest::GetRuleDefinition ( ) const
inline

The definition of the rule, as a JSON object. For details on the valid syntax, see Contributor Insights Rule Syntax.

Definition at line 129 of file PutInsightRuleRequest.h.

◆ GetRuleName()

const Aws::String& Aws::CloudWatch::Model::PutInsightRuleRequest::GetRuleName ( ) const
inline

A unique name for the rule.

Definition at line 44 of file PutInsightRuleRequest.h.

◆ GetRuleState()

const Aws::String& Aws::CloudWatch::Model::PutInsightRuleRequest::GetRuleState ( ) const
inline

The state of the rule. Valid values are ENABLED and DISABLED.

Definition at line 85 of file PutInsightRuleRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 32 of file PutInsightRuleRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::CloudWatch::Model::PutInsightRuleRequest::GetTags ( ) const
inline

A list of key-value pairs to associate with the Contributor Insights rule. You can associate as many as 50 tags with a rule.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.

To be able to associate tags with a rule, you must have the cloudwatch:TagResource permission in addition to the cloudwatch:PutInsightRule permission.

If you are using this operation to update an existing Contributor Insights rule, any tags you specify in this parameter are ignored. To change the tags of an existing rule, use TagResource.

Definition at line 201 of file PutInsightRuleRequest.h.

◆ RuleDefinitionHasBeenSet()

bool Aws::CloudWatch::Model::PutInsightRuleRequest::RuleDefinitionHasBeenSet ( ) const
inline

The definition of the rule, as a JSON object. For details on the valid syntax, see Contributor Insights Rule Syntax.

Definition at line 137 of file PutInsightRuleRequest.h.

◆ RuleNameHasBeenSet()

bool Aws::CloudWatch::Model::PutInsightRuleRequest::RuleNameHasBeenSet ( ) const
inline

A unique name for the rule.

Definition at line 49 of file PutInsightRuleRequest.h.

◆ RuleStateHasBeenSet()

bool Aws::CloudWatch::Model::PutInsightRuleRequest::RuleStateHasBeenSet ( ) const
inline

The state of the rule. Valid values are ENABLED and DISABLED.

Definition at line 90 of file PutInsightRuleRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetRuleDefinition() [1/3]

void Aws::CloudWatch::Model::PutInsightRuleRequest::SetRuleDefinition ( const Aws::String value)
inline

The definition of the rule, as a JSON object. For details on the valid syntax, see Contributor Insights Rule Syntax.

Definition at line 145 of file PutInsightRuleRequest.h.

◆ SetRuleDefinition() [2/3]

void Aws::CloudWatch::Model::PutInsightRuleRequest::SetRuleDefinition ( Aws::String &&  value)
inline

The definition of the rule, as a JSON object. For details on the valid syntax, see Contributor Insights Rule Syntax.

Definition at line 153 of file PutInsightRuleRequest.h.

◆ SetRuleDefinition() [3/3]

void Aws::CloudWatch::Model::PutInsightRuleRequest::SetRuleDefinition ( const char *  value)
inline

The definition of the rule, as a JSON object. For details on the valid syntax, see Contributor Insights Rule Syntax.

Definition at line 161 of file PutInsightRuleRequest.h.

◆ SetRuleName() [1/3]

void Aws::CloudWatch::Model::PutInsightRuleRequest::SetRuleName ( const Aws::String value)
inline

A unique name for the rule.

Definition at line 54 of file PutInsightRuleRequest.h.

◆ SetRuleName() [2/3]

void Aws::CloudWatch::Model::PutInsightRuleRequest::SetRuleName ( Aws::String &&  value)
inline

A unique name for the rule.

Definition at line 59 of file PutInsightRuleRequest.h.

◆ SetRuleName() [3/3]

void Aws::CloudWatch::Model::PutInsightRuleRequest::SetRuleName ( const char *  value)
inline

A unique name for the rule.

Definition at line 64 of file PutInsightRuleRequest.h.

◆ SetRuleState() [1/3]

void Aws::CloudWatch::Model::PutInsightRuleRequest::SetRuleState ( const Aws::String value)
inline

The state of the rule. Valid values are ENABLED and DISABLED.

Definition at line 95 of file PutInsightRuleRequest.h.

◆ SetRuleState() [2/3]

void Aws::CloudWatch::Model::PutInsightRuleRequest::SetRuleState ( Aws::String &&  value)
inline

The state of the rule. Valid values are ENABLED and DISABLED.

Definition at line 100 of file PutInsightRuleRequest.h.

◆ SetRuleState() [3/3]

void Aws::CloudWatch::Model::PutInsightRuleRequest::SetRuleState ( const char *  value)
inline

The state of the rule. Valid values are ENABLED and DISABLED.

Definition at line 105 of file PutInsightRuleRequest.h.

◆ SetTags() [1/2]

void Aws::CloudWatch::Model::PutInsightRuleRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

A list of key-value pairs to associate with the Contributor Insights rule. You can associate as many as 50 tags with a rule.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.

To be able to associate tags with a rule, you must have the cloudwatch:TagResource permission in addition to the cloudwatch:PutInsightRule permission.

If you are using this operation to update an existing Contributor Insights rule, any tags you specify in this parameter are ignored. To change the tags of an existing rule, use TagResource.

Definition at line 231 of file PutInsightRuleRequest.h.

◆ SetTags() [2/2]

void Aws::CloudWatch::Model::PutInsightRuleRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

A list of key-value pairs to associate with the Contributor Insights rule. You can associate as many as 50 tags with a rule.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.

To be able to associate tags with a rule, you must have the cloudwatch:TagResource permission in addition to the cloudwatch:PutInsightRule permission.

If you are using this operation to update an existing Contributor Insights rule, any tags you specify in this parameter are ignored. To change the tags of an existing rule, use TagResource.

Definition at line 246 of file PutInsightRuleRequest.h.

◆ TagsHasBeenSet()

bool Aws::CloudWatch::Model::PutInsightRuleRequest::TagsHasBeenSet ( ) const
inline

A list of key-value pairs to associate with the Contributor Insights rule. You can associate as many as 50 tags with a rule.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.

To be able to associate tags with a rule, you must have the cloudwatch:TagResource permission in addition to the cloudwatch:PutInsightRule permission.

If you are using this operation to update an existing Contributor Insights rule, any tags you specify in this parameter are ignored. To change the tags of an existing rule, use TagResource.

Definition at line 216 of file PutInsightRuleRequest.h.

◆ WithRuleDefinition() [1/3]

PutInsightRuleRequest& Aws::CloudWatch::Model::PutInsightRuleRequest::WithRuleDefinition ( const Aws::String value)
inline

The definition of the rule, as a JSON object. For details on the valid syntax, see Contributor Insights Rule Syntax.

Definition at line 169 of file PutInsightRuleRequest.h.

◆ WithRuleDefinition() [2/3]

PutInsightRuleRequest& Aws::CloudWatch::Model::PutInsightRuleRequest::WithRuleDefinition ( Aws::String &&  value)
inline

The definition of the rule, as a JSON object. For details on the valid syntax, see Contributor Insights Rule Syntax.

Definition at line 177 of file PutInsightRuleRequest.h.

◆ WithRuleDefinition() [3/3]

PutInsightRuleRequest& Aws::CloudWatch::Model::PutInsightRuleRequest::WithRuleDefinition ( const char *  value)
inline

The definition of the rule, as a JSON object. For details on the valid syntax, see Contributor Insights Rule Syntax.

Definition at line 185 of file PutInsightRuleRequest.h.

◆ WithRuleName() [1/3]

PutInsightRuleRequest& Aws::CloudWatch::Model::PutInsightRuleRequest::WithRuleName ( const Aws::String value)
inline

A unique name for the rule.

Definition at line 69 of file PutInsightRuleRequest.h.

◆ WithRuleName() [2/3]

PutInsightRuleRequest& Aws::CloudWatch::Model::PutInsightRuleRequest::WithRuleName ( Aws::String &&  value)
inline

A unique name for the rule.

Definition at line 74 of file PutInsightRuleRequest.h.

◆ WithRuleName() [3/3]

PutInsightRuleRequest& Aws::CloudWatch::Model::PutInsightRuleRequest::WithRuleName ( const char *  value)
inline

A unique name for the rule.

Definition at line 79 of file PutInsightRuleRequest.h.

◆ WithRuleState() [1/3]

PutInsightRuleRequest& Aws::CloudWatch::Model::PutInsightRuleRequest::WithRuleState ( const Aws::String value)
inline

The state of the rule. Valid values are ENABLED and DISABLED.

Definition at line 110 of file PutInsightRuleRequest.h.

◆ WithRuleState() [2/3]

PutInsightRuleRequest& Aws::CloudWatch::Model::PutInsightRuleRequest::WithRuleState ( Aws::String &&  value)
inline

The state of the rule. Valid values are ENABLED and DISABLED.

Definition at line 115 of file PutInsightRuleRequest.h.

◆ WithRuleState() [3/3]

PutInsightRuleRequest& Aws::CloudWatch::Model::PutInsightRuleRequest::WithRuleState ( const char *  value)
inline

The state of the rule. Valid values are ENABLED and DISABLED.

Definition at line 120 of file PutInsightRuleRequest.h.

◆ WithTags() [1/2]

PutInsightRuleRequest& Aws::CloudWatch::Model::PutInsightRuleRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

A list of key-value pairs to associate with the Contributor Insights rule. You can associate as many as 50 tags with a rule.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.

To be able to associate tags with a rule, you must have the cloudwatch:TagResource permission in addition to the cloudwatch:PutInsightRule permission.

If you are using this operation to update an existing Contributor Insights rule, any tags you specify in this parameter are ignored. To change the tags of an existing rule, use TagResource.

Definition at line 261 of file PutInsightRuleRequest.h.

◆ WithTags() [2/2]

PutInsightRuleRequest& Aws::CloudWatch::Model::PutInsightRuleRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

A list of key-value pairs to associate with the Contributor Insights rule. You can associate as many as 50 tags with a rule.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.

To be able to associate tags with a rule, you must have the cloudwatch:TagResource permission in addition to the cloudwatch:PutInsightRule permission.

If you are using this operation to update an existing Contributor Insights rule, any tags you specify in this parameter are ignored. To change the tags of an existing rule, use TagResource.

Definition at line 276 of file PutInsightRuleRequest.h.


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