7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.h>
10#include <aws/logs/model/DestinationConfiguration.h>
11#include <aws/logs/model/ExecutionStatus.h>
12#include <aws/logs/model/QueryLanguage.h>
13#include <aws/logs/model/ScheduledQueryState.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace CloudWatchLogs {
39 template <
typename ScheduledQueryArnT = Aws::String>
41 m_scheduledQueryArnHasBeenSet =
true;
42 m_scheduledQueryArn = std::forward<ScheduledQueryArnT>(value);
44 template <
typename ScheduledQueryArnT = Aws::String>
56 template <
typename NameT = Aws::String>
58 m_nameHasBeenSet =
true;
59 m_name = std::forward<NameT>(value);
61 template <
typename NameT = Aws::String>
63 SetName(std::forward<NameT>(value));
73 template <
typename DescriptionT = Aws::String>
75 m_descriptionHasBeenSet =
true;
76 m_description = std::forward<DescriptionT>(value);
78 template <
typename DescriptionT = Aws::String>
91 m_queryLanguageHasBeenSet =
true;
92 m_queryLanguage = value;
105 template <
typename QueryStringT = Aws::String>
107 m_queryStringHasBeenSet =
true;
108 m_queryString = std::forward<QueryStringT>(value);
110 template <
typename QueryStringT = Aws::String>
122 template <
typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
124 m_logGroupIdentifiersHasBeenSet =
true;
125 m_logGroupIdentifiers = std::forward<LogGroupIdentifiersT>(value);
127 template <
typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
132 template <
typename LogGroupIdentifiersT = Aws::String>
134 m_logGroupIdentifiersHasBeenSet =
true;
135 m_logGroupIdentifiers.emplace_back(std::forward<LogGroupIdentifiersT>(value));
145 template <
typename ScheduleExpressionT = Aws::String>
147 m_scheduleExpressionHasBeenSet =
true;
148 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
150 template <
typename ScheduleExpressionT = Aws::String>
162 template <
typename TimezoneT = Aws::String>
164 m_timezoneHasBeenSet =
true;
165 m_timezone = std::forward<TimezoneT>(value);
167 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>
360 long long m_startTimeOffset{0};
362 DestinationConfiguration m_destinationConfiguration;
366 long long m_lastTriggeredTime{0};
370 long long m_scheduleStartTime{0};
372 long long m_scheduleEndTime{0};
376 long long m_creationTime{0};
378 long long m_lastUpdatedTime{0};
381 bool m_scheduledQueryArnHasBeenSet =
false;
382 bool m_nameHasBeenSet =
false;
383 bool m_descriptionHasBeenSet =
false;
384 bool m_queryLanguageHasBeenSet =
false;
385 bool m_queryStringHasBeenSet =
false;
386 bool m_logGroupIdentifiersHasBeenSet =
false;
387 bool m_scheduleExpressionHasBeenSet =
false;
388 bool m_timezoneHasBeenSet =
false;
389 bool m_startTimeOffsetHasBeenSet =
false;
390 bool m_destinationConfigurationHasBeenSet =
false;
391 bool m_stateHasBeenSet =
false;
392 bool m_lastTriggeredTimeHasBeenSet =
false;
393 bool m_lastExecutionStatusHasBeenSet =
false;
394 bool m_scheduleStartTimeHasBeenSet =
false;
395 bool m_scheduleEndTimeHasBeenSet =
false;
396 bool m_executionRoleArnHasBeenSet =
false;
397 bool m_creationTimeHasBeenSet =
false;
398 bool m_lastUpdatedTimeHasBeenSet =
false;
399 bool m_requestIdHasBeenSet =
false;
AWS_CLOUDWATCHLOGS_API GetScheduledQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastTriggeredTime(long long value)
GetScheduledQueryResult & WithScheduledQueryArn(ScheduledQueryArnT &&value)
void SetName(NameT &&value)
GetScheduledQueryResult & WithCreationTime(long long value)
void SetScheduledQueryArn(ScheduledQueryArnT &&value)
long long GetCreationTime() const
long long GetLastTriggeredTime() const
const Aws::String & GetDescription() const
void SetRequestId(RequestIdT &&value)
GetScheduledQueryResult & WithState(ScheduledQueryState value)
GetScheduledQueryResult & WithQueryString(QueryStringT &&value)
const Aws::String & GetScheduledQueryArn() const
AWS_CLOUDWATCHLOGS_API GetScheduledQueryResult()=default
GetScheduledQueryResult & WithRequestId(RequestIdT &&value)
GetScheduledQueryResult & WithDescription(DescriptionT &&value)
long long GetStartTimeOffset() const
GetScheduledQueryResult & WithStartTimeOffset(long long value)
void SetState(ScheduledQueryState value)
GetScheduledQueryResult & WithScheduleStartTime(long long value)
void SetLogGroupIdentifiers(LogGroupIdentifiersT &&value)
const Aws::String & GetExecutionRoleArn() const
void SetDescription(DescriptionT &&value)
void SetStartTimeOffset(long long value)
GetScheduledQueryResult & AddLogGroupIdentifiers(LogGroupIdentifiersT &&value)
void SetLastExecutionStatus(ExecutionStatus value)
GetScheduledQueryResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
void SetLastUpdatedTime(long long value)
QueryLanguage GetQueryLanguage() const
void SetTimezone(TimezoneT &&value)
const Aws::Vector< Aws::String > & GetLogGroupIdentifiers() const
const Aws::String & GetTimezone() const
void SetScheduleEndTime(long long value)
GetScheduledQueryResult & WithScheduleExpression(ScheduleExpressionT &&value)
GetScheduledQueryResult & WithLastUpdatedTime(long long value)
void SetDestinationConfiguration(DestinationConfigurationT &&value)
GetScheduledQueryResult & WithName(NameT &&value)
void SetQueryLanguage(QueryLanguage value)
GetScheduledQueryResult & WithLogGroupIdentifiers(LogGroupIdentifiersT &&value)
void SetScheduleStartTime(long long value)
const Aws::String & GetName() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::String & GetScheduleExpression() const
void SetQueryString(QueryStringT &&value)
ScheduledQueryState GetState() const
const Aws::String & GetQueryString() const
const DestinationConfiguration & GetDestinationConfiguration() const
long long GetScheduleEndTime() const
void SetScheduleExpression(ScheduleExpressionT &&value)
GetScheduledQueryResult & WithScheduleEndTime(long long value)
void SetCreationTime(long long value)
long long GetLastUpdatedTime() const
long long GetScheduleStartTime() const
GetScheduledQueryResult & WithQueryLanguage(QueryLanguage value)
GetScheduledQueryResult & WithTimezone(TimezoneT &&value)
GetScheduledQueryResult & WithLastTriggeredTime(long long value)
GetScheduledQueryResult & WithLastExecutionStatus(ExecutionStatus value)
GetScheduledQueryResult & WithDestinationConfiguration(DestinationConfigurationT &&value)
ExecutionStatus GetLastExecutionStatus() const
AWS_CLOUDWATCHLOGS_API GetScheduledQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() 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