7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/UUID.h>
16namespace CloudWatchLogs
51 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
71 inline void SetQueryDefinitionId(
const char* value) { m_queryDefinitionIdHasBeenSet =
true; m_queryDefinitionId.assign(value); }
104 inline void SetQueryString(
const char* value) { m_queryStringHasBeenSet =
true; m_queryString.assign(value); }
119 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
127 bool m_nameHasBeenSet =
false;
130 bool m_queryDefinitionIdHasBeenSet =
false;
133 bool m_logGroupNamesHasBeenSet =
false;
136 bool m_queryStringHasBeenSet =
false;
139 bool m_clientTokenHasBeenSet =
false;
AWS_CLOUDWATCHLOGS_API PutQueryDefinitionRequest()
PutQueryDefinitionRequest & WithQueryDefinitionId(const char *value)
PutQueryDefinitionRequest & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
void SetLogGroupNames(Aws::Vector< Aws::String > &&value)
void SetClientToken(Aws::String &&value)
void SetQueryDefinitionId(const Aws::String &value)
void SetClientToken(const char *value)
void SetQueryString(const char *value)
PutQueryDefinitionRequest & AddLogGroupNames(const Aws::String &value)
bool LogGroupNamesHasBeenSet() const
const Aws::String & GetName() const
bool ClientTokenHasBeenSet() const
const Aws::String & GetQueryDefinitionId() const
PutQueryDefinitionRequest & WithName(const char *value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientToken() const
bool QueryDefinitionIdHasBeenSet() const
void SetQueryString(const Aws::String &value)
void SetName(Aws::String &&value)
void SetLogGroupNames(const Aws::Vector< Aws::String > &value)
void SetQueryString(Aws::String &&value)
PutQueryDefinitionRequest & WithLogGroupNames(Aws::Vector< Aws::String > &&value)
void SetQueryDefinitionId(Aws::String &&value)
bool NameHasBeenSet() const
void SetName(const char *value)
PutQueryDefinitionRequest & WithQueryString(const char *value)
PutQueryDefinitionRequest & WithClientToken(const Aws::String &value)
const Aws::String & GetQueryString() const
PutQueryDefinitionRequest & WithLogGroupNames(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetLogGroupNames() const
PutQueryDefinitionRequest & WithQueryString(Aws::String &&value)
PutQueryDefinitionRequest & WithQueryString(const Aws::String &value)
void SetClientToken(const Aws::String &value)
PutQueryDefinitionRequest & WithName(const Aws::String &value)
PutQueryDefinitionRequest & AddLogGroupNames(Aws::String &&value)
PutQueryDefinitionRequest & WithQueryDefinitionId(Aws::String &&value)
void SetQueryDefinitionId(const char *value)
PutQueryDefinitionRequest & WithClientToken(Aws::String &&value)
PutQueryDefinitionRequest & WithClientToken(const char *value)
PutQueryDefinitionRequest & AddLogGroupNames(const char *value)
bool QueryStringHasBeenSet() const
PutQueryDefinitionRequest & WithQueryDefinitionId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector