7#include <aws/pi/PI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pi/model/DimensionGroup.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
76 inline void SetMetric(
const char* value) { m_metricHasBeenSet =
true; m_metric.assign(value); }
119 inline MetricQuery&
AddFilter(
const char* key,
const char* value) { m_filterHasBeenSet =
true; m_filter.emplace(key, value);
return *
this; }
124 bool m_metricHasBeenSet =
false;
127 bool m_groupByHasBeenSet =
false;
130 bool m_filterHasBeenSet =
false;
void SetMetric(Aws::String &&value)
MetricQuery & WithMetric(const Aws::String &value)
bool FilterHasBeenSet() const
MetricQuery & WithFilter(const Aws::Map< Aws::String, Aws::String > &value)
MetricQuery & WithFilter(Aws::Map< Aws::String, Aws::String > &&value)
MetricQuery & AddFilter(Aws::String &&key, const char *value)
void SetFilter(Aws::Map< Aws::String, Aws::String > &&value)
MetricQuery & AddFilter(Aws::String &&key, Aws::String &&value)
AWS_PI_API MetricQuery(Aws::Utils::Json::JsonView jsonValue)
MetricQuery & AddFilter(const Aws::String &key, Aws::String &&value)
bool GroupByHasBeenSet() const
const Aws::String & GetMetric() const
MetricQuery & AddFilter(const char *key, const char *value)
MetricQuery & WithGroupBy(DimensionGroup &&value)
AWS_PI_API MetricQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetFilter() const
void SetFilter(const Aws::Map< Aws::String, Aws::String > &value)
MetricQuery & AddFilter(const Aws::String &key, const Aws::String &value)
void SetGroupBy(const DimensionGroup &value)
const DimensionGroup & GetGroupBy() const
void SetMetric(const char *value)
bool MetricHasBeenSet() const
MetricQuery & AddFilter(const char *key, Aws::String &&value)
AWS_PI_API Aws::Utils::Json::JsonValue Jsonize() const
MetricQuery & WithMetric(Aws::String &&value)
MetricQuery & AddFilter(Aws::String &&key, const Aws::String &value)
MetricQuery & WithMetric(const char *value)
void SetMetric(const Aws::String &value)
MetricQuery & WithGroupBy(const DimensionGroup &value)
void SetGroupBy(DimensionGroup &&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