7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/logs/model/QueryLanguage.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16namespace CloudWatchLogs
64 template<
typename LogGroupNameT = Aws::String>
65 void SetLogGroupName(LogGroupNameT&& value) { m_logGroupNameHasBeenSet =
true; m_logGroupName = std::forward<LogGroupNameT>(value); }
66 template<
typename LogGroupNameT = Aws::String>
82 template<
typename LogGroupNamesT = Aws::Vector<Aws::String>>
83 void SetLogGroupNames(LogGroupNamesT&& value) { m_logGroupNamesHasBeenSet =
true; m_logGroupNames = std::forward<LogGroupNamesT>(value); }
84 template<
typename LogGroupNamesT = Aws::Vector<Aws::String>>
86 template<
typename LogGroupNamesT = Aws::String>
87 StartQueryRequest&
AddLogGroupNames(LogGroupNamesT&& value) { m_logGroupNamesHasBeenSet =
true; m_logGroupNames.emplace_back(std::forward<LogGroupNamesT>(value));
return *
this; }
106 template<
typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
107 void SetLogGroupIdentifiers(LogGroupIdentifiersT&& value) { m_logGroupIdentifiersHasBeenSet =
true; m_logGroupIdentifiers = std::forward<LogGroupIdentifiersT>(value); }
108 template<
typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
110 template<
typename LogGroupIdentifiersT = Aws::String>
111 StartQueryRequest&
AddLogGroupIdentifiers(LogGroupIdentifiersT&& value) { m_logGroupIdentifiersHasBeenSet =
true; m_logGroupIdentifiers.emplace_back(std::forward<LogGroupIdentifiersT>(value));
return *
this; }
122 inline void SetStartTime(
long long value) { m_startTimeHasBeenSet =
true; m_startTime = value; }
134 inline void SetEndTime(
long long value) { m_endTimeHasBeenSet =
true; m_endTime = value; }
146 template<
typename QueryStringT = Aws::String>
147 void SetQueryString(QueryStringT&& value) { m_queryStringHasBeenSet =
true; m_queryString = std::forward<QueryStringT>(value); }
148 template<
typename QueryStringT = Aws::String>
160 inline void SetLimit(
int value) { m_limitHasBeenSet =
true; m_limit = value; }
166 bool m_queryLanguageHasBeenSet =
false;
169 bool m_logGroupNameHasBeenSet =
false;
172 bool m_logGroupNamesHasBeenSet =
false;
175 bool m_logGroupIdentifiersHasBeenSet =
false;
177 long long m_startTime{0};
178 bool m_startTimeHasBeenSet =
false;
180 long long m_endTime{0};
181 bool m_endTimeHasBeenSet =
false;
184 bool m_queryStringHasBeenSet =
false;
187 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