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/ErrorReportConfiguration.h>
11#include <aws/timestream-query/model/ScheduledQueryRunStatus.h>
12#include <aws/timestream-query/model/ScheduledQueryState.h>
13#include <aws/timestream-query/model/TargetDestination.h>
24namespace TimestreamQuery {
45 template <
typename ArnT = Aws::String>
47 m_arnHasBeenSet =
true;
48 m_arn = std::forward<ArnT>(value);
50 template <
typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
81 template <
typename CreationTimeT = Aws::Utils::DateTime>
83 m_creationTimeHasBeenSet =
true;
84 m_creationTime = std::forward<CreationTimeT>(value);
86 template <
typename CreationTimeT = Aws::Utils::DateTime>
100 m_stateHasBeenSet =
true;
115 template <
typename PreviousInvocationTimeT = Aws::Utils::DateTime>
117 m_previousInvocationTimeHasBeenSet =
true;
118 m_previousInvocationTime = std::forward<PreviousInvocationTimeT>(value);
120 template <
typename PreviousInvocationTimeT = Aws::Utils::DateTime>
133 template <
typename NextInvocationTimeT = Aws::Utils::DateTime>
135 m_nextInvocationTimeHasBeenSet =
true;
136 m_nextInvocationTime = std::forward<NextInvocationTimeT>(value);
138 template <
typename NextInvocationTimeT = Aws::Utils::DateTime>
151 template <
typename ErrorReportConfigurationT = ErrorReportConfiguration>
153 m_errorReportConfigurationHasBeenSet =
true;
154 m_errorReportConfiguration = std::forward<ErrorReportConfigurationT>(value);
156 template <
typename ErrorReportConfigurationT = ErrorReportConfiguration>
169 template <
typename TargetDestinationT = TargetDestination>
171 m_targetDestinationHasBeenSet =
true;
172 m_targetDestination = std::forward<TargetDestinationT>(value);
174 template <
typename TargetDestinationT = TargetDestination>
188 m_lastRunStatusHasBeenSet =
true;
189 m_lastRunStatus = value;
209 ErrorReportConfiguration m_errorReportConfiguration;
211 TargetDestination m_targetDestination;
214 bool m_arnHasBeenSet =
false;
215 bool m_nameHasBeenSet =
false;
216 bool m_creationTimeHasBeenSet =
false;
217 bool m_stateHasBeenSet =
false;
218 bool m_previousInvocationTimeHasBeenSet =
false;
219 bool m_nextInvocationTimeHasBeenSet =
false;
220 bool m_errorReportConfigurationHasBeenSet =
false;
221 bool m_targetDestinationHasBeenSet =
false;
222 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