7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pi/PI_EXPORTS.h>
10#include <aws/pi/model/DimensionGroup.h>
68 template <
typename MetricT = Aws::String>
70 m_metricHasBeenSet =
true;
71 m_metric = std::forward<MetricT>(value);
73 template <
typename MetricT = Aws::String>
90 template <
typename GroupByT = DimensionGroup>
92 m_groupByHasBeenSet =
true;
93 m_groupBy = std::forward<GroupByT>(value);
95 template <
typename GroupByT = DimensionGroup>
113 template <
typename FilterT = Aws::Map<Aws::String, Aws::String>>
115 m_filterHasBeenSet =
true;
116 m_filter = std::forward<FilterT>(value);
118 template <
typename FilterT = Aws::Map<Aws::String, Aws::String>>
123 template <
typename FilterKeyT = Aws::String,
typename FilterValueT = Aws::String>
125 m_filterHasBeenSet =
true;
126 m_filter.emplace(std::forward<FilterKeyT>(key), std::forward<FilterValueT>(value));
136 bool m_metricHasBeenSet =
false;
137 bool m_groupByHasBeenSet =
false;
138 bool m_filterHasBeenSet =
false;
MetricQuery & WithFilter(FilterT &&value)
bool FilterHasBeenSet() const
void SetGroupBy(GroupByT &&value)
void SetFilter(FilterT &&value)
void SetMetric(MetricT &&value)
MetricQuery & WithGroupBy(GroupByT &&value)
AWS_PI_API MetricQuery(Aws::Utils::Json::JsonView jsonValue)
AWS_PI_API MetricQuery()=default
bool GroupByHasBeenSet() const
const Aws::String & GetMetric() const
AWS_PI_API MetricQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetFilter() const
const DimensionGroup & GetGroupBy() const
bool MetricHasBeenSet() const
AWS_PI_API Aws::Utils::Json::JsonValue Jsonize() const
MetricQuery & AddFilter(FilterKeyT &&key, FilterValueT &&value)
MetricQuery & WithMetric(MetricT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue