7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/timestream-query/model/ScheduledQueryRunStatus.h>
10#include <aws/timestream-query/model/ExecutionStats.h>
11#include <aws/timestream-query/model/ScheduledQueryInsightsResponse.h>
12#include <aws/timestream-query/model/ErrorReportLocation.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
26namespace TimestreamQuery
53 template<
typename InvocationTimeT = Aws::Utils::DateTime>
55 template<
typename InvocationTimeT = Aws::Utils::DateTime>
65 template<
typename TriggerTimeT = Aws::Utils::DateTime>
67 template<
typename TriggerTimeT = Aws::Utils::DateTime>
87 template<
typename ExecutionStatsT = ExecutionStats>
89 template<
typename ExecutionStatsT = ExecutionStats>
100 template<
typename QueryInsightsResponseT = ScheduledQueryInsightsResponse>
102 template<
typename QueryInsightsResponseT = ScheduledQueryInsightsResponse>
112 template<
typename ErrorReportLocationT = ErrorReportLocation>
114 template<
typename ErrorReportLocationT = ErrorReportLocation>
125 template<
typename FailureReasonT = Aws::String>
127 template<
typename FailureReasonT = Aws::String>
133 bool m_invocationTimeHasBeenSet =
false;
136 bool m_triggerTimeHasBeenSet =
false;
139 bool m_runStatusHasBeenSet =
false;
141 ExecutionStats m_executionStats;
142 bool m_executionStatsHasBeenSet =
false;
144 ScheduledQueryInsightsResponse m_queryInsightsResponse;
145 bool m_queryInsightsResponseHasBeenSet =
false;
147 ErrorReportLocation m_errorReportLocation;
148 bool m_errorReportLocationHasBeenSet =
false;
151 bool m_failureReasonHasBeenSet =
false;
AWS_TIMESTREAMQUERY_API ScheduledQueryRunSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool InvocationTimeHasBeenSet() const
bool RunStatusHasBeenSet() const
ScheduledQueryRunSummary & WithErrorReportLocation(ErrorReportLocationT &&value)
const Aws::Utils::DateTime & GetTriggerTime() const
bool TriggerTimeHasBeenSet() const
ScheduledQueryRunSummary & WithQueryInsightsResponse(QueryInsightsResponseT &&value)
bool ExecutionStatsHasBeenSet() const
ScheduledQueryRunSummary & WithFailureReason(FailureReasonT &&value)
void SetErrorReportLocation(ErrorReportLocationT &&value)
AWS_TIMESTREAMQUERY_API ScheduledQueryRunSummary()=default
void SetExecutionStats(ExecutionStatsT &&value)
void SetQueryInsightsResponse(QueryInsightsResponseT &&value)
ScheduledQueryRunSummary & WithInvocationTime(InvocationTimeT &&value)
void SetFailureReason(FailureReasonT &&value)
bool FailureReasonHasBeenSet() const
ScheduledQueryRunSummary & WithTriggerTime(TriggerTimeT &&value)
const ErrorReportLocation & GetErrorReportLocation() const
const ExecutionStats & GetExecutionStats() const
ScheduledQueryRunSummary & WithExecutionStats(ExecutionStatsT &&value)
const ScheduledQueryInsightsResponse & GetQueryInsightsResponse() const
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
bool QueryInsightsResponseHasBeenSet() const
void SetTriggerTime(TriggerTimeT &&value)
ScheduledQueryRunStatus GetRunStatus() const
AWS_TIMESTREAMQUERY_API ScheduledQueryRunSummary(Aws::Utils::Json::JsonView jsonValue)
ScheduledQueryRunSummary & WithRunStatus(ScheduledQueryRunStatus value)
bool ErrorReportLocationHasBeenSet() const
const Aws::String & GetFailureReason() const
const Aws::Utils::DateTime & GetInvocationTime() const
void SetRunStatus(ScheduledQueryRunStatus value)
void SetInvocationTime(InvocationTimeT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue