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
129 inline void SetFailureReason(
const char* value) { m_failureReasonHasBeenSet =
true; m_failureReason.assign(value); }
137 bool m_invocationTimeHasBeenSet =
false;
140 bool m_triggerTimeHasBeenSet =
false;
143 bool m_runStatusHasBeenSet =
false;
146 bool m_executionStatsHasBeenSet =
false;
149 bool m_queryInsightsResponseHasBeenSet =
false;
152 bool m_errorReportLocationHasBeenSet =
false;
155 bool m_failureReasonHasBeenSet =
false;
void SetQueryInsightsResponse(const ScheduledQueryInsightsResponse &value)
ScheduledQueryRunSummary & WithRunStatus(ScheduledQueryRunStatus &&value)
AWS_TIMESTREAMQUERY_API ScheduledQueryRunSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTriggerTime(Aws::Utils::DateTime &&value)
void SetRunStatus(const ScheduledQueryRunStatus &value)
bool InvocationTimeHasBeenSet() const
bool RunStatusHasBeenSet() const
ScheduledQueryRunSummary & WithInvocationTime(Aws::Utils::DateTime &&value)
void SetRunStatus(ScheduledQueryRunStatus &&value)
const Aws::Utils::DateTime & GetTriggerTime() const
bool TriggerTimeHasBeenSet() const
void SetErrorReportLocation(ErrorReportLocation &&value)
ScheduledQueryRunSummary & WithFailureReason(Aws::String &&value)
bool ExecutionStatsHasBeenSet() const
void SetFailureReason(Aws::String &&value)
void SetInvocationTime(const Aws::Utils::DateTime &value)
ScheduledQueryRunSummary & WithErrorReportLocation(ErrorReportLocation &&value)
void SetFailureReason(const char *value)
void SetQueryInsightsResponse(ScheduledQueryInsightsResponse &&value)
AWS_TIMESTREAMQUERY_API ScheduledQueryRunSummary()
ScheduledQueryRunSummary & WithExecutionStats(const ExecutionStats &value)
ScheduledQueryRunSummary & WithQueryInsightsResponse(ScheduledQueryInsightsResponse &&value)
bool FailureReasonHasBeenSet() const
const ErrorReportLocation & GetErrorReportLocation() const
const ExecutionStats & GetExecutionStats() const
ScheduledQueryRunSummary & WithTriggerTime(const Aws::Utils::DateTime &value)
void SetErrorReportLocation(const ErrorReportLocation &value)
void SetExecutionStats(const ExecutionStats &value)
ScheduledQueryRunSummary & WithExecutionStats(ExecutionStats &&value)
const ScheduledQueryInsightsResponse & GetQueryInsightsResponse() const
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
bool QueryInsightsResponseHasBeenSet() const
AWS_TIMESTREAMQUERY_API ScheduledQueryRunSummary(Aws::Utils::Json::JsonView jsonValue)
ScheduledQueryRunSummary & WithFailureReason(const Aws::String &value)
ScheduledQueryRunSummary & WithTriggerTime(Aws::Utils::DateTime &&value)
ScheduledQueryRunSummary & WithFailureReason(const char *value)
void SetFailureReason(const Aws::String &value)
ScheduledQueryRunSummary & WithQueryInsightsResponse(const ScheduledQueryInsightsResponse &value)
ScheduledQueryRunSummary & WithErrorReportLocation(const ErrorReportLocation &value)
void SetExecutionStats(ExecutionStats &&value)
ScheduledQueryRunSummary & WithInvocationTime(const Aws::Utils::DateTime &value)
void SetInvocationTime(Aws::Utils::DateTime &&value)
bool ErrorReportLocationHasBeenSet() const
const Aws::String & GetFailureReason() const
const Aws::Utils::DateTime & GetInvocationTime() const
void SetTriggerTime(const Aws::Utils::DateTime &value)
const ScheduledQueryRunStatus & GetRunStatus() const
ScheduledQueryRunSummary & WithRunStatus(const ScheduledQueryRunStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue