7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/timestream-query/model/ScheduledQueryState.h>
11#include <aws/timestream-query/model/ErrorReportConfiguration.h>
12#include <aws/timestream-query/model/TargetDestination.h>
13#include <aws/timestream-query/model/ScheduledQueryRunStatus.h>
26namespace TimestreamQuery
51 template<
typename ArnT = Aws::String>
52 void SetArn(
ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
53 template<
typename ArnT = Aws::String>
63 template<
typename NameT = Aws::String>
64 void SetName(
NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
65 template<
typename NameT = Aws::String>
75 template<
typename CreationTimeT = Aws::Utils::DateTime>
77 template<
typename CreationTimeT = Aws::Utils::DateTime>
97 template<
typename PreviousInvocationTimeT = Aws::Utils::DateTime>
99 template<
typename PreviousInvocationTimeT = Aws::Utils::DateTime>
109 template<
typename NextInvocationTimeT = Aws::Utils::DateTime>
111 template<
typename NextInvocationTimeT = Aws::Utils::DateTime>
121 template<
typename ErrorReportConfigurationT = ErrorReportConfiguration>
123 template<
typename ErrorReportConfigurationT = ErrorReportConfiguration>
133 template<
typename TargetDestinationT = TargetDestination>
135 template<
typename TargetDestinationT = TargetDestination>
151 bool m_arnHasBeenSet =
false;
154 bool m_nameHasBeenSet =
false;
157 bool m_creationTimeHasBeenSet =
false;
160 bool m_stateHasBeenSet =
false;
163 bool m_previousInvocationTimeHasBeenSet =
false;
166 bool m_nextInvocationTimeHasBeenSet =
false;
168 ErrorReportConfiguration m_errorReportConfiguration;
169 bool m_errorReportConfigurationHasBeenSet =
false;
171 TargetDestination m_targetDestination;
172 bool m_targetDestinationHasBeenSet =
false;
175 bool m_lastRunStatusHasBeenSet =
false;
ScheduledQuery & WithNextInvocationTime(NextInvocationTimeT &&value)
void SetPreviousInvocationTime(PreviousInvocationTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetName(NameT &&value)
AWS_TIMESTREAMQUERY_API ScheduledQuery()=default
bool TargetDestinationHasBeenSet() const
ScheduledQuery & WithArn(ArnT &&value)
void SetErrorReportConfiguration(ErrorReportConfigurationT &&value)
bool NextInvocationTimeHasBeenSet() const
const Aws::String & GetArn() const
ScheduledQueryRunStatus GetLastRunStatus() const
ScheduledQuery & WithLastRunStatus(ScheduledQueryRunStatus value)
bool StateHasBeenSet() const
ScheduledQuery & WithTargetDestination(TargetDestinationT &&value)
const Aws::String & GetName() const
AWS_TIMESTREAMQUERY_API ScheduledQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
bool CreationTimeHasBeenSet() const
ScheduledQuery & WithName(NameT &&value)
void SetState(ScheduledQueryState value)
ScheduledQuery & WithErrorReportConfiguration(ErrorReportConfigurationT &&value)
void SetLastRunStatus(ScheduledQueryRunStatus value)
void SetCreationTime(CreationTimeT &&value)
ScheduledQuery & WithCreationTime(CreationTimeT &&value)
void SetNextInvocationTime(NextInvocationTimeT &&value)
void SetArn(ArnT &&value)
bool ArnHasBeenSet() const
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
bool PreviousInvocationTimeHasBeenSet() const
const ErrorReportConfiguration & GetErrorReportConfiguration() const
void SetTargetDestination(TargetDestinationT &&value)
bool ErrorReportConfigurationHasBeenSet() const
const Aws::Utils::DateTime & GetNextInvocationTime() const
ScheduledQueryState GetState() const
ScheduledQuery & WithState(ScheduledQueryState value)
bool LastRunStatusHasBeenSet() const
ScheduledQuery & WithPreviousInvocationTime(PreviousInvocationTimeT &&value)
const Aws::Utils::DateTime & GetPreviousInvocationTime() const
AWS_TIMESTREAMQUERY_API ScheduledQuery(Aws::Utils::Json::JsonView jsonValue)
const TargetDestination & GetTargetDestination() const
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