7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/logs/CloudWatchLogs_EXPORTS.h>
11#include <aws/logs/model/DestinationConfiguration.h>
12#include <aws/logs/model/ExecutionStatus.h>
13#include <aws/logs/model/QueryLanguage.h>
14#include <aws/logs/model/ScheduleType.h>
15#include <aws/logs/model/ScheduledQueryState.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace CloudWatchLogs {
41 template <
typename ScheduledQueryArnT = Aws::String>
43 m_scheduledQueryArnHasBeenSet =
true;
44 m_scheduledQueryArn = std::forward<ScheduledQueryArnT>(value);
46 template <
typename ScheduledQueryArnT = Aws::String>
58 template <
typename NameT = Aws::String>
60 m_nameHasBeenSet =
true;
61 m_name = std::forward<NameT>(value);
63 template <
typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
75 template <
typename DescriptionT = Aws::String>
77 m_descriptionHasBeenSet =
true;
78 m_description = std::forward<DescriptionT>(value);
80 template <
typename DescriptionT = Aws::String>
93 m_queryLanguageHasBeenSet =
true;
94 m_queryLanguage = value;
107 template <
typename QueryStringT = Aws::String>
109 m_queryStringHasBeenSet =
true;
110 m_queryString = std::forward<QueryStringT>(value);
112 template <
typename QueryStringT = Aws::String>
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));
147 template <
typename ScheduleExpressionT = Aws::String>
149 m_scheduleExpressionHasBeenSet =
true;
150 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
152 template <
typename ScheduleExpressionT = Aws::String>
164 template <
typename TimezoneT = Aws::String>
166 m_timezoneHasBeenSet =
true;
167 m_timezone = std::forward<TimezoneT>(value);
169 template <
typename TimezoneT = Aws::String>
183 m_startTimeOffsetHasBeenSet =
true;
184 m_startTimeOffset = value;
199 m_endTimeOffsetHasBeenSet =
true;
200 m_endTimeOffset = value;
213 template <
typename DestinationConfigurationT = DestinationConfiguration>
215 m_destinationConfigurationHasBeenSet =
true;
216 m_destinationConfiguration = std::forward<DestinationConfigurationT>(value);
218 template <
typename DestinationConfigurationT = DestinationConfiguration>
231 m_stateHasBeenSet =
true;
247 m_scheduleTypeHasBeenSet =
true;
248 m_scheduleType = value;
262 m_lastTriggeredTimeHasBeenSet =
true;
263 m_lastTriggeredTime = value;
277 m_lastExecutionStatusHasBeenSet =
true;
278 m_lastExecutionStatus = value;
292 m_scheduleStartTimeHasBeenSet =
true;
293 m_scheduleStartTime = value;
307 m_scheduleEndTimeHasBeenSet =
true;
308 m_scheduleEndTime = value;
321 template <
typename ExecutionRoleArnT = Aws::String>
323 m_executionRoleArnHasBeenSet =
true;
324 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
326 template <
typename ExecutionRoleArnT = Aws::String>
339 m_creationTimeHasBeenSet =
true;
340 m_creationTime = value;
354 m_lastUpdatedTimeHasBeenSet =
true;
355 m_lastUpdatedTime = value;
366 template <
typename RequestIdT = Aws::String>
368 m_requestIdHasBeenSet =
true;
369 m_requestId = std::forward<RequestIdT>(value);
371 template <
typename RequestIdT = Aws::String>
396 long long m_startTimeOffset{0};
398 long long m_endTimeOffset{0};
400 DestinationConfiguration m_destinationConfiguration;
406 long long m_lastTriggeredTime{0};
410 long long m_scheduleStartTime{0};
412 long long m_scheduleEndTime{0};
416 long long m_creationTime{0};
418 long long m_lastUpdatedTime{0};
422 bool m_scheduledQueryArnHasBeenSet =
false;
423 bool m_nameHasBeenSet =
false;
424 bool m_descriptionHasBeenSet =
false;
425 bool m_queryLanguageHasBeenSet =
false;
426 bool m_queryStringHasBeenSet =
false;
427 bool m_logGroupIdentifiersHasBeenSet =
false;
428 bool m_scheduleExpressionHasBeenSet =
false;
429 bool m_timezoneHasBeenSet =
false;
430 bool m_startTimeOffsetHasBeenSet =
false;
431 bool m_endTimeOffsetHasBeenSet =
false;
432 bool m_destinationConfigurationHasBeenSet =
false;
433 bool m_stateHasBeenSet =
false;
434 bool m_scheduleTypeHasBeenSet =
false;
435 bool m_lastTriggeredTimeHasBeenSet =
false;
436 bool m_lastExecutionStatusHasBeenSet =
false;
437 bool m_scheduleStartTimeHasBeenSet =
false;
438 bool m_scheduleEndTimeHasBeenSet =
false;
439 bool m_executionRoleArnHasBeenSet =
false;
440 bool m_creationTimeHasBeenSet =
false;
441 bool m_lastUpdatedTimeHasBeenSet =
false;
442 bool m_requestIdHasBeenSet =
false;
AWS_CLOUDWATCHLOGS_API GetScheduledQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastTriggeredTime(long long value)
GetScheduledQueryResult & WithScheduledQueryArn(ScheduledQueryArnT &&value)
void SetName(NameT &&value)
GetScheduledQueryResult & WithCreationTime(long long value)
void SetScheduledQueryArn(ScheduledQueryArnT &&value)
long long GetCreationTime() const
long long GetEndTimeOffset() const
long long GetLastTriggeredTime() const
const Aws::String & GetDescription() const
void SetRequestId(RequestIdT &&value)
GetScheduledQueryResult & WithState(ScheduledQueryState value)
GetScheduledQueryResult & WithQueryString(QueryStringT &&value)
const Aws::String & GetScheduledQueryArn() const
AWS_CLOUDWATCHLOGS_API GetScheduledQueryResult()=default
GetScheduledQueryResult & WithRequestId(RequestIdT &&value)
GetScheduledQueryResult & WithDescription(DescriptionT &&value)
long long GetStartTimeOffset() const
GetScheduledQueryResult & WithStartTimeOffset(long long value)
void SetState(ScheduledQueryState value)
GetScheduledQueryResult & WithScheduleType(ScheduleType value)
GetScheduledQueryResult & WithScheduleStartTime(long long value)
void SetLogGroupIdentifiers(LogGroupIdentifiersT &&value)
const Aws::String & GetExecutionRoleArn() const
void SetDescription(DescriptionT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetStartTimeOffset(long long value)
void SetEndTimeOffset(long long value)
GetScheduledQueryResult & AddLogGroupIdentifiers(LogGroupIdentifiersT &&value)
void SetLastExecutionStatus(ExecutionStatus value)
GetScheduledQueryResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
void SetLastUpdatedTime(long long value)
void SetScheduleType(ScheduleType value)
QueryLanguage GetQueryLanguage() const
void SetTimezone(TimezoneT &&value)
const Aws::Vector< Aws::String > & GetLogGroupIdentifiers() const
ScheduleType GetScheduleType() const
const Aws::String & GetTimezone() const
void SetScheduleEndTime(long long value)
GetScheduledQueryResult & WithScheduleExpression(ScheduleExpressionT &&value)
GetScheduledQueryResult & WithLastUpdatedTime(long long value)
void SetDestinationConfiguration(DestinationConfigurationT &&value)
GetScheduledQueryResult & WithName(NameT &&value)
void SetQueryLanguage(QueryLanguage value)
GetScheduledQueryResult & WithLogGroupIdentifiers(LogGroupIdentifiersT &&value)
void SetScheduleStartTime(long long value)
const Aws::String & GetName() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::String & GetScheduleExpression() const
void SetQueryString(QueryStringT &&value)
ScheduledQueryState GetState() const
const Aws::String & GetQueryString() const
const DestinationConfiguration & GetDestinationConfiguration() const
long long GetScheduleEndTime() const
void SetScheduleExpression(ScheduleExpressionT &&value)
GetScheduledQueryResult & WithScheduleEndTime(long long value)
void SetCreationTime(long long value)
long long GetLastUpdatedTime() const
long long GetScheduleStartTime() const
GetScheduledQueryResult & WithQueryLanguage(QueryLanguage value)
GetScheduledQueryResult & WithTimezone(TimezoneT &&value)
GetScheduledQueryResult & WithLastTriggeredTime(long long value)
GetScheduledQueryResult & WithLastExecutionStatus(ExecutionStatus value)
GetScheduledQueryResult & WithDestinationConfiguration(DestinationConfigurationT &&value)
ExecutionStatus GetLastExecutionStatus() const
AWS_CLOUDWATCHLOGS_API GetScheduledQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
GetScheduledQueryResult & WithEndTimeOffset(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue