7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/logs/CloudWatchLogsRequest.h>
10#include <aws/logs/CloudWatchLogs_EXPORTS.h>
11#include <aws/logs/model/QueryLanguage.h>
16namespace CloudWatchLogs {
46 m_queryLanguageHasBeenSet =
true;
47 m_queryLanguage = value;
66 template <
typename LogGroupNameT = Aws::String>
68 m_logGroupNameHasBeenSet =
true;
69 m_logGroupName = std::forward<LogGroupNameT>(value);
71 template <
typename LogGroupNameT = Aws::String>
90 template <
typename LogGroupNamesT = Aws::Vector<Aws::String>>
92 m_logGroupNamesHasBeenSet =
true;
93 m_logGroupNames = std::forward<LogGroupNamesT>(value);
95 template <
typename LogGroupNamesT = Aws::Vector<Aws::String>>
100 template <
typename LogGroupNamesT = Aws::String>
102 m_logGroupNamesHasBeenSet =
true;
103 m_logGroupNames.emplace_back(std::forward<LogGroupNamesT>(value));
124 template <
typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
126 m_logGroupIdentifiersHasBeenSet =
true;
127 m_logGroupIdentifiers = std::forward<LogGroupIdentifiersT>(value);
129 template <
typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
134 template <
typename LogGroupIdentifiersT = Aws::String>
136 m_logGroupIdentifiersHasBeenSet =
true;
137 m_logGroupIdentifiers.emplace_back(std::forward<LogGroupIdentifiersT>(value));
151 m_startTimeHasBeenSet =
true;
169 m_endTimeHasBeenSet =
true;
186 template <
typename QueryStringT = Aws::String>
188 m_queryStringHasBeenSet =
true;
189 m_queryString = std::forward<QueryStringT>(value);
191 template <
typename QueryStringT = Aws::String>
207 m_limitHasBeenSet =
true;
224 long long m_startTime{0};
226 long long m_endTime{0};
231 bool m_queryLanguageHasBeenSet =
false;
232 bool m_logGroupNameHasBeenSet =
false;
233 bool m_logGroupNamesHasBeenSet =
false;
234 bool m_logGroupIdentifiersHasBeenSet =
false;
235 bool m_startTimeHasBeenSet =
false;
236 bool m_endTimeHasBeenSet =
false;
237 bool m_queryStringHasBeenSet =
false;
238 bool m_limitHasBeenSet =
false;
void SetQueryLanguage(QueryLanguage value)
bool StartTimeHasBeenSet() const
AWS_CLOUDWATCHLOGS_API StartQueryRequest()=default
long long GetStartTime() const
QueryLanguage GetQueryLanguage() const
StartQueryRequest & WithQueryString(QueryStringT &&value)
const Aws::Vector< Aws::String > & GetLogGroupIdentifiers() const
const Aws::String & GetLogGroupName() const
void SetLogGroupIdentifiers(LogGroupIdentifiersT &&value)
StartQueryRequest & WithQueryLanguage(QueryLanguage value)
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
StartQueryRequest & WithEndTime(long long value)
void SetStartTime(long long value)
void SetEndTime(long long value)
const Aws::Vector< Aws::String > & GetLogGroupNames() const
bool LogGroupIdentifiersHasBeenSet() const
const Aws::String & GetQueryString() const
StartQueryRequest & WithLogGroupNames(LogGroupNamesT &&value)
StartQueryRequest & WithLogGroupName(LogGroupNameT &&value)
StartQueryRequest & WithStartTime(long long value)
void SetLogGroupNames(LogGroupNamesT &&value)
bool QueryStringHasBeenSet() const
void SetLogGroupName(LogGroupNameT &&value)
bool LogGroupNamesHasBeenSet() const
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
long long GetEndTime() const
StartQueryRequest & WithLimit(int value)
void SetQueryString(QueryStringT &&value)
bool EndTimeHasBeenSet() const
bool LogGroupNameHasBeenSet() const
StartQueryRequest & WithLogGroupIdentifiers(LogGroupIdentifiersT &&value)
bool LimitHasBeenSet() const
StartQueryRequest & AddLogGroupIdentifiers(LogGroupIdentifiersT &&value)
StartQueryRequest & AddLogGroupNames(LogGroupNamesT &&value)
bool QueryLanguageHasBeenSet() const
virtual const char * GetServiceRequestName() const override
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