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
50 template<
typename NameT = Aws::String>
51 void SetName(
NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
70 template<
typename QueryStringT = Aws::String>
72 template<
typename QueryStringT = Aws::String>
82 template<
typename ScheduleConfigurationT = ScheduleConfiguration>
84 template<
typename ScheduleConfigurationT = ScheduleConfiguration>
96 template<
typename NotificationConfigurationT = NotificationConfiguration>
98 template<
typename NotificationConfigurationT = NotificationConfiguration>
108 template<
typename TargetConfigurationT = TargetConfiguration>
110 template<
typename TargetConfigurationT = TargetConfiguration>
127 template<
typename ClientTokenT = Aws::String>
129 template<
typename ClientTokenT = Aws::String>
140 template<
typename ScheduledQueryExecutionRoleArnT = Aws::String>
142 template<
typename ScheduledQueryExecutionRoleArnT = Aws::String>
152 template<
typename TagsT = Aws::Vector<Tag>>
153 void SetTags(
TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
154 template<
typename TagsT = Aws::Vector<Tag>>
156 template<
typename TagsT = Tag>
172 template<
typename KmsKeyIdT = Aws::String>
173 void SetKmsKeyId(
KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
174 template<
typename KmsKeyIdT = Aws::String>
185 template<
typename ErrorReportConfigurationT = ErrorReportConfiguration>
187 template<
typename ErrorReportConfigurationT = ErrorReportConfiguration>
193 bool m_nameHasBeenSet =
false;
196 bool m_queryStringHasBeenSet =
false;
199 bool m_scheduleConfigurationHasBeenSet =
false;
202 bool m_notificationConfigurationHasBeenSet =
false;
205 bool m_targetConfigurationHasBeenSet =
false;
208 bool m_clientTokenHasBeenSet =
true;
211 bool m_scheduledQueryExecutionRoleArnHasBeenSet =
false;
214 bool m_tagsHasBeenSet =
false;
217 bool m_kmsKeyIdHasBeenSet =
false;
219 ErrorReportConfiguration m_errorReportConfiguration;
220 bool m_errorReportConfigurationHasBeenSet =
false;
bool TagsHasBeenSet() const
const Aws::String & GetKmsKeyId() const
bool ScheduledQueryExecutionRoleArnHasBeenSet() const
CreateScheduledQueryRequest & WithNotificationConfiguration(NotificationConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
bool QueryStringHasBeenSet() const
const TargetConfiguration & GetTargetConfiguration() const
const Aws::Vector< Tag > & GetTags() const
bool NotificationConfigurationHasBeenSet() const
AWS_TIMESTREAMQUERY_API CreateScheduledQueryRequest()=default
bool TargetConfigurationHasBeenSet() const
const Aws::String & GetQueryString() const
const NotificationConfiguration & GetNotificationConfiguration() const
void SetClientToken(ClientTokenT &&value)
bool ClientTokenHasBeenSet() const
bool NameHasBeenSet() const
void SetQueryString(QueryStringT &&value)
CreateScheduledQueryRequest & WithErrorReportConfiguration(ErrorReportConfigurationT &&value)
void SetErrorReportConfiguration(ErrorReportConfigurationT &&value)
const Aws::String & GetName() const
void SetTargetConfiguration(TargetConfigurationT &&value)
CreateScheduledQueryRequest & WithScheduleConfiguration(ScheduleConfigurationT &&value)
CreateScheduledQueryRequest & WithQueryString(QueryStringT &&value)
CreateScheduledQueryRequest & AddTags(TagsT &&value)
bool ScheduleConfigurationHasBeenSet() const
CreateScheduledQueryRequest & WithClientToken(ClientTokenT &&value)
void SetScheduleConfiguration(ScheduleConfigurationT &&value)
void SetTags(TagsT &&value)
CreateScheduledQueryRequest & WithScheduledQueryExecutionRoleArn(ScheduledQueryExecutionRoleArnT &&value)
void SetName(NameT &&value)
CreateScheduledQueryRequest & WithName(NameT &&value)
const Aws::String & GetClientToken() const
CreateScheduledQueryRequest & WithKmsKeyId(KmsKeyIdT &&value)
const Aws::String & GetScheduledQueryExecutionRoleArn() const
bool KmsKeyIdHasBeenSet() const
AWS_TIMESTREAMQUERY_API Aws::String SerializePayload() const override
CreateScheduledQueryRequest & WithTargetConfiguration(TargetConfigurationT &&value)
void SetScheduledQueryExecutionRoleArn(ScheduledQueryExecutionRoleArnT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
const ScheduleConfiguration & GetScheduleConfiguration() const
void SetNotificationConfiguration(NotificationConfigurationT &&value)
const ErrorReportConfiguration & GetErrorReportConfiguration() const
bool ErrorReportConfigurationHasBeenSet() const
AWS_TIMESTREAMQUERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateScheduledQueryRequest & WithTags(TagsT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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