/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the metric results.See Also:
AWS
* API Reference
The dimension for the metrics.
*/ inline const Aws::MapThe dimension for the metrics.
*/ inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; } /** *The dimension for the metrics.
*/ inline void SetDimensions(const Aws::MapThe dimension for the metrics.
*/ inline void SetDimensions(Aws::MapThe dimension for the metrics.
*/ inline MetricResultV2& WithDimensions(const Aws::MapThe dimension for the metrics.
*/ inline MetricResultV2& WithDimensions(Aws::MapThe dimension for the metrics.
*/ inline MetricResultV2& AddDimensions(const Aws::String& key, const Aws::String& value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(key, value); return *this; } /** *The dimension for the metrics.
*/ inline MetricResultV2& AddDimensions(Aws::String&& key, const Aws::String& value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(std::move(key), value); return *this; } /** *The dimension for the metrics.
*/ inline MetricResultV2& AddDimensions(const Aws::String& key, Aws::String&& value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(key, std::move(value)); return *this; } /** *The dimension for the metrics.
*/ inline MetricResultV2& AddDimensions(Aws::String&& key, Aws::String&& value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(std::move(key), std::move(value)); return *this; } /** *The dimension for the metrics.
*/ inline MetricResultV2& AddDimensions(const char* key, Aws::String&& value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(key, std::move(value)); return *this; } /** *The dimension for the metrics.
*/ inline MetricResultV2& AddDimensions(Aws::String&& key, const char* value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(std::move(key), value); return *this; } /** *The dimension for the metrics.
*/ inline MetricResultV2& AddDimensions(const char* key, const char* value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(key, value); return *this; } /** *The set of metrics.
*/ inline const Aws::VectorThe set of metrics.
*/ inline bool CollectionsHasBeenSet() const { return m_collectionsHasBeenSet; } /** *The set of metrics.
*/ inline void SetCollections(const Aws::VectorThe set of metrics.
*/ inline void SetCollections(Aws::VectorThe set of metrics.
*/ inline MetricResultV2& WithCollections(const Aws::VectorThe set of metrics.
*/ inline MetricResultV2& WithCollections(Aws::VectorThe set of metrics.
*/ inline MetricResultV2& AddCollections(const MetricDataV2& value) { m_collectionsHasBeenSet = true; m_collections.push_back(value); return *this; } /** *The set of metrics.
*/ inline MetricResultV2& AddCollections(MetricDataV2&& value) { m_collectionsHasBeenSet = true; m_collections.push_back(std::move(value)); return *this; } private: Aws::Map