7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/timestream-query/TimestreamQueryRequest.h>
11#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
12#include <aws/timestream-query/model/ErrorReportConfiguration.h>
13#include <aws/timestream-query/model/NotificationConfiguration.h>
14#include <aws/timestream-query/model/ScheduleConfiguration.h>
15#include <aws/timestream-query/model/Tag.h>
16#include <aws/timestream-query/model/TargetConfiguration.h>
21namespace TimestreamQuery {
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
72 template <
typename QueryStringT = Aws::String>
74 m_queryStringHasBeenSet =
true;
75 m_queryString = std::forward<QueryStringT>(value);
77 template <
typename QueryStringT = Aws::String>
90 template <
typename ScheduleConfigurationT = ScheduleConfiguration>
92 m_scheduleConfigurationHasBeenSet =
true;
93 m_scheduleConfiguration = std::forward<ScheduleConfigurationT>(value);
95 template <
typename ScheduleConfigurationT = ScheduleConfiguration>
110 template <
typename NotificationConfigurationT = NotificationConfiguration>
112 m_notificationConfigurationHasBeenSet =
true;
113 m_notificationConfiguration = std::forward<NotificationConfigurationT>(value);
115 template <
typename NotificationConfigurationT = NotificationConfiguration>
128 template <
typename TargetConfigurationT = TargetConfiguration>
130 m_targetConfigurationHasBeenSet =
true;
131 m_targetConfiguration = std::forward<TargetConfigurationT>(value);
133 template <
typename TargetConfigurationT = TargetConfiguration>
153 template <
typename ClientTokenT = Aws::String>
155 m_clientTokenHasBeenSet =
true;
156 m_clientToken = std::forward<ClientTokenT>(value);
158 template <
typename ClientTokenT = Aws::String>
172 template <
typename ScheduledQueryExecutionRoleArnT = Aws::String>
174 m_scheduledQueryExecutionRoleArnHasBeenSet =
true;
175 m_scheduledQueryExecutionRoleArn = std::forward<ScheduledQueryExecutionRoleArnT>(value);
177 template <
typename ScheduledQueryExecutionRoleArnT = Aws::String>
190 template <
typename TagsT = Aws::Vector<Tag>>
192 m_tagsHasBeenSet =
true;
193 m_tags = std::forward<TagsT>(value);
195 template <
typename TagsT = Aws::Vector<Tag>>
197 SetTags(std::forward<TagsT>(value));
200 template <
typename TagsT = Tag>
202 m_tagsHasBeenSet =
true;
203 m_tags.emplace_back(std::forward<TagsT>(value));
220 template <
typename KmsKeyIdT = Aws::String>
222 m_kmsKeyIdHasBeenSet =
true;
223 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
225 template <
typename KmsKeyIdT = Aws::String>
239 template <
typename ErrorReportConfigurationT = ErrorReportConfiguration>
241 m_errorReportConfigurationHasBeenSet =
true;
242 m_errorReportConfiguration = std::forward<ErrorReportConfigurationT>(value);
244 template <
typename ErrorReportConfigurationT = ErrorReportConfiguration>
269 ErrorReportConfiguration m_errorReportConfiguration;
270 bool m_nameHasBeenSet =
false;
271 bool m_queryStringHasBeenSet =
false;
272 bool m_scheduleConfigurationHasBeenSet =
false;
273 bool m_notificationConfigurationHasBeenSet =
false;
274 bool m_targetConfigurationHasBeenSet =
false;
275 bool m_clientTokenHasBeenSet =
true;
276 bool m_scheduledQueryExecutionRoleArnHasBeenSet =
false;
277 bool m_tagsHasBeenSet =
false;
278 bool m_kmsKeyIdHasBeenSet =
false;
279 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