7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
9#include <aws/logs/model/QueryLanguage.h>
10#include <aws/logs/model/QueryStatus.h>
21namespace CloudWatchLogs {
47 m_queryLanguageHasBeenSet =
true;
48 m_queryLanguage = value;
62 template <
typename QueryIdT = Aws::String>
64 m_queryIdHasBeenSet =
true;
65 m_queryId = std::forward<QueryIdT>(value);
67 template <
typename QueryIdT = Aws::String>
80 template <
typename QueryStringT = Aws::String>
82 m_queryStringHasBeenSet =
true;
83 m_queryString = std::forward<QueryStringT>(value);
85 template <
typename QueryStringT = Aws::String>
101 m_statusHasBeenSet =
true;
117 m_createTimeHasBeenSet =
true;
118 m_createTime = value;
132 template <
typename LogGroupNameT = Aws::String>
134 m_logGroupNameHasBeenSet =
true;
135 m_logGroupName = std::forward<LogGroupNameT>(value);
137 template <
typename LogGroupNameT = Aws::String>
151 m_queryDurationHasBeenSet =
true;
152 m_queryDuration = value;
168 m_bytesScannedHasBeenSet =
true;
169 m_bytesScanned = value;
183 template <
typename UserIdentityT = Aws::String>
185 m_userIdentityHasBeenSet =
true;
186 m_userIdentity = std::forward<UserIdentityT>(value);
188 template <
typename UserIdentityT = Aws::String>
203 long long m_createTime{0};
207 long long m_queryDuration{0};
209 double m_bytesScanned{0.0};
212 bool m_queryLanguageHasBeenSet =
false;
213 bool m_queryIdHasBeenSet =
false;
214 bool m_queryStringHasBeenSet =
false;
215 bool m_statusHasBeenSet =
false;
216 bool m_createTimeHasBeenSet =
false;
217 bool m_logGroupNameHasBeenSet =
false;
218 bool m_queryDurationHasBeenSet =
false;
219 bool m_bytesScannedHasBeenSet =
false;
220 bool m_userIdentityHasBeenSet =
false;
void SetLogGroupName(LogGroupNameT &&value)
AWS_CLOUDWATCHLOGS_API QueryInfo(Aws::Utils::Json::JsonView jsonValue)
void SetQueryDuration(long long value)
QueryInfo & WithStatus(QueryStatus value)
bool LogGroupNameHasBeenSet() const
QueryInfo & WithUserIdentity(UserIdentityT &&value)
AWS_CLOUDWATCHLOGS_API QueryInfo()=default
QueryLanguage GetQueryLanguage() const
QueryInfo & WithLogGroupName(LogGroupNameT &&value)
void SetQueryString(QueryStringT &&value)
QueryInfo & WithQueryString(QueryStringT &&value)
void SetUserIdentity(UserIdentityT &&value)
const Aws::String & GetQueryString() const
void SetBytesScanned(double value)
bool StatusHasBeenSet() const
bool QueryStringHasBeenSet() const
const Aws::String & GetUserIdentity() const
bool UserIdentityHasBeenSet() const
double GetBytesScanned() const
QueryInfo & WithQueryLanguage(QueryLanguage value)
QueryInfo & WithQueryId(QueryIdT &&value)
QueryStatus GetStatus() const
QueryInfo & WithBytesScanned(double value)
long long GetQueryDuration() const
QueryInfo & WithQueryDuration(long long value)
bool QueryLanguageHasBeenSet() const
QueryInfo & WithCreateTime(long long value)
bool CreateTimeHasBeenSet() const
bool BytesScannedHasBeenSet() const
const Aws::String & GetQueryId() const
AWS_CLOUDWATCHLOGS_API QueryInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetQueryLanguage(QueryLanguage value)
void SetQueryId(QueryIdT &&value)
void SetCreateTime(long long value)
const Aws::String & GetLogGroupName() const
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
bool QueryIdHasBeenSet() const
void SetStatus(QueryStatus value)
long long GetCreateTime() const
bool QueryDurationHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue