7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
10#include <aws/timestream-query/model/ErrorReportLocation.h>
11#include <aws/timestream-query/model/ExecutionStats.h>
12#include <aws/timestream-query/model/ScheduledQueryInsightsResponse.h>
13#include <aws/timestream-query/model/ScheduledQueryRunStatus.h>
24namespace TimestreamQuery {
47 template <
typename InvocationTimeT = Aws::Utils::DateTime>
49 m_invocationTimeHasBeenSet =
true;
50 m_invocationTime = std::forward<InvocationTimeT>(value);
52 template <
typename InvocationTimeT = Aws::Utils::DateTime>
65 template <
typename TriggerTimeT = Aws::Utils::DateTime>
67 m_triggerTimeHasBeenSet =
true;
68 m_triggerTime = std::forward<TriggerTimeT>(value);
70 template <
typename TriggerTimeT = Aws::Utils::DateTime>
84 m_runStatusHasBeenSet =
true;
99 template <
typename ExecutionStatsT = ExecutionStats>
101 m_executionStatsHasBeenSet =
true;
102 m_executionStats = std::forward<ExecutionStatsT>(value);
104 template <
typename ExecutionStatsT = ExecutionStats>
118 template <
typename QueryInsightsResponseT = ScheduledQueryInsightsResponse>
120 m_queryInsightsResponseHasBeenSet =
true;
121 m_queryInsightsResponse = std::forward<QueryInsightsResponseT>(value);
123 template <
typename QueryInsightsResponseT = ScheduledQueryInsightsResponse>
136 template <
typename ErrorReportLocationT = ErrorReportLocation>
138 m_errorReportLocationHasBeenSet =
true;
139 m_errorReportLocation = std::forward<ErrorReportLocationT>(value);
141 template <
typename ErrorReportLocationT = ErrorReportLocation>
155 template <
typename FailureReasonT = Aws::String>
157 m_failureReasonHasBeenSet =
true;
158 m_failureReason = std::forward<FailureReasonT>(value);
160 template <
typename FailureReasonT = Aws::String>
173 ExecutionStats m_executionStats;
175 ScheduledQueryInsightsResponse m_queryInsightsResponse;
177 ErrorReportLocation m_errorReportLocation;
180 bool m_invocationTimeHasBeenSet =
false;
181 bool m_triggerTimeHasBeenSet =
false;
182 bool m_runStatusHasBeenSet =
false;
183 bool m_executionStatsHasBeenSet =
false;
184 bool m_queryInsightsResponseHasBeenSet =
false;
185 bool m_errorReportLocationHasBeenSet =
false;
186 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