7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/timestream-query/TimestreamQueryRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/timestream-query/model/ScheduleConfiguration.h>
11#include <aws/timestream-query/model/NotificationConfiguration.h>
12#include <aws/timestream-query/model/TargetConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/timestream-query/model/ErrorReportConfiguration.h>
15#include <aws/timestream-query/model/Tag.h>
17#include <aws/core/utils/UUID.h>
21namespace TimestreamQuery
52 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
74 inline void SetQueryString(
const char* value) { m_queryStringHasBeenSet =
true; m_queryString.assign(value); }
133 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
182 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
203 bool m_nameHasBeenSet =
false;
206 bool m_queryStringHasBeenSet =
false;
209 bool m_scheduleConfigurationHasBeenSet =
false;
212 bool m_notificationConfigurationHasBeenSet =
false;
215 bool m_targetConfigurationHasBeenSet =
false;
218 bool m_clientTokenHasBeenSet =
false;
221 bool m_scheduledQueryExecutionRoleArnHasBeenSet =
false;
224 bool m_tagsHasBeenSet =
false;
227 bool m_kmsKeyIdHasBeenSet =
false;
230 bool m_errorReportConfigurationHasBeenSet =
false;
CreateScheduledQueryRequest & WithName(const char *value)
bool TagsHasBeenSet() const
void SetScheduleConfiguration(const ScheduleConfiguration &value)
const Aws::String & GetKmsKeyId() const
void SetKmsKeyId(Aws::String &&value)
void SetTargetConfiguration(TargetConfiguration &&value)
CreateScheduledQueryRequest & WithQueryString(const char *value)
bool ScheduledQueryExecutionRoleArnHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool QueryStringHasBeenSet() const
const TargetConfiguration & GetTargetConfiguration() const
const Aws::Vector< Tag > & GetTags() const
void SetName(Aws::String &&value)
CreateScheduledQueryRequest & WithTargetConfiguration(TargetConfiguration &&value)
bool NotificationConfigurationHasBeenSet() const
void SetKmsKeyId(const char *value)
void SetScheduleConfiguration(ScheduleConfiguration &&value)
void SetNotificationConfiguration(const NotificationConfiguration &value)
CreateScheduledQueryRequest & WithTargetConfiguration(const TargetConfiguration &value)
bool TargetConfigurationHasBeenSet() const
const Aws::String & GetQueryString() const
CreateScheduledQueryRequest & WithTags(const Aws::Vector< Tag > &value)
const NotificationConfiguration & GetNotificationConfiguration() const
void SetClientToken(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetQueryString(const char *value)
void SetScheduledQueryExecutionRoleArn(Aws::String &&value)
CreateScheduledQueryRequest & WithName(const Aws::String &value)
bool ClientTokenHasBeenSet() const
AWS_TIMESTREAMQUERY_API CreateScheduledQueryRequest()
void SetScheduledQueryExecutionRoleArn(const char *value)
bool NameHasBeenSet() const
void SetKmsKeyId(const Aws::String &value)
CreateScheduledQueryRequest & WithScheduleConfiguration(ScheduleConfiguration &&value)
CreateScheduledQueryRequest & WithKmsKeyId(const char *value)
const Aws::String & GetName() const
void SetNotificationConfiguration(NotificationConfiguration &&value)
CreateScheduledQueryRequest & WithErrorReportConfiguration(const ErrorReportConfiguration &value)
void SetErrorReportConfiguration(const ErrorReportConfiguration &value)
CreateScheduledQueryRequest & WithKmsKeyId(const Aws::String &value)
bool ScheduleConfigurationHasBeenSet() const
CreateScheduledQueryRequest & AddTags(Tag &&value)
CreateScheduledQueryRequest & WithErrorReportConfiguration(ErrorReportConfiguration &&value)
void SetQueryString(const Aws::String &value)
CreateScheduledQueryRequest & WithClientToken(const char *value)
CreateScheduledQueryRequest & AddTags(const Tag &value)
void SetErrorReportConfiguration(ErrorReportConfiguration &&value)
CreateScheduledQueryRequest & WithNotificationConfiguration(NotificationConfiguration &&value)
CreateScheduledQueryRequest & WithScheduledQueryExecutionRoleArn(const Aws::String &value)
void SetQueryString(Aws::String &&value)
CreateScheduledQueryRequest & WithTags(Aws::Vector< Tag > &&value)
void SetClientToken(const char *value)
CreateScheduledQueryRequest & WithNotificationConfiguration(const NotificationConfiguration &value)
const Aws::String & GetClientToken() const
CreateScheduledQueryRequest & WithScheduleConfiguration(const ScheduleConfiguration &value)
const Aws::String & GetScheduledQueryExecutionRoleArn() const
bool KmsKeyIdHasBeenSet() const
void SetTargetConfiguration(const TargetConfiguration &value)
AWS_TIMESTREAMQUERY_API Aws::String SerializePayload() const override
CreateScheduledQueryRequest & WithName(Aws::String &&value)
void SetScheduledQueryExecutionRoleArn(const Aws::String &value)
CreateScheduledQueryRequest & WithQueryString(Aws::String &&value)
CreateScheduledQueryRequest & WithClientToken(const Aws::String &value)
void SetName(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
CreateScheduledQueryRequest & WithClientToken(Aws::String &&value)
const ScheduleConfiguration & GetScheduleConfiguration() const
CreateScheduledQueryRequest & WithScheduledQueryExecutionRoleArn(const char *value)
void SetClientToken(const Aws::String &value)
const ErrorReportConfiguration & GetErrorReportConfiguration() const
bool ErrorReportConfigurationHasBeenSet() const
CreateScheduledQueryRequest & WithKmsKeyId(Aws::String &&value)
CreateScheduledQueryRequest & WithQueryString(const Aws::String &value)
AWS_TIMESTREAMQUERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetName(const char *value)
CreateScheduledQueryRequest & WithScheduledQueryExecutionRoleArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector