AWS SDK for C++  1.9.71
AWS SDK for C++
Public Member Functions | List of all members
Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest Class Reference

#include <PutQueryDefinitionRequest.h>

+ Inheritance diagram for Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest:

Public Member Functions

 PutQueryDefinitionRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
PutQueryDefinitionRequestWithName (const Aws::String &value)
 
PutQueryDefinitionRequestWithName (Aws::String &&value)
 
PutQueryDefinitionRequestWithName (const char *value)
 
const Aws::StringGetQueryDefinitionId () const
 
bool QueryDefinitionIdHasBeenSet () const
 
void SetQueryDefinitionId (const Aws::String &value)
 
void SetQueryDefinitionId (Aws::String &&value)
 
void SetQueryDefinitionId (const char *value)
 
PutQueryDefinitionRequestWithQueryDefinitionId (const Aws::String &value)
 
PutQueryDefinitionRequestWithQueryDefinitionId (Aws::String &&value)
 
PutQueryDefinitionRequestWithQueryDefinitionId (const char *value)
 
const Aws::Vector< Aws::String > & GetLogGroupNames () const
 
bool LogGroupNamesHasBeenSet () const
 
void SetLogGroupNames (const Aws::Vector< Aws::String > &value)
 
void SetLogGroupNames (Aws::Vector< Aws::String > &&value)
 
PutQueryDefinitionRequestWithLogGroupNames (const Aws::Vector< Aws::String > &value)
 
PutQueryDefinitionRequestWithLogGroupNames (Aws::Vector< Aws::String > &&value)
 
PutQueryDefinitionRequestAddLogGroupNames (const Aws::String &value)
 
PutQueryDefinitionRequestAddLogGroupNames (Aws::String &&value)
 
PutQueryDefinitionRequestAddLogGroupNames (const char *value)
 
const Aws::StringGetQueryString () const
 
bool QueryStringHasBeenSet () const
 
void SetQueryString (const Aws::String &value)
 
void SetQueryString (Aws::String &&value)
 
void SetQueryString (const char *value)
 
PutQueryDefinitionRequestWithQueryString (const Aws::String &value)
 
PutQueryDefinitionRequestWithQueryString (Aws::String &&value)
 
PutQueryDefinitionRequestWithQueryString (const char *value)
 
- Public Member Functions inherited from Aws::CloudWatchLogs::CloudWatchLogsRequest
virtual ~CloudWatchLogsRequest ()
 
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
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 22 of file PutQueryDefinitionRequest.h.

Constructor & Destructor Documentation

◆ PutQueryDefinitionRequest()

Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::PutQueryDefinitionRequest ( )

Member Function Documentation

◆ AddLogGroupNames() [1/3]

PutQueryDefinitionRequest& Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::AddLogGroupNames ( Aws::String &&  value)
inline

Use this parameter to include specific log groups as part of your query definition.

If you are updating a query definition and you omit this parameter, then the updated definition will contain no log groups.

Definition at line 254 of file PutQueryDefinitionRequest.h.

◆ AddLogGroupNames() [2/3]

PutQueryDefinitionRequest& Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::AddLogGroupNames ( const Aws::String value)
inline

Use this parameter to include specific log groups as part of your query definition.

If you are updating a query definition and you omit this parameter, then the updated definition will contain no log groups.

Definition at line 247 of file PutQueryDefinitionRequest.h.

◆ AddLogGroupNames() [3/3]

PutQueryDefinitionRequest& Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::AddLogGroupNames ( const char *  value)
inline

Use this parameter to include specific log groups as part of your query definition.

If you are updating a query definition and you omit this parameter, then the updated definition will contain no log groups.

Definition at line 261 of file PutQueryDefinitionRequest.h.

◆ GetLogGroupNames()

const Aws::Vector<Aws::String>& Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::GetLogGroupNames ( ) const
inline

Use this parameter to include specific log groups as part of your query definition.

If you are updating a query definition and you omit this parameter, then the updated definition will contain no log groups.

Definition at line 205 of file PutQueryDefinitionRequest.h.

◆ GetName()

const Aws::String& Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::GetName ( ) const
inline

A name for the query definition. If you are saving a lot of query definitions, we recommend that you name them so that you can easily find the ones you want by using the first part of the name as a filter in the queryDefinitionNamePrefix parameter of DescribeQueryDefinitions.

Definition at line 45 of file PutQueryDefinitionRequest.h.

◆ GetQueryDefinitionId()

const Aws::String& Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::GetQueryDefinitionId ( ) const
inline

If you are updating a query definition, use this parameter to specify the ID of the query definition that you want to update. You can use DescribeQueryDefinitions to retrieve the IDs of your saved query definitions.

If you are creating a query definition, do not specify this parameter. CloudWatch generates a unique ID for the new query definition and include it in the response to this operation.

Definition at line 120 of file PutQueryDefinitionRequest.h.

◆ GetQueryString()

const Aws::String& Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::GetQueryString ( ) const
inline

The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.

Definition at line 269 of file PutQueryDefinitionRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

◆ GetServiceRequestName()

virtual const char* Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 31 of file PutQueryDefinitionRequest.h.

◆ LogGroupNamesHasBeenSet()

bool Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::LogGroupNamesHasBeenSet ( ) const
inline

Use this parameter to include specific log groups as part of your query definition.

If you are updating a query definition and you omit this parameter, then the updated definition will contain no log groups.

Definition at line 212 of file PutQueryDefinitionRequest.h.

◆ NameHasBeenSet()

bool Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::NameHasBeenSet ( ) const
inline

A name for the query definition. If you are saving a lot of query definitions, we recommend that you name them so that you can easily find the ones you want by using the first part of the name as a filter in the queryDefinitionNamePrefix parameter of DescribeQueryDefinitions.

Definition at line 54 of file PutQueryDefinitionRequest.h.

◆ QueryDefinitionIdHasBeenSet()

bool Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::QueryDefinitionIdHasBeenSet ( ) const
inline

If you are updating a query definition, use this parameter to specify the ID of the query definition that you want to update. You can use DescribeQueryDefinitions to retrieve the IDs of your saved query definitions.

If you are creating a query definition, do not specify this parameter. CloudWatch generates a unique ID for the new query definition and include it in the response to this operation.

Definition at line 131 of file PutQueryDefinitionRequest.h.

◆ QueryStringHasBeenSet()

bool Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::QueryStringHasBeenSet ( ) const
inline

The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.

Definition at line 276 of file PutQueryDefinitionRequest.h.

◆ SerializePayload()

Aws::String Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetLogGroupNames() [1/2]

void Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::SetLogGroupNames ( Aws::Vector< Aws::String > &&  value)
inline

Use this parameter to include specific log groups as part of your query definition.

If you are updating a query definition and you omit this parameter, then the updated definition will contain no log groups.

Definition at line 226 of file PutQueryDefinitionRequest.h.

◆ SetLogGroupNames() [2/2]

void Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::SetLogGroupNames ( const Aws::Vector< Aws::String > &  value)
inline

Use this parameter to include specific log groups as part of your query definition.

If you are updating a query definition and you omit this parameter, then the updated definition will contain no log groups.

Definition at line 219 of file PutQueryDefinitionRequest.h.

◆ SetName() [1/3]

void Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::SetName ( Aws::String &&  value)
inline

A name for the query definition. If you are saving a lot of query definitions, we recommend that you name them so that you can easily find the ones you want by using the first part of the name as a filter in the queryDefinitionNamePrefix parameter of DescribeQueryDefinitions.

Definition at line 72 of file PutQueryDefinitionRequest.h.

◆ SetName() [2/3]

void Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::SetName ( const Aws::String value)
inline

A name for the query definition. If you are saving a lot of query definitions, we recommend that you name them so that you can easily find the ones you want by using the first part of the name as a filter in the queryDefinitionNamePrefix parameter of DescribeQueryDefinitions.

Definition at line 63 of file PutQueryDefinitionRequest.h.

◆ SetName() [3/3]

void Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::SetName ( const char *  value)
inline

A name for the query definition. If you are saving a lot of query definitions, we recommend that you name them so that you can easily find the ones you want by using the first part of the name as a filter in the queryDefinitionNamePrefix parameter of DescribeQueryDefinitions.

Definition at line 81 of file PutQueryDefinitionRequest.h.

◆ SetQueryDefinitionId() [1/3]

void Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::SetQueryDefinitionId ( Aws::String &&  value)
inline

If you are updating a query definition, use this parameter to specify the ID of the query definition that you want to update. You can use DescribeQueryDefinitions to retrieve the IDs of your saved query definitions.

If you are creating a query definition, do not specify this parameter. CloudWatch generates a unique ID for the new query definition and include it in the response to this operation.

Definition at line 153 of file PutQueryDefinitionRequest.h.

◆ SetQueryDefinitionId() [2/3]

void Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::SetQueryDefinitionId ( const Aws::String value)
inline

If you are updating a query definition, use this parameter to specify the ID of the query definition that you want to update. You can use DescribeQueryDefinitions to retrieve the IDs of your saved query definitions.

If you are creating a query definition, do not specify this parameter. CloudWatch generates a unique ID for the new query definition and include it in the response to this operation.

Definition at line 142 of file PutQueryDefinitionRequest.h.

◆ SetQueryDefinitionId() [3/3]

void Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::SetQueryDefinitionId ( const char *  value)
inline

If you are updating a query definition, use this parameter to specify the ID of the query definition that you want to update. You can use DescribeQueryDefinitions to retrieve the IDs of your saved query definitions.

If you are creating a query definition, do not specify this parameter. CloudWatch generates a unique ID for the new query definition and include it in the response to this operation.

Definition at line 164 of file PutQueryDefinitionRequest.h.

◆ SetQueryString() [1/3]

void Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::SetQueryString ( Aws::String &&  value)
inline

The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.

Definition at line 290 of file PutQueryDefinitionRequest.h.

◆ SetQueryString() [2/3]

void Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::SetQueryString ( const Aws::String value)
inline

The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.

Definition at line 283 of file PutQueryDefinitionRequest.h.

◆ SetQueryString() [3/3]

void Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::SetQueryString ( const char *  value)
inline

The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.

Definition at line 297 of file PutQueryDefinitionRequest.h.

◆ WithLogGroupNames() [1/2]

PutQueryDefinitionRequest& Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::WithLogGroupNames ( Aws::Vector< Aws::String > &&  value)
inline

Use this parameter to include specific log groups as part of your query definition.

If you are updating a query definition and you omit this parameter, then the updated definition will contain no log groups.

Definition at line 240 of file PutQueryDefinitionRequest.h.

◆ WithLogGroupNames() [2/2]

PutQueryDefinitionRequest& Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::WithLogGroupNames ( const Aws::Vector< Aws::String > &  value)
inline

Use this parameter to include specific log groups as part of your query definition.

If you are updating a query definition and you omit this parameter, then the updated definition will contain no log groups.

Definition at line 233 of file PutQueryDefinitionRequest.h.

◆ WithName() [1/3]

PutQueryDefinitionRequest& Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::WithName ( Aws::String &&  value)
inline

A name for the query definition. If you are saving a lot of query definitions, we recommend that you name them so that you can easily find the ones you want by using the first part of the name as a filter in the queryDefinitionNamePrefix parameter of DescribeQueryDefinitions.

Definition at line 99 of file PutQueryDefinitionRequest.h.

◆ WithName() [2/3]

PutQueryDefinitionRequest& Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::WithName ( const Aws::String value)
inline

A name for the query definition. If you are saving a lot of query definitions, we recommend that you name them so that you can easily find the ones you want by using the first part of the name as a filter in the queryDefinitionNamePrefix parameter of DescribeQueryDefinitions.

Definition at line 90 of file PutQueryDefinitionRequest.h.

◆ WithName() [3/3]

PutQueryDefinitionRequest& Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::WithName ( const char *  value)
inline

A name for the query definition. If you are saving a lot of query definitions, we recommend that you name them so that you can easily find the ones you want by using the first part of the name as a filter in the queryDefinitionNamePrefix parameter of DescribeQueryDefinitions.

Definition at line 108 of file PutQueryDefinitionRequest.h.

◆ WithQueryDefinitionId() [1/3]

PutQueryDefinitionRequest& Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::WithQueryDefinitionId ( Aws::String &&  value)
inline

If you are updating a query definition, use this parameter to specify the ID of the query definition that you want to update. You can use DescribeQueryDefinitions to retrieve the IDs of your saved query definitions.

If you are creating a query definition, do not specify this parameter. CloudWatch generates a unique ID for the new query definition and include it in the response to this operation.

Definition at line 186 of file PutQueryDefinitionRequest.h.

◆ WithQueryDefinitionId() [2/3]

PutQueryDefinitionRequest& Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::WithQueryDefinitionId ( const Aws::String value)
inline

If you are updating a query definition, use this parameter to specify the ID of the query definition that you want to update. You can use DescribeQueryDefinitions to retrieve the IDs of your saved query definitions.

If you are creating a query definition, do not specify this parameter. CloudWatch generates a unique ID for the new query definition and include it in the response to this operation.

Definition at line 175 of file PutQueryDefinitionRequest.h.

◆ WithQueryDefinitionId() [3/3]

PutQueryDefinitionRequest& Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::WithQueryDefinitionId ( const char *  value)
inline

If you are updating a query definition, use this parameter to specify the ID of the query definition that you want to update. You can use DescribeQueryDefinitions to retrieve the IDs of your saved query definitions.

If you are creating a query definition, do not specify this parameter. CloudWatch generates a unique ID for the new query definition and include it in the response to this operation.

Definition at line 197 of file PutQueryDefinitionRequest.h.

◆ WithQueryString() [1/3]

PutQueryDefinitionRequest& Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::WithQueryString ( Aws::String &&  value)
inline

The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.

Definition at line 311 of file PutQueryDefinitionRequest.h.

◆ WithQueryString() [2/3]

PutQueryDefinitionRequest& Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::WithQueryString ( const Aws::String value)
inline

The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.

Definition at line 304 of file PutQueryDefinitionRequest.h.

◆ WithQueryString() [3/3]

PutQueryDefinitionRequest& Aws::CloudWatchLogs::Model::PutQueryDefinitionRequest::WithQueryString ( const char *  value)
inline

The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.

Definition at line 318 of file PutQueryDefinitionRequest.h.


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