7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/logs/CloudWatchLogs_EXPORTS.h>
11#include <aws/logs/model/DestinationConfiguration.h>
12#include <aws/logs/model/ExecutionStatus.h>
13#include <aws/logs/model/QueryLanguage.h>
14#include <aws/logs/model/ScheduledQueryState.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace CloudWatchLogs {
40 template <
typename ScheduledQueryArnT = Aws::String>
42 m_scheduledQueryArnHasBeenSet =
true;
43 m_scheduledQueryArn = std::forward<ScheduledQueryArnT>(value);
45 template <
typename ScheduledQueryArnT = Aws::String>
57 template <
typename NameT = Aws::String>
59 m_nameHasBeenSet =
true;
60 m_name = std::forward<NameT>(value);
62 template <
typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
74 template <
typename DescriptionT = Aws::String>
76 m_descriptionHasBeenSet =
true;
77 m_description = std::forward<DescriptionT>(value);
79 template <
typename DescriptionT = Aws::String>
92 m_queryLanguageHasBeenSet =
true;
93 m_queryLanguage = value;
106 template <
typename QueryStringT = Aws::String>
108 m_queryStringHasBeenSet =
true;
109 m_queryString = std::forward<QueryStringT>(value);
111 template <
typename QueryStringT = Aws::String>
123 template <
typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
125 m_logGroupIdentifiersHasBeenSet =
true;
126 m_logGroupIdentifiers = std::forward<LogGroupIdentifiersT>(value);
128 template <
typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
133 template <
typename LogGroupIdentifiersT = Aws::String>
135 m_logGroupIdentifiersHasBeenSet =
true;
136 m_logGroupIdentifiers.emplace_back(std::forward<LogGroupIdentifiersT>(value));
146 template <
typename ScheduleExpressionT = Aws::String>
148 m_scheduleExpressionHasBeenSet =
true;
149 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
151 template <
typename ScheduleExpressionT = Aws::String>
163 template <
typename TimezoneT = Aws::String>
165 m_timezoneHasBeenSet =
true;
166 m_timezone = std::forward<TimezoneT>(value);
168 template <
typename TimezoneT = Aws::String>
181 m_startTimeOffsetHasBeenSet =
true;
182 m_startTimeOffset = value;
195 template <
typename DestinationConfigurationT = DestinationConfiguration>
197 m_destinationConfigurationHasBeenSet =
true;
198 m_destinationConfiguration = std::forward<DestinationConfigurationT>(value);
200 template <
typename DestinationConfigurationT = DestinationConfiguration>
213 m_stateHasBeenSet =
true;
228 m_lastTriggeredTimeHasBeenSet =
true;
229 m_lastTriggeredTime = value;
243 m_lastExecutionStatusHasBeenSet =
true;
244 m_lastExecutionStatus = value;
258 m_scheduleStartTimeHasBeenSet =
true;
259 m_scheduleStartTime = value;
273 m_scheduleEndTimeHasBeenSet =
true;
274 m_scheduleEndTime = value;
287 template <
typename ExecutionRoleArnT = Aws::String>
289 m_executionRoleArnHasBeenSet =
true;
290 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
292 template <
typename ExecutionRoleArnT = Aws::String>
305 m_creationTimeHasBeenSet =
true;
306 m_creationTime = value;
320 m_lastUpdatedTimeHasBeenSet =
true;
321 m_lastUpdatedTime = value;
332 template <
typename RequestIdT = Aws::String>
334 m_requestIdHasBeenSet =
true;
335 m_requestId = std::forward<RequestIdT>(value);
337 template <
typename RequestIdT = Aws::String>
362 long long m_startTimeOffset{0};
364 DestinationConfiguration m_destinationConfiguration;
368 long long m_lastTriggeredTime{0};
372 long long m_scheduleStartTime{0};
374 long long m_scheduleEndTime{0};
378 long long m_creationTime{0};
380 long long m_lastUpdatedTime{0};
384 bool m_scheduledQueryArnHasBeenSet =
false;
385 bool m_nameHasBeenSet =
false;
386 bool m_descriptionHasBeenSet =
false;
387 bool m_queryLanguageHasBeenSet =
false;
388 bool m_queryStringHasBeenSet =
false;
389 bool m_logGroupIdentifiersHasBeenSet =
false;
390 bool m_scheduleExpressionHasBeenSet =
false;
391 bool m_timezoneHasBeenSet =
false;
392 bool m_startTimeOffsetHasBeenSet =
false;
393 bool m_destinationConfigurationHasBeenSet =
false;
394 bool m_stateHasBeenSet =
false;
395 bool m_lastTriggeredTimeHasBeenSet =
false;
396 bool m_lastExecutionStatusHasBeenSet =
false;
397 bool m_scheduleStartTimeHasBeenSet =
false;
398 bool m_scheduleEndTimeHasBeenSet =
false;
399 bool m_executionRoleArnHasBeenSet =
false;
400 bool m_creationTimeHasBeenSet =
false;
401 bool m_lastUpdatedTimeHasBeenSet =
false;
402 bool m_requestIdHasBeenSet =
false;
long long GetScheduleStartTime() const
void SetTimezone(TimezoneT &&value)
UpdateScheduledQueryResult & WithStartTimeOffset(long long value)
ExecutionStatus GetLastExecutionStatus() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_CLOUDWATCHLOGS_API UpdateScheduledQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetScheduleEndTime(long long value)
const Aws::String & GetExecutionRoleArn() const
const Aws::String & GetRequestId() const
const Aws::String & GetTimezone() const
UpdateScheduledQueryResult & WithDestinationConfiguration(DestinationConfigurationT &&value)
UpdateScheduledQueryResult & AddLogGroupIdentifiers(LogGroupIdentifiersT &&value)
const Aws::Vector< Aws::String > & GetLogGroupIdentifiers() const
void SetLastUpdatedTime(long long value)
UpdateScheduledQueryResult & WithLogGroupIdentifiers(LogGroupIdentifiersT &&value)
void SetQueryString(QueryStringT &&value)
UpdateScheduledQueryResult & WithLastExecutionStatus(ExecutionStatus value)
void SetCreationTime(long long value)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
UpdateScheduledQueryResult & WithScheduleEndTime(long long value)
void SetState(ScheduledQueryState value)
void SetLogGroupIdentifiers(LogGroupIdentifiersT &&value)
const Aws::String & GetDescription() const
void SetRequestId(RequestIdT &&value)
UpdateScheduledQueryResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
UpdateScheduledQueryResult & WithScheduleExpression(ScheduleExpressionT &&value)
UpdateScheduledQueryResult & WithScheduleStartTime(long long value)
UpdateScheduledQueryResult & WithQueryString(QueryStringT &&value)
void SetDescription(DescriptionT &&value)
long long GetStartTimeOffset() const
UpdateScheduledQueryResult & WithLastTriggeredTime(long long value)
void SetStartTimeOffset(long long value)
UpdateScheduledQueryResult & WithState(ScheduledQueryState value)
void SetScheduleStartTime(long long value)
QueryLanguage GetQueryLanguage() const
long long GetLastUpdatedTime() const
UpdateScheduledQueryResult & WithQueryLanguage(QueryLanguage value)
UpdateScheduledQueryResult & WithName(NameT &&value)
void SetLastExecutionStatus(ExecutionStatus value)
const DestinationConfiguration & GetDestinationConfiguration() const
const Aws::String & GetScheduleExpression() const
void SetLastTriggeredTime(long long value)
void SetScheduleExpression(ScheduleExpressionT &&value)
UpdateScheduledQueryResult & WithDescription(DescriptionT &&value)
void SetDestinationConfiguration(DestinationConfigurationT &&value)
UpdateScheduledQueryResult & WithScheduledQueryArn(ScheduledQueryArnT &&value)
UpdateScheduledQueryResult & WithTimezone(TimezoneT &&value)
void SetName(NameT &&value)
void SetQueryLanguage(QueryLanguage value)
void SetScheduledQueryArn(ScheduledQueryArnT &&value)
AWS_CLOUDWATCHLOGS_API UpdateScheduledQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetScheduledQueryArn() const
const Aws::String & GetName() const
AWS_CLOUDWATCHLOGS_API UpdateScheduledQueryResult()=default
UpdateScheduledQueryResult & WithLastUpdatedTime(long long value)
long long GetScheduleEndTime() const
long long GetLastTriggeredTime() const
const Aws::String & GetQueryString() const
long long GetCreationTime() const
UpdateScheduledQueryResult & WithRequestId(RequestIdT &&value)
UpdateScheduledQueryResult & WithCreationTime(long long value)
ScheduledQueryState GetState() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue