7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
11#include <aws/timestream-query/model/ErrorReportConfiguration.h>
12#include <aws/timestream-query/model/NotificationConfiguration.h>
13#include <aws/timestream-query/model/ScheduleConfiguration.h>
14#include <aws/timestream-query/model/ScheduledQueryRunSummary.h>
15#include <aws/timestream-query/model/ScheduledQueryState.h>
16#include <aws/timestream-query/model/TargetConfiguration.h>
27namespace TimestreamQuery {
48 template <
typename ArnT = Aws::String>
50 m_arnHasBeenSet =
true;
51 m_arn = std::forward<ArnT>(value);
53 template <
typename ArnT = Aws::String>
55 SetArn(std::forward<ArnT>(value));
66 template <
typename NameT = Aws::String>
68 m_nameHasBeenSet =
true;
69 m_name = std::forward<NameT>(value);
71 template <
typename NameT = Aws::String>
73 SetName(std::forward<NameT>(value));
84 template <
typename QueryStringT = Aws::String>
86 m_queryStringHasBeenSet =
true;
87 m_queryString = std::forward<QueryStringT>(value);
89 template <
typename QueryStringT = Aws::String>
102 template <
typename CreationTimeT = Aws::Utils::DateTime>
104 m_creationTimeHasBeenSet =
true;
105 m_creationTime = std::forward<CreationTimeT>(value);
107 template <
typename CreationTimeT = Aws::Utils::DateTime>
121 m_stateHasBeenSet =
true;
136 template <
typename PreviousInvocationTimeT = Aws::Utils::DateTime>
138 m_previousInvocationTimeHasBeenSet =
true;
139 m_previousInvocationTime = std::forward<PreviousInvocationTimeT>(value);
141 template <
typename PreviousInvocationTimeT = Aws::Utils::DateTime>
154 template <
typename NextInvocationTimeT = Aws::Utils::DateTime>
156 m_nextInvocationTimeHasBeenSet =
true;
157 m_nextInvocationTime = std::forward<NextInvocationTimeT>(value);
159 template <
typename NextInvocationTimeT = Aws::Utils::DateTime>
172 template <
typename ScheduleConfigurationT = ScheduleConfiguration>
174 m_scheduleConfigurationHasBeenSet =
true;
175 m_scheduleConfiguration = std::forward<ScheduleConfigurationT>(value);
177 template <
typename ScheduleConfigurationT = ScheduleConfiguration>
190 template <
typename NotificationConfigurationT = NotificationConfiguration>
192 m_notificationConfigurationHasBeenSet =
true;
193 m_notificationConfiguration = std::forward<NotificationConfigurationT>(value);
195 template <
typename NotificationConfigurationT = NotificationConfiguration>
208 template <
typename TargetConfigurationT = TargetConfiguration>
210 m_targetConfigurationHasBeenSet =
true;
211 m_targetConfiguration = std::forward<TargetConfigurationT>(value);
213 template <
typename TargetConfigurationT = TargetConfiguration>
226 template <
typename ScheduledQueryExecutionRoleArnT = Aws::String>
228 m_scheduledQueryExecutionRoleArnHasBeenSet =
true;
229 m_scheduledQueryExecutionRoleArn = std::forward<ScheduledQueryExecutionRoleArnT>(value);
231 template <
typename ScheduledQueryExecutionRoleArnT = Aws::String>
244 template <
typename KmsKeyIdT = Aws::String>
246 m_kmsKeyIdHasBeenSet =
true;
247 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
249 template <
typename KmsKeyIdT = Aws::String>
262 template <
typename ErrorReportConfigurationT = ErrorReportConfiguration>
264 m_errorReportConfigurationHasBeenSet =
true;
265 m_errorReportConfiguration = std::forward<ErrorReportConfigurationT>(value);
267 template <
typename ErrorReportConfigurationT = ErrorReportConfiguration>
280 template <
typename LastRunSummaryT = ScheduledQueryRunSummary>
282 m_lastRunSummaryHasBeenSet =
true;
283 m_lastRunSummary = std::forward<LastRunSummaryT>(value);
285 template <
typename LastRunSummaryT = ScheduledQueryRunSummary>
298 template <
typename RecentlyFailedRunsT = Aws::Vector<ScheduledQueryRunSummary>>
300 m_recentlyFailedRunsHasBeenSet =
true;
301 m_recentlyFailedRuns = std::forward<RecentlyFailedRunsT>(value);
303 template <
typename RecentlyFailedRunsT = Aws::Vector<ScheduledQueryRunSummary>>
308 template <
typename RecentlyFailedRunsT = ScheduledQueryRunSummary>
310 m_recentlyFailedRunsHasBeenSet =
true;
311 m_recentlyFailedRuns.emplace_back(std::forward<RecentlyFailedRunsT>(value));
330 ScheduleConfiguration m_scheduleConfiguration;
332 NotificationConfiguration m_notificationConfiguration;
334 TargetConfiguration m_targetConfiguration;
340 ErrorReportConfiguration m_errorReportConfiguration;
342 ScheduledQueryRunSummary m_lastRunSummary;
345 bool m_arnHasBeenSet =
false;
346 bool m_nameHasBeenSet =
false;
347 bool m_queryStringHasBeenSet =
false;
348 bool m_creationTimeHasBeenSet =
false;
349 bool m_stateHasBeenSet =
false;
350 bool m_previousInvocationTimeHasBeenSet =
false;
351 bool m_nextInvocationTimeHasBeenSet =
false;
352 bool m_scheduleConfigurationHasBeenSet =
false;
353 bool m_notificationConfigurationHasBeenSet =
false;
354 bool m_targetConfigurationHasBeenSet =
false;
355 bool m_scheduledQueryExecutionRoleArnHasBeenSet =
false;
356 bool m_kmsKeyIdHasBeenSet =
false;
357 bool m_errorReportConfigurationHasBeenSet =
false;
358 bool m_lastRunSummaryHasBeenSet =
false;
359 bool m_recentlyFailedRunsHasBeenSet =
false;
void SetRecentlyFailedRuns(RecentlyFailedRunsT &&value)
ScheduledQueryState GetState() const
bool ArnHasBeenSet() const
void SetPreviousInvocationTime(PreviousInvocationTimeT &&value)
ScheduledQueryDescription & WithScheduledQueryExecutionRoleArn(ScheduledQueryExecutionRoleArnT &&value)
ScheduledQueryDescription & WithRecentlyFailedRuns(RecentlyFailedRunsT &&value)
void SetCreationTime(CreationTimeT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
bool ScheduleConfigurationHasBeenSet() const
bool NameHasBeenSet() const
const Aws::String & GetName() const
void SetState(ScheduledQueryState value)
ScheduledQueryDescription & WithLastRunSummary(LastRunSummaryT &&value)
const Aws::Utils::DateTime & GetPreviousInvocationTime() const
ScheduledQueryDescription & WithArn(ArnT &&value)
ScheduledQueryDescription & WithKmsKeyId(KmsKeyIdT &&value)
bool LastRunSummaryHasBeenSet() const
bool NotificationConfigurationHasBeenSet() const
void SetTargetConfiguration(TargetConfigurationT &&value)
const Aws::Vector< ScheduledQueryRunSummary > & GetRecentlyFailedRuns() const
AWS_TIMESTREAMQUERY_API ScheduledQueryDescription(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetNextInvocationTime() const
AWS_TIMESTREAMQUERY_API ScheduledQueryDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetQueryString(QueryStringT &&value)
ScheduledQueryDescription & WithPreviousInvocationTime(PreviousInvocationTimeT &&value)
const ErrorReportConfiguration & GetErrorReportConfiguration() const
void SetScheduleConfiguration(ScheduleConfigurationT &&value)
const ScheduleConfiguration & GetScheduleConfiguration() const
bool PreviousInvocationTimeHasBeenSet() const
ScheduledQueryDescription & WithErrorReportConfiguration(ErrorReportConfigurationT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
bool RecentlyFailedRunsHasBeenSet() const
const NotificationConfiguration & GetNotificationConfiguration() const
ScheduledQueryDescription & WithNextInvocationTime(NextInvocationTimeT &&value)
bool NextInvocationTimeHasBeenSet() const
ScheduledQueryDescription & WithCreationTime(CreationTimeT &&value)
void SetNotificationConfiguration(NotificationConfigurationT &&value)
void SetLastRunSummary(LastRunSummaryT &&value)
bool CreationTimeHasBeenSet() const
const Aws::String & GetKmsKeyId() const
void SetName(NameT &&value)
bool KmsKeyIdHasBeenSet() const
void SetNextInvocationTime(NextInvocationTimeT &&value)
ScheduledQueryDescription & WithTargetConfiguration(TargetConfigurationT &&value)
bool TargetConfigurationHasBeenSet() const
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
ScheduledQueryDescription & AddRecentlyFailedRuns(RecentlyFailedRunsT &&value)
bool ErrorReportConfigurationHasBeenSet() const
ScheduledQueryDescription & WithState(ScheduledQueryState value)
void SetArn(ArnT &&value)
void SetScheduledQueryExecutionRoleArn(ScheduledQueryExecutionRoleArnT &&value)
const Aws::String & GetScheduledQueryExecutionRoleArn() const
bool ScheduledQueryExecutionRoleArnHasBeenSet() const
ScheduledQueryDescription & WithNotificationConfiguration(NotificationConfigurationT &&value)
ScheduledQueryDescription & WithQueryString(QueryStringT &&value)
ScheduledQueryDescription & WithName(NameT &&value)
void SetErrorReportConfiguration(ErrorReportConfigurationT &&value)
const ScheduledQueryRunSummary & GetLastRunSummary() const
bool QueryStringHasBeenSet() const
const TargetConfiguration & GetTargetConfiguration() const
ScheduledQueryDescription & WithScheduleConfiguration(ScheduleConfigurationT &&value)
const Aws::String & GetArn() const
const Aws::String & GetQueryString() const
bool StateHasBeenSet() const
AWS_TIMESTREAMQUERY_API ScheduledQueryDescription()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue