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/ScheduleConfiguration.h>
12#include <aws/timestream-query/model/NotificationConfiguration.h>
13#include <aws/timestream-query/model/TargetConfiguration.h>
14#include <aws/timestream-query/model/ErrorReportConfiguration.h>
15#include <aws/timestream-query/model/ScheduledQueryRunSummary.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
29namespace TimestreamQuery
54 template<
typename ArnT = Aws::String>
55 void SetArn(
ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
56 template<
typename ArnT = Aws::String>
66 template<
typename NameT = Aws::String>
67 void SetName(
NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
68 template<
typename NameT = Aws::String>
78 template<
typename QueryStringT = Aws::String>
80 template<
typename QueryStringT = Aws::String>
90 template<
typename CreationTimeT = Aws::Utils::DateTime>
92 template<
typename CreationTimeT = Aws::Utils::DateTime>
112 template<
typename PreviousInvocationTimeT = Aws::Utils::DateTime>
114 template<
typename PreviousInvocationTimeT = Aws::Utils::DateTime>
124 template<
typename NextInvocationTimeT = Aws::Utils::DateTime>
126 template<
typename NextInvocationTimeT = Aws::Utils::DateTime>
136 template<
typename ScheduleConfigurationT = ScheduleConfiguration>
138 template<
typename ScheduleConfigurationT = ScheduleConfiguration>
148 template<
typename NotificationConfigurationT = NotificationConfiguration>
150 template<
typename NotificationConfigurationT = NotificationConfiguration>
160 template<
typename TargetConfigurationT = TargetConfiguration>
162 template<
typename TargetConfigurationT = TargetConfiguration>
172 template<
typename ScheduledQueryExecutionRoleArnT = Aws::String>
174 template<
typename ScheduledQueryExecutionRoleArnT = Aws::String>
184 template<
typename KmsKeyIdT = Aws::String>
185 void SetKmsKeyId(
KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
186 template<
typename KmsKeyIdT = Aws::String>
196 template<
typename ErrorReportConfigurationT = ErrorReportConfiguration>
198 template<
typename ErrorReportConfigurationT = ErrorReportConfiguration>
208 template<
typename LastRunSummaryT = ScheduledQueryRunSummary>
210 template<
typename LastRunSummaryT = ScheduledQueryRunSummary>
220 template<
typename RecentlyFailedRunsT = Aws::Vector<ScheduledQueryRunSummary>>
222 template<
typename RecentlyFailedRunsT = Aws::Vector<ScheduledQueryRunSummary>>
224 template<
typename RecentlyFailedRunsT = ScheduledQueryRunSummary>
230 bool m_arnHasBeenSet =
false;
233 bool m_nameHasBeenSet =
false;
236 bool m_queryStringHasBeenSet =
false;
239 bool m_creationTimeHasBeenSet =
false;
242 bool m_stateHasBeenSet =
false;
245 bool m_previousInvocationTimeHasBeenSet =
false;
248 bool m_nextInvocationTimeHasBeenSet =
false;
250 ScheduleConfiguration m_scheduleConfiguration;
251 bool m_scheduleConfigurationHasBeenSet =
false;
253 NotificationConfiguration m_notificationConfiguration;
254 bool m_notificationConfigurationHasBeenSet =
false;
256 TargetConfiguration m_targetConfiguration;
257 bool m_targetConfigurationHasBeenSet =
false;
260 bool m_scheduledQueryExecutionRoleArnHasBeenSet =
false;
263 bool m_kmsKeyIdHasBeenSet =
false;
265 ErrorReportConfiguration m_errorReportConfiguration;
266 bool m_errorReportConfigurationHasBeenSet =
false;
268 ScheduledQueryRunSummary m_lastRunSummary;
269 bool m_lastRunSummaryHasBeenSet =
false;
272 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