7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/monitoring/CloudWatch_EXPORTS.h>
11#include <aws/monitoring/model/ScheduleConfiguration.h>
12#include <aws/monitoring/model/Tag.h>
36 AWS_CLOUDWATCH_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 template <
typename QueryStringT = Aws::String>
47 m_queryStringHasBeenSet =
true;
48 m_queryString = std::forward<QueryStringT>(value);
50 template <
typename QueryStringT = Aws::String>
66 template <
typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
68 m_logGroupIdentifiersHasBeenSet =
true;
69 m_logGroupIdentifiers = std::forward<LogGroupIdentifiersT>(value);
71 template <
typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
76 template <
typename LogGroupIdentifiersT = Aws::String>
78 m_logGroupIdentifiersHasBeenSet =
true;
79 m_logGroupIdentifiers.emplace_back(std::forward<LogGroupIdentifiersT>(value));
92 template <
typename QueryARNT = Aws::String>
94 m_queryARNHasBeenSet =
true;
95 m_queryARN = std::forward<QueryARNT>(value);
97 template <
typename QueryARNT = Aws::String>
111 template <
typename ScheduledQueryRoleARNT = Aws::String>
113 m_scheduledQueryRoleARNHasBeenSet =
true;
114 m_scheduledQueryRoleARN = std::forward<ScheduledQueryRoleARNT>(value);
116 template <
typename ScheduledQueryRoleARNT = Aws::String>
130 template <
typename ScheduleConfigurationT = ScheduleConfiguration>
132 m_scheduleConfigurationHasBeenSet =
true;
133 m_scheduleConfiguration = std::forward<ScheduleConfigurationT>(value);
135 template <
typename ScheduleConfigurationT = ScheduleConfiguration>
151 template <
typename AggregationExpressionT = Aws::String>
153 m_aggregationExpressionHasBeenSet =
true;
154 m_aggregationExpression = std::forward<AggregationExpressionT>(value);
156 template <
typename AggregationExpressionT = Aws::String>
170 template <
typename TagsT = Aws::Vector<Tag>>
172 m_tagsHasBeenSet =
true;
173 m_tags = std::forward<TagsT>(value);
175 template <
typename TagsT = Aws::Vector<Tag>>
177 SetTags(std::forward<TagsT>(value));
180 template <
typename TagsT = Tag>
182 m_tagsHasBeenSet =
true;
183 m_tags.emplace_back(std::forward<TagsT>(value));
201 bool m_queryStringHasBeenSet =
false;
202 bool m_logGroupIdentifiersHasBeenSet =
false;
203 bool m_queryARNHasBeenSet =
false;
204 bool m_scheduledQueryRoleARNHasBeenSet =
false;
205 bool m_scheduleConfigurationHasBeenSet =
false;
206 bool m_aggregationExpressionHasBeenSet =
false;
207 bool m_tagsHasBeenSet =
false;
ScheduledQueryConfiguration & AddLogGroupIdentifiers(LogGroupIdentifiersT &&value)
void SetScheduleConfiguration(ScheduleConfigurationT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetScheduledQueryRoleARN(ScheduledQueryRoleARNT &&value)
AWS_CLOUDWATCH_API ScheduledQueryConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ScheduledQueryRoleARNHasBeenSet() const
void SetLogGroupIdentifiers(LogGroupIdentifiersT &&value)
bool QueryStringHasBeenSet() const
ScheduledQueryConfiguration & WithScheduledQueryRoleARN(ScheduledQueryRoleARNT &&value)
const Aws::String & GetQueryString() const
AWS_CLOUDWATCH_API ScheduledQueryConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetQueryARN(QueryARNT &&value)
bool QueryARNHasBeenSet() const
bool TagsHasBeenSet() const
AWS_CLOUDWATCH_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetQueryARN() const
ScheduledQueryConfiguration & WithScheduleConfiguration(ScheduleConfigurationT &&value)
const Aws::String & GetAggregationExpression() const
ScheduledQueryConfiguration & WithAggregationExpression(AggregationExpressionT &&value)
AWS_CLOUDWATCH_API ScheduledQueryConfiguration()=default
ScheduledQueryConfiguration & WithQueryARN(QueryARNT &&value)
void SetAggregationExpression(AggregationExpressionT &&value)
ScheduledQueryConfiguration & WithLogGroupIdentifiers(LogGroupIdentifiersT &&value)
bool LogGroupIdentifiersHasBeenSet() const
bool AggregationExpressionHasBeenSet() const
ScheduledQueryConfiguration & AddTags(TagsT &&value)
void SetQueryString(QueryStringT &&value)
const ScheduleConfiguration & GetScheduleConfiguration() const
ScheduledQueryConfiguration & WithTags(TagsT &&value)
bool ScheduleConfigurationHasBeenSet() const
const Aws::Vector< Aws::String > & GetLogGroupIdentifiers() const
void SetTags(TagsT &&value)
const Aws::String & GetScheduledQueryRoleARN() const
ScheduledQueryConfiguration & WithQueryString(QueryStringT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector