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/ScheduledQueryState.h>
22namespace CloudWatchLogs {
44 template <
typename ScheduledQueryArnT = Aws::String>
46 m_scheduledQueryArnHasBeenSet =
true;
47 m_scheduledQueryArn = std::forward<ScheduledQueryArnT>(value);
49 template <
typename ScheduledQueryArnT = Aws::String>
62 template <
typename NameT = Aws::String>
64 m_nameHasBeenSet =
true;
65 m_name = std::forward<NameT>(value);
67 template <
typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
81 m_stateHasBeenSet =
true;
97 m_lastTriggeredTimeHasBeenSet =
true;
98 m_lastTriggeredTime = value;
113 m_lastExecutionStatusHasBeenSet =
true;
114 m_lastExecutionStatus = value;
128 template <
typename ScheduleExpressionT = Aws::String>
130 m_scheduleExpressionHasBeenSet =
true;
131 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
133 template <
typename ScheduleExpressionT = Aws::String>
146 template <
typename TimezoneT = Aws::String>
148 m_timezoneHasBeenSet =
true;
149 m_timezone = std::forward<TimezoneT>(value);
151 template <
typename TimezoneT = Aws::String>
164 template <
typename DestinationConfigurationT = DestinationConfiguration>
166 m_destinationConfigurationHasBeenSet =
true;
167 m_destinationConfiguration = std::forward<DestinationConfigurationT>(value);
169 template <
typename DestinationConfigurationT = DestinationConfiguration>
183 m_creationTimeHasBeenSet =
true;
184 m_creationTime = value;
199 m_lastUpdatedTimeHasBeenSet =
true;
200 m_lastUpdatedTime = value;
214 long long m_lastTriggeredTime{0};
222 DestinationConfiguration m_destinationConfiguration;
224 long long m_creationTime{0};
226 long long m_lastUpdatedTime{0};
227 bool m_scheduledQueryArnHasBeenSet =
false;
228 bool m_nameHasBeenSet =
false;
229 bool m_stateHasBeenSet =
false;
230 bool m_lastTriggeredTimeHasBeenSet =
false;
231 bool m_lastExecutionStatusHasBeenSet =
false;
232 bool m_scheduleExpressionHasBeenSet =
false;
233 bool m_timezoneHasBeenSet =
false;
234 bool m_destinationConfigurationHasBeenSet =
false;
235 bool m_creationTimeHasBeenSet =
false;
236 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
ScheduledQuerySummary & WithTimezone(TimezoneT &&value)
ScheduledQuerySummary & WithLastExecutionStatus(ExecutionStatus value)
bool StateHasBeenSet() const
bool ScheduledQueryArnHasBeenSet() const
void SetLastUpdatedTime(long long value)
void SetState(ScheduledQueryState value)
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)
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