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
55 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
56 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
70 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
84 inline void SetQueryString(
const char* value) { m_queryStringHasBeenSet =
true; m_queryString.assign(value); }
196 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
242 bool m_arnHasBeenSet =
false;
245 bool m_nameHasBeenSet =
false;
248 bool m_queryStringHasBeenSet =
false;
251 bool m_creationTimeHasBeenSet =
false;
254 bool m_stateHasBeenSet =
false;
257 bool m_previousInvocationTimeHasBeenSet =
false;
260 bool m_nextInvocationTimeHasBeenSet =
false;
263 bool m_scheduleConfigurationHasBeenSet =
false;
266 bool m_notificationConfigurationHasBeenSet =
false;
269 bool m_targetConfigurationHasBeenSet =
false;
272 bool m_scheduledQueryExecutionRoleArnHasBeenSet =
false;
275 bool m_kmsKeyIdHasBeenSet =
false;
278 bool m_errorReportConfigurationHasBeenSet =
false;
281 bool m_lastRunSummaryHasBeenSet =
false;
284 bool m_recentlyFailedRunsHasBeenSet =
false;
void SetRecentlyFailedRuns(const Aws::Vector< ScheduledQueryRunSummary > &value)
ScheduledQueryDescription & AddRecentlyFailedRuns(const ScheduledQueryRunSummary &value)
AWS_TIMESTREAMQUERY_API ScheduledQueryDescription()
void SetScheduleConfiguration(ScheduleConfiguration &&value)
bool ArnHasBeenSet() const
ScheduledQueryDescription & WithScheduledQueryExecutionRoleArn(const Aws::String &value)
void SetTargetConfiguration(TargetConfiguration &&value)
ScheduledQueryDescription & WithArn(const char *value)
void SetNextInvocationTime(const Aws::Utils::DateTime &value)
ScheduledQueryDescription & WithScheduledQueryExecutionRoleArn(Aws::String &&value)
ScheduledQueryDescription & WithName(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
bool ScheduleConfigurationHasBeenSet() const
ScheduledQueryDescription & WithScheduledQueryExecutionRoleArn(const char *value)
void SetQueryString(Aws::String &&value)
bool NameHasBeenSet() const
const ScheduledQueryState & GetState() const
const Aws::String & GetName() const
ScheduledQueryDescription & WithRecentlyFailedRuns(const Aws::Vector< ScheduledQueryRunSummary > &value)
const Aws::Utils::DateTime & GetPreviousInvocationTime() const
bool LastRunSummaryHasBeenSet() const
bool NotificationConfigurationHasBeenSet() const
void SetPreviousInvocationTime(Aws::Utils::DateTime &&value)
const Aws::Vector< ScheduledQueryRunSummary > & GetRecentlyFailedRuns() const
void SetArn(const char *value)
ScheduledQueryDescription & WithTargetConfiguration(const TargetConfiguration &value)
ScheduledQueryDescription & WithTargetConfiguration(TargetConfiguration &&value)
void SetLastRunSummary(ScheduledQueryRunSummary &&value)
ScheduledQueryDescription & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_TIMESTREAMQUERY_API ScheduledQueryDescription(Aws::Utils::Json::JsonView jsonValue)
ScheduledQueryDescription & WithName(const char *value)
void SetNotificationConfiguration(NotificationConfiguration &&value)
ScheduledQueryDescription & WithScheduleConfiguration(ScheduleConfiguration &&value)
const Aws::Utils::DateTime & GetNextInvocationTime() const
void SetKmsKeyId(Aws::String &&value)
AWS_TIMESTREAMQUERY_API ScheduledQueryDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorReportConfiguration(const ErrorReportConfiguration &value)
const ErrorReportConfiguration & GetErrorReportConfiguration() const
ScheduledQueryDescription & WithQueryString(Aws::String &&value)
const ScheduleConfiguration & GetScheduleConfiguration() const
bool PreviousInvocationTimeHasBeenSet() const
void SetScheduledQueryExecutionRoleArn(const Aws::String &value)
void SetScheduledQueryExecutionRoleArn(const char *value)
ScheduledQueryDescription & WithState(ScheduledQueryState &&value)
ScheduledQueryDescription & WithNotificationConfiguration(const NotificationConfiguration &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetNextInvocationTime(Aws::Utils::DateTime &&value)
bool RecentlyFailedRunsHasBeenSet() const
const NotificationConfiguration & GetNotificationConfiguration() const
void SetArn(const Aws::String &value)
ScheduledQueryDescription & WithPreviousInvocationTime(Aws::Utils::DateTime &&value)
void SetArn(Aws::String &&value)
bool NextInvocationTimeHasBeenSet() const
ScheduledQueryDescription & WithCreationTime(const Aws::Utils::DateTime &value)
bool CreationTimeHasBeenSet() const
const Aws::String & GetKmsKeyId() const
ScheduledQueryDescription & WithName(Aws::String &&value)
void SetQueryString(const char *value)
void SetName(const Aws::String &value)
bool KmsKeyIdHasBeenSet() const
ScheduledQueryDescription & WithNextInvocationTime(const Aws::Utils::DateTime &value)
bool TargetConfigurationHasBeenSet() const
void SetState(const ScheduledQueryState &value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
bool ErrorReportConfigurationHasBeenSet() const
ScheduledQueryDescription & WithScheduleConfiguration(const ScheduleConfiguration &value)
ScheduledQueryDescription & WithNextInvocationTime(Aws::Utils::DateTime &&value)
ScheduledQueryDescription & WithQueryString(const Aws::String &value)
ScheduledQueryDescription & WithPreviousInvocationTime(const Aws::Utils::DateTime &value)
ScheduledQueryDescription & WithState(const ScheduledQueryState &value)
ScheduledQueryDescription & WithRecentlyFailedRuns(Aws::Vector< ScheduledQueryRunSummary > &&value)
void SetTargetConfiguration(const TargetConfiguration &value)
ScheduledQueryDescription & WithKmsKeyId(const Aws::String &value)
ScheduledQueryDescription & WithKmsKeyId(const char *value)
void SetRecentlyFailedRuns(Aws::Vector< ScheduledQueryRunSummary > &&value)
ScheduledQueryDescription & WithQueryString(const char *value)
void SetNotificationConfiguration(const NotificationConfiguration &value)
const Aws::String & GetScheduledQueryExecutionRoleArn() const
ScheduledQueryDescription & WithLastRunSummary(ScheduledQueryRunSummary &&value)
void SetQueryString(const Aws::String &value)
ScheduledQueryDescription & WithKmsKeyId(Aws::String &&value)
void SetState(ScheduledQueryState &&value)
bool ScheduledQueryExecutionRoleArnHasBeenSet() const
ScheduledQueryDescription & WithArn(const Aws::String &value)
ScheduledQueryDescription & WithErrorReportConfiguration(ErrorReportConfiguration &&value)
ScheduledQueryDescription & WithNotificationConfiguration(NotificationConfiguration &&value)
void SetKmsKeyId(const char *value)
void SetErrorReportConfiguration(ErrorReportConfiguration &&value)
ScheduledQueryDescription & WithLastRunSummary(const ScheduledQueryRunSummary &value)
void SetLastRunSummary(const ScheduledQueryRunSummary &value)
const ScheduledQueryRunSummary & GetLastRunSummary() const
void SetCreationTime(const Aws::Utils::DateTime &value)
bool QueryStringHasBeenSet() const
void SetName(Aws::String &&value)
void SetScheduledQueryExecutionRoleArn(Aws::String &&value)
const TargetConfiguration & GetTargetConfiguration() const
ScheduledQueryDescription & AddRecentlyFailedRuns(ScheduledQueryRunSummary &&value)
void SetPreviousInvocationTime(const Aws::Utils::DateTime &value)
ScheduledQueryDescription & WithErrorReportConfiguration(const ErrorReportConfiguration &value)
const Aws::String & GetArn() const
void SetScheduleConfiguration(const ScheduleConfiguration &value)
void SetName(const char *value)
const Aws::String & GetQueryString() const
ScheduledQueryDescription & WithArn(Aws::String &&value)
void SetKmsKeyId(const Aws::String &value)
bool StateHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue