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/ScheduleType.h>
15#include <aws/logs/model/ScheduledQueryState.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace CloudWatchLogs {
41 template <
typename ScheduledQueryArnT = Aws::String>
43 m_scheduledQueryArnHasBeenSet =
true;
44 m_scheduledQueryArn = std::forward<ScheduledQueryArnT>(value);
46 template <
typename ScheduledQueryArnT = Aws::String>
58 template <
typename NameT = Aws::String>
60 m_nameHasBeenSet =
true;
61 m_name = std::forward<NameT>(value);
63 template <
typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
75 template <
typename DescriptionT = Aws::String>
77 m_descriptionHasBeenSet =
true;
78 m_description = std::forward<DescriptionT>(value);
80 template <
typename DescriptionT = Aws::String>
93 m_queryLanguageHasBeenSet =
true;
94 m_queryLanguage = value;
107 template <
typename QueryStringT = Aws::String>
109 m_queryStringHasBeenSet =
true;
110 m_queryString = std::forward<QueryStringT>(value);
112 template <
typename QueryStringT = Aws::String>
124 template <
typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
126 m_logGroupIdentifiersHasBeenSet =
true;
127 m_logGroupIdentifiers = std::forward<LogGroupIdentifiersT>(value);
129 template <
typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
134 template <
typename LogGroupIdentifiersT = Aws::String>
136 m_logGroupIdentifiersHasBeenSet =
true;
137 m_logGroupIdentifiers.emplace_back(std::forward<LogGroupIdentifiersT>(value));
147 template <
typename ScheduleExpressionT = Aws::String>
149 m_scheduleExpressionHasBeenSet =
true;
150 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
152 template <
typename ScheduleExpressionT = Aws::String>
164 template <
typename TimezoneT = Aws::String>
166 m_timezoneHasBeenSet =
true;
167 m_timezone = std::forward<TimezoneT>(value);
169 template <
typename TimezoneT = Aws::String>
182 m_startTimeOffsetHasBeenSet =
true;
183 m_startTimeOffset = value;
197 m_endTimeOffsetHasBeenSet =
true;
198 m_endTimeOffset = value;
211 template <
typename DestinationConfigurationT = DestinationConfiguration>
213 m_destinationConfigurationHasBeenSet =
true;
214 m_destinationConfiguration = std::forward<DestinationConfigurationT>(value);
216 template <
typename DestinationConfigurationT = DestinationConfiguration>
229 m_stateHasBeenSet =
true;
244 m_scheduleTypeHasBeenSet =
true;
245 m_scheduleType = value;
259 m_lastTriggeredTimeHasBeenSet =
true;
260 m_lastTriggeredTime = value;
274 m_lastExecutionStatusHasBeenSet =
true;
275 m_lastExecutionStatus = value;
289 m_scheduleStartTimeHasBeenSet =
true;
290 m_scheduleStartTime = value;
304 m_scheduleEndTimeHasBeenSet =
true;
305 m_scheduleEndTime = value;
318 template <
typename ExecutionRoleArnT = Aws::String>
320 m_executionRoleArnHasBeenSet =
true;
321 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
323 template <
typename ExecutionRoleArnT = Aws::String>
336 m_creationTimeHasBeenSet =
true;
337 m_creationTime = value;
351 m_lastUpdatedTimeHasBeenSet =
true;
352 m_lastUpdatedTime = value;
363 template <
typename RequestIdT = Aws::String>
365 m_requestIdHasBeenSet =
true;
366 m_requestId = std::forward<RequestIdT>(value);
368 template <
typename RequestIdT = Aws::String>
393 long long m_startTimeOffset{0};
395 long long m_endTimeOffset{0};
397 DestinationConfiguration m_destinationConfiguration;
403 long long m_lastTriggeredTime{0};
407 long long m_scheduleStartTime{0};
409 long long m_scheduleEndTime{0};
413 long long m_creationTime{0};
415 long long m_lastUpdatedTime{0};
419 bool m_scheduledQueryArnHasBeenSet =
false;
420 bool m_nameHasBeenSet =
false;
421 bool m_descriptionHasBeenSet =
false;
422 bool m_queryLanguageHasBeenSet =
false;
423 bool m_queryStringHasBeenSet =
false;
424 bool m_logGroupIdentifiersHasBeenSet =
false;
425 bool m_scheduleExpressionHasBeenSet =
false;
426 bool m_timezoneHasBeenSet =
false;
427 bool m_startTimeOffsetHasBeenSet =
false;
428 bool m_endTimeOffsetHasBeenSet =
false;
429 bool m_destinationConfigurationHasBeenSet =
false;
430 bool m_stateHasBeenSet =
false;
431 bool m_scheduleTypeHasBeenSet =
false;
432 bool m_lastTriggeredTimeHasBeenSet =
false;
433 bool m_lastExecutionStatusHasBeenSet =
false;
434 bool m_scheduleStartTimeHasBeenSet =
false;
435 bool m_scheduleEndTimeHasBeenSet =
false;
436 bool m_executionRoleArnHasBeenSet =
false;
437 bool m_creationTimeHasBeenSet =
false;
438 bool m_lastUpdatedTimeHasBeenSet =
false;
439 bool m_requestIdHasBeenSet =
false;
long long GetScheduleStartTime() const
void SetTimezone(TimezoneT &&value)
UpdateScheduledQueryResult & WithStartTimeOffset(long long value)
ExecutionStatus GetLastExecutionStatus() const
ScheduleType GetScheduleType() 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)
UpdateScheduledQueryResult & WithEndTimeOffset(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
long long GetEndTimeOffset() const
void SetScheduleType(ScheduleType value)
const Aws::String & GetName() const
AWS_CLOUDWATCHLOGS_API UpdateScheduledQueryResult()=default
void SetEndTimeOffset(long long value)
UpdateScheduledQueryResult & WithLastUpdatedTime(long long value)
UpdateScheduledQueryResult & WithScheduleType(ScheduleType 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