7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/connect/model/MetricInterval.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/connect/model/MetricDataV2.h>
60 inline MetricResultV2&
AddDimensions(
const char* key,
const char* value) { m_dimensionsHasBeenSet =
true; m_dimensions.emplace(key, value);
return *
this; }
91 bool m_dimensionsHasBeenSet =
false;
94 bool m_metricIntervalHasBeenSet =
false;
97 bool m_collectionsHasBeenSet =
false;
MetricResultV2 & AddDimensions(Aws::String &&key, const char *value)
void SetDimensions(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetDimensions() const
void SetCollections(const Aws::Vector< MetricDataV2 > &value)
bool MetricIntervalHasBeenSet() const
MetricResultV2 & WithCollections(Aws::Vector< MetricDataV2 > &&value)
AWS_CONNECT_API MetricResultV2 & operator=(Aws::Utils::Json::JsonView jsonValue)
MetricResultV2 & WithDimensions(const Aws::Map< Aws::String, Aws::String > &value)
void SetMetricInterval(MetricInterval &&value)
void SetCollections(Aws::Vector< MetricDataV2 > &&value)
AWS_CONNECT_API MetricResultV2(Aws::Utils::Json::JsonView jsonValue)
MetricResultV2 & AddCollections(MetricDataV2 &&value)
const MetricInterval & GetMetricInterval() const
void SetMetricInterval(const MetricInterval &value)
bool CollectionsHasBeenSet() const
MetricResultV2 & AddDimensions(const char *key, Aws::String &&value)
MetricResultV2 & WithDimensions(Aws::Map< Aws::String, Aws::String > &&value)
MetricResultV2 & AddDimensions(Aws::String &&key, const Aws::String &value)
MetricResultV2 & AddDimensions(const Aws::String &key, Aws::String &&value)
MetricResultV2 & AddDimensions(const char *key, const char *value)
AWS_CONNECT_API MetricResultV2()
MetricResultV2 & WithMetricInterval(const MetricInterval &value)
MetricResultV2 & WithCollections(const Aws::Vector< MetricDataV2 > &value)
void SetDimensions(const Aws::Map< Aws::String, Aws::String > &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
MetricResultV2 & AddDimensions(const Aws::String &key, const Aws::String &value)
MetricResultV2 & AddDimensions(Aws::String &&key, Aws::String &&value)
const Aws::Vector< MetricDataV2 > & GetCollections() const
bool DimensionsHasBeenSet() const
MetricResultV2 & WithMetricInterval(MetricInterval &&value)
MetricResultV2 & AddCollections(const MetricDataV2 &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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue