7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace CloudWatchLogs
50 inline void SetQueryDefinitionId(
const char* value) { m_queryDefinitionIdHasBeenSet =
true; m_queryDefinitionId.assign(value); }
64 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
80 inline void SetQueryString(
const char* value) { m_queryStringHasBeenSet =
true; m_queryString.assign(value); }
92 inline void SetLastModified(
long long value) { m_lastModifiedHasBeenSet =
true; m_lastModified = value; }
114 bool m_queryDefinitionIdHasBeenSet =
false;
117 bool m_nameHasBeenSet =
false;
120 bool m_queryStringHasBeenSet =
false;
122 long long m_lastModified;
123 bool m_lastModifiedHasBeenSet =
false;
126 bool m_logGroupNamesHasBeenSet =
false;
bool LastModifiedHasBeenSet() const
QueryDefinition & WithQueryString(const Aws::String &value)
void SetQueryString(const Aws::String &value)
AWS_CLOUDWATCHLOGS_API QueryDefinition()
void SetLastModified(long long value)
const Aws::String & GetName() const
void SetLogGroupNames(Aws::Vector< Aws::String > &&value)
QueryDefinition & WithName(const char *value)
QueryDefinition & WithQueryDefinitionId(Aws::String &&value)
const Aws::String & GetQueryDefinitionId() const
void SetQueryString(const char *value)
QueryDefinition & AddLogGroupNames(Aws::String &&value)
void SetName(const char *value)
QueryDefinition & WithLastModified(long long value)
QueryDefinition & WithLogGroupNames(Aws::Vector< Aws::String > &&value)
const Aws::String & GetQueryString() const
AWS_CLOUDWATCHLOGS_API QueryDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
QueryDefinition & WithQueryDefinitionId(const char *value)
const Aws::Vector< Aws::String > & GetLogGroupNames() const
QueryDefinition & AddLogGroupNames(const Aws::String &value)
QueryDefinition & WithName(const Aws::String &value)
QueryDefinition & AddLogGroupNames(const char *value)
long long GetLastModified() const
bool NameHasBeenSet() const
void SetQueryDefinitionId(const char *value)
bool QueryStringHasBeenSet() const
void SetLogGroupNames(const Aws::Vector< Aws::String > &value)
bool LogGroupNamesHasBeenSet() const
QueryDefinition & WithQueryString(Aws::String &&value)
QueryDefinition & WithQueryDefinitionId(const Aws::String &value)
QueryDefinition & WithLogGroupNames(const Aws::Vector< Aws::String > &value)
void SetQueryDefinitionId(const Aws::String &value)
AWS_CLOUDWATCHLOGS_API QueryDefinition(Aws::Utils::Json::JsonView jsonValue)
QueryDefinition & WithName(Aws::String &&value)
void SetName(Aws::String &&value)
void SetName(const Aws::String &value)
void SetQueryDefinitionId(Aws::String &&value)
QueryDefinition & WithQueryString(const char *value)
void SetQueryString(Aws::String &&value)
bool QueryDefinitionIdHasBeenSet() const
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue