7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/logs/CloudWatchLogsRequest.h>
10#include <aws/logs/CloudWatchLogs_EXPORTS.h>
11#include <aws/logs/model/DestinationConfiguration.h>
12#include <aws/logs/model/QueryLanguage.h>
13#include <aws/logs/model/ScheduledQueryState.h>
18namespace CloudWatchLogs {
43 template <
typename IdentifierT = Aws::String>
45 m_identifierHasBeenSet =
true;
46 m_identifier = std::forward<IdentifierT>(value);
48 template <
typename IdentifierT = Aws::String>
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
80 m_queryLanguageHasBeenSet =
true;
81 m_queryLanguage = value;
95 template <
typename QueryStringT = Aws::String>
97 m_queryStringHasBeenSet =
true;
98 m_queryString = std::forward<QueryStringT>(value);
100 template <
typename QueryStringT = Aws::String>
113 template <
typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
115 m_logGroupIdentifiersHasBeenSet =
true;
116 m_logGroupIdentifiers = std::forward<LogGroupIdentifiersT>(value);
118 template <
typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
123 template <
typename LogGroupIdentifiersT = Aws::String>
125 m_logGroupIdentifiersHasBeenSet =
true;
126 m_logGroupIdentifiers.emplace_back(std::forward<LogGroupIdentifiersT>(value));
137 template <
typename ScheduleExpressionT = Aws::String>
139 m_scheduleExpressionHasBeenSet =
true;
140 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
142 template <
typename ScheduleExpressionT = Aws::String>
155 template <
typename TimezoneT = Aws::String>
157 m_timezoneHasBeenSet =
true;
158 m_timezone = std::forward<TimezoneT>(value);
160 template <
typename TimezoneT = Aws::String>
175 m_startTimeOffsetHasBeenSet =
true;
176 m_startTimeOffset = value;
190 template <
typename DestinationConfigurationT = DestinationConfiguration>
192 m_destinationConfigurationHasBeenSet =
true;
193 m_destinationConfiguration = std::forward<DestinationConfigurationT>(value);
195 template <
typename DestinationConfigurationT = DestinationConfiguration>
209 m_scheduleStartTimeHasBeenSet =
true;
210 m_scheduleStartTime = value;
225 m_scheduleEndTimeHasBeenSet =
true;
226 m_scheduleEndTime = value;
241 template <
typename ExecutionRoleArnT = Aws::String>
243 m_executionRoleArnHasBeenSet =
true;
244 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
246 template <
typename ExecutionRoleArnT = Aws::String>
260 m_stateHasBeenSet =
true;
283 long long m_startTimeOffset{0};
285 DestinationConfiguration m_destinationConfiguration;
287 long long m_scheduleStartTime{0};
289 long long m_scheduleEndTime{0};
294 bool m_identifierHasBeenSet =
false;
295 bool m_descriptionHasBeenSet =
false;
296 bool m_queryLanguageHasBeenSet =
false;
297 bool m_queryStringHasBeenSet =
false;
298 bool m_logGroupIdentifiersHasBeenSet =
false;
299 bool m_scheduleExpressionHasBeenSet =
false;
300 bool m_timezoneHasBeenSet =
false;
301 bool m_startTimeOffsetHasBeenSet =
false;
302 bool m_destinationConfigurationHasBeenSet =
false;
303 bool m_scheduleStartTimeHasBeenSet =
false;
304 bool m_scheduleEndTimeHasBeenSet =
false;
305 bool m_executionRoleArnHasBeenSet =
false;
306 bool m_stateHasBeenSet =
false;
UpdateScheduledQueryRequest & WithDescription(DescriptionT &&value)
UpdateScheduledQueryRequest & WithScheduleStartTime(long long value)
void SetIdentifier(IdentifierT &&value)
const Aws::Vector< Aws::String > & GetLogGroupIdentifiers() const
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
long long GetStartTimeOffset() const
UpdateScheduledQueryRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
UpdateScheduledQueryRequest & WithStartTimeOffset(long long value)
void SetScheduleStartTime(long long value)
bool ExecutionRoleArnHasBeenSet() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
bool StateHasBeenSet() const
AWS_CLOUDWATCHLOGS_API UpdateScheduledQueryRequest()=default
const Aws::String & GetScheduleExpression() const
bool QueryStringHasBeenSet() const
void SetLogGroupIdentifiers(LogGroupIdentifiersT &&value)
bool ScheduleEndTimeHasBeenSet() const
void SetDescription(DescriptionT &&value)
UpdateScheduledQueryRequest & WithQueryString(QueryStringT &&value)
UpdateScheduledQueryRequest & WithScheduleEndTime(long long value)
long long GetScheduleStartTime() const
UpdateScheduledQueryRequest & AddLogGroupIdentifiers(LogGroupIdentifiersT &&value)
const DestinationConfiguration & GetDestinationConfiguration() const
bool StartTimeOffsetHasBeenSet() const
ScheduledQueryState GetState() const
UpdateScheduledQueryRequest & WithScheduleExpression(ScheduleExpressionT &&value)
bool TimezoneHasBeenSet() const
bool IdentifierHasBeenSet() const
void SetQueryLanguage(QueryLanguage value)
void SetStartTimeOffset(long long value)
bool QueryLanguageHasBeenSet() const
const Aws::String & GetIdentifier() const
const Aws::String & GetDescription() const
void SetQueryString(QueryStringT &&value)
bool ScheduleStartTimeHasBeenSet() const
void SetScheduleEndTime(long long value)
bool DescriptionHasBeenSet() const
void SetDestinationConfiguration(DestinationConfigurationT &&value)
bool DestinationConfigurationHasBeenSet() const
void SetTimezone(TimezoneT &&value)
const Aws::String & GetExecutionRoleArn() const
virtual const char * GetServiceRequestName() const override
UpdateScheduledQueryRequest & WithQueryLanguage(QueryLanguage value)
UpdateScheduledQueryRequest & WithState(ScheduledQueryState value)
void SetState(ScheduledQueryState value)
bool ScheduleExpressionHasBeenSet() const
UpdateScheduledQueryRequest & WithLogGroupIdentifiers(LogGroupIdentifiersT &&value)
const Aws::String & GetQueryString() const
long long GetScheduleEndTime() const
UpdateScheduledQueryRequest & WithIdentifier(IdentifierT &&value)
bool LogGroupIdentifiersHasBeenSet() const
void SetScheduleExpression(ScheduleExpressionT &&value)
QueryLanguage GetQueryLanguage() const
const Aws::String & GetTimezone() const
UpdateScheduledQueryRequest & WithTimezone(TimezoneT &&value)
UpdateScheduledQueryRequest & WithDestinationConfiguration(DestinationConfigurationT &&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