7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.h>
10#include <aws/logs/model/QueryLanguage.h>
21namespace CloudWatchLogs {
47 m_queryLanguageHasBeenSet =
true;
48 m_queryLanguage = value;
62 template <
typename QueryDefinitionIdT = Aws::String>
64 m_queryDefinitionIdHasBeenSet =
true;
65 m_queryDefinitionId = std::forward<QueryDefinitionIdT>(value);
67 template <
typename QueryDefinitionIdT = Aws::String>
80 template <
typename NameT = Aws::String>
82 m_nameHasBeenSet =
true;
83 m_name = std::forward<NameT>(value);
85 template <
typename NameT = Aws::String>
87 SetName(std::forward<NameT>(value));
100 template <
typename QueryStringT = Aws::String>
102 m_queryStringHasBeenSet =
true;
103 m_queryString = std::forward<QueryStringT>(value);
105 template <
typename QueryStringT = Aws::String>
119 m_lastModifiedHasBeenSet =
true;
120 m_lastModified = value;
135 template <
typename LogGroupNamesT = Aws::Vector<Aws::String>>
137 m_logGroupNamesHasBeenSet =
true;
138 m_logGroupNames = std::forward<LogGroupNamesT>(value);
140 template <
typename LogGroupNamesT = Aws::Vector<Aws::String>>
145 template <
typename LogGroupNamesT = Aws::String>
147 m_logGroupNamesHasBeenSet =
true;
148 m_logGroupNames.emplace_back(std::forward<LogGroupNamesT>(value));
161 long long m_lastModified{0};
164 bool m_queryLanguageHasBeenSet =
false;
165 bool m_queryDefinitionIdHasBeenSet =
false;
166 bool m_nameHasBeenSet =
false;
167 bool m_queryStringHasBeenSet =
false;
168 bool m_lastModifiedHasBeenSet =
false;
169 bool m_logGroupNamesHasBeenSet =
false;
bool LastModifiedHasBeenSet() const
void SetLastModified(long long value)
void SetQueryLanguage(QueryLanguage value)
QueryDefinition & WithLogGroupNames(LogGroupNamesT &&value)
const Aws::String & GetName() const
void SetName(NameT &&value)
const Aws::String & GetQueryDefinitionId() const
QueryDefinition & WithQueryLanguage(QueryLanguage value)
QueryDefinition & WithLastModified(long long value)
const Aws::String & GetQueryString() const
AWS_CLOUDWATCHLOGS_API QueryDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetLogGroupNames() const
void SetQueryDefinitionId(QueryDefinitionIdT &&value)
void SetQueryString(QueryStringT &&value)
QueryDefinition & WithQueryDefinitionId(QueryDefinitionIdT &&value)
long long GetLastModified() const
bool NameHasBeenSet() const
QueryLanguage GetQueryLanguage() const
AWS_CLOUDWATCHLOGS_API QueryDefinition()=default
bool QueryStringHasBeenSet() const
QueryDefinition & AddLogGroupNames(LogGroupNamesT &&value)
bool LogGroupNamesHasBeenSet() const
QueryDefinition & WithQueryString(QueryStringT &&value)
bool QueryLanguageHasBeenSet() const
void SetLogGroupNames(LogGroupNamesT &&value)
AWS_CLOUDWATCHLOGS_API QueryDefinition(Aws::Utils::Json::JsonView jsonValue)
QueryDefinition & WithName(NameT &&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