7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
9#include <aws/logs/model/DestinationConfiguration.h>
10#include <aws/logs/model/ExecutionStatus.h>
11#include <aws/logs/model/ScheduleType.h>
12#include <aws/logs/model/ScheduledQueryState.h>
23namespace CloudWatchLogs {
45 template <
typename ScheduledQueryArnT = Aws::String>
47 m_scheduledQueryArnHasBeenSet =
true;
48 m_scheduledQueryArn = std::forward<ScheduledQueryArnT>(value);
50 template <
typename ScheduledQueryArnT = Aws::String>
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
82 m_stateHasBeenSet =
true;
99 m_scheduleTypeHasBeenSet =
true;
100 m_scheduleType = value;
115 m_lastTriggeredTimeHasBeenSet =
true;
116 m_lastTriggeredTime = value;
131 m_lastExecutionStatusHasBeenSet =
true;
132 m_lastExecutionStatus = value;
146 template <
typename ScheduleExpressionT = Aws::String>
148 m_scheduleExpressionHasBeenSet =
true;
149 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
151 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 template <
typename DestinationConfigurationT = DestinationConfiguration>
184 m_destinationConfigurationHasBeenSet =
true;
185 m_destinationConfiguration = std::forward<DestinationConfigurationT>(value);
187 template <
typename DestinationConfigurationT = DestinationConfiguration>
201 m_creationTimeHasBeenSet =
true;
202 m_creationTime = value;
217 m_lastUpdatedTimeHasBeenSet =
true;
218 m_lastUpdatedTime = value;
234 long long m_lastTriggeredTime{0};
242 DestinationConfiguration m_destinationConfiguration;
244 long long m_creationTime{0};
246 long long m_lastUpdatedTime{0};
247 bool m_scheduledQueryArnHasBeenSet =
false;
248 bool m_nameHasBeenSet =
false;
249 bool m_stateHasBeenSet =
false;
250 bool m_scheduleTypeHasBeenSet =
false;
251 bool m_lastTriggeredTimeHasBeenSet =
false;
252 bool m_lastExecutionStatusHasBeenSet =
false;
253 bool m_scheduleExpressionHasBeenSet =
false;
254 bool m_timezoneHasBeenSet =
false;
255 bool m_destinationConfigurationHasBeenSet =
false;
256 bool m_creationTimeHasBeenSet =
false;
257 bool m_lastUpdatedTimeHasBeenSet =
false;
bool NameHasBeenSet() const
long long GetCreationTime() const
const Aws::String & GetScheduledQueryArn() const
long long GetLastTriggeredTime() const
ExecutionStatus GetLastExecutionStatus() const
AWS_CLOUDWATCHLOGS_API ScheduledQuerySummary(Aws::Utils::Json::JsonView jsonValue)
ScheduledQuerySummary & WithDestinationConfiguration(DestinationConfigurationT &&value)
AWS_CLOUDWATCHLOGS_API ScheduledQuerySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduledQueryState GetState() const
bool ScheduleExpressionHasBeenSet() const
ScheduledQuerySummary & WithCreationTime(long long value)
const DestinationConfiguration & GetDestinationConfiguration() const
void SetScheduleType(ScheduleType value)
ScheduledQuerySummary & WithTimezone(TimezoneT &&value)
ScheduledQuerySummary & WithLastExecutionStatus(ExecutionStatus value)
bool StateHasBeenSet() const
bool ScheduledQueryArnHasBeenSet() const
void SetLastUpdatedTime(long long value)
void SetState(ScheduledQueryState value)
ScheduledQuerySummary & WithScheduleType(ScheduleType value)
bool ScheduleTypeHasBeenSet() const
const Aws::String & GetTimezone() const
bool TimezoneHasBeenSet() const
long long GetLastUpdatedTime() const
bool DestinationConfigurationHasBeenSet() const
ScheduledQuerySummary & WithLastTriggeredTime(long long value)
void SetTimezone(TimezoneT &&value)
void SetScheduleExpression(ScheduleExpressionT &&value)
void SetLastExecutionStatus(ExecutionStatus value)
ScheduledQuerySummary & WithName(NameT &&value)
const Aws::String & GetName() const
ScheduledQuerySummary & WithLastUpdatedTime(long long value)
ScheduledQuerySummary & WithState(ScheduledQueryState value)
bool LastUpdatedTimeHasBeenSet() const
void SetCreationTime(long long value)
AWS_CLOUDWATCHLOGS_API ScheduledQuerySummary()=default
void SetDestinationConfiguration(DestinationConfigurationT &&value)
bool LastExecutionStatusHasBeenSet() const
ScheduledQuerySummary & WithScheduledQueryArn(ScheduledQueryArnT &&value)
void SetLastTriggeredTime(long long value)
const Aws::String & GetScheduleExpression() const
void SetName(NameT &&value)
void SetScheduledQueryArn(ScheduledQueryArnT &&value)
ScheduledQuerySummary & WithScheduleExpression(ScheduleExpressionT &&value)
ScheduleType GetScheduleType() const
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
bool LastTriggeredTimeHasBeenSet() const
bool CreationTimeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue