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
52 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
53 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
67 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
159 bool m_arnHasBeenSet =
false;
162 bool m_nameHasBeenSet =
false;
165 bool m_creationTimeHasBeenSet =
false;
168 bool m_stateHasBeenSet =
false;
171 bool m_previousInvocationTimeHasBeenSet =
false;
174 bool m_nextInvocationTimeHasBeenSet =
false;
177 bool m_errorReportConfigurationHasBeenSet =
false;
180 bool m_targetDestinationHasBeenSet =
false;
183 bool m_lastRunStatusHasBeenSet =
false;
void SetTargetDestination(TargetDestination &&value)
void SetArn(const Aws::String &value)
void SetArn(const char *value)
void SetName(const char *value)
void SetName(const Aws::String &value)
ScheduledQuery & WithName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetPreviousInvocationTime(Aws::Utils::DateTime &&value)
ScheduledQuery & WithPreviousInvocationTime(Aws::Utils::DateTime &&value)
ScheduledQuery & WithTargetDestination(const TargetDestination &value)
ScheduledQuery & WithLastRunStatus(ScheduledQueryRunStatus &&value)
void SetErrorReportConfiguration(ErrorReportConfiguration &&value)
bool TargetDestinationHasBeenSet() const
ScheduledQuery & WithState(const ScheduledQueryState &value)
void SetName(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetNextInvocationTime(Aws::Utils::DateTime &&value)
bool NextInvocationTimeHasBeenSet() const
const Aws::String & GetArn() const
bool StateHasBeenSet() const
ScheduledQuery & WithTargetDestination(TargetDestination &&value)
const Aws::String & GetName() const
ScheduledQuery & WithArn(Aws::String &&value)
ScheduledQuery & WithErrorReportConfiguration(const ErrorReportConfiguration &value)
void SetPreviousInvocationTime(const Aws::Utils::DateTime &value)
void SetTargetDestination(const TargetDestination &value)
AWS_TIMESTREAMQUERY_API ScheduledQuery()
AWS_TIMESTREAMQUERY_API ScheduledQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
bool CreationTimeHasBeenSet() const
void SetLastRunStatus(ScheduledQueryRunStatus &&value)
ScheduledQuery & WithNextInvocationTime(const Aws::Utils::DateTime &value)
bool ArnHasBeenSet() const
void SetNextInvocationTime(const Aws::Utils::DateTime &value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
ScheduledQuery & WithCreationTime(const Aws::Utils::DateTime &value)
ScheduledQuery & WithArn(const Aws::String &value)
ScheduledQuery & WithArn(const char *value)
void SetErrorReportConfiguration(const ErrorReportConfiguration &value)
bool PreviousInvocationTimeHasBeenSet() const
ScheduledQuery & WithNextInvocationTime(Aws::Utils::DateTime &&value)
const ErrorReportConfiguration & GetErrorReportConfiguration() const
void SetState(const ScheduledQueryState &value)
bool ErrorReportConfigurationHasBeenSet() const
const ScheduledQueryRunStatus & GetLastRunStatus() const
ScheduledQuery & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetNextInvocationTime() const
ScheduledQuery & WithErrorReportConfiguration(ErrorReportConfiguration &&value)
const ScheduledQueryState & GetState() const
bool LastRunStatusHasBeenSet() const
ScheduledQuery & WithName(const char *value)
const Aws::Utils::DateTime & GetPreviousInvocationTime() const
ScheduledQuery & WithPreviousInvocationTime(const Aws::Utils::DateTime &value)
ScheduledQuery & WithLastRunStatus(const ScheduledQueryRunStatus &value)
void SetLastRunStatus(const ScheduledQueryRunStatus &value)
AWS_TIMESTREAMQUERY_API ScheduledQuery(Aws::Utils::Json::JsonView jsonValue)
const TargetDestination & GetTargetDestination() const
void SetCreationTime(Aws::Utils::DateTime &&value)
ScheduledQuery & WithState(ScheduledQueryState &&value)
void SetState(ScheduledQueryState &&value)
ScheduledQuery & WithName(Aws::String &&value)
void SetArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue