/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that includes the requested dimension key values and aggregated
* metric values within a dimension group.See Also:
AWS
* API Reference
A map of name-value pairs for the dimensions in the group.
*/ inline const Aws::MapA map of name-value pairs for the dimensions in the group.
*/ inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; } /** *A map of name-value pairs for the dimensions in the group.
*/ inline void SetDimensions(const Aws::MapA map of name-value pairs for the dimensions in the group.
*/ inline void SetDimensions(Aws::MapA map of name-value pairs for the dimensions in the group.
*/ inline DimensionKeyDescription& WithDimensions(const Aws::MapA map of name-value pairs for the dimensions in the group.
*/ inline DimensionKeyDescription& WithDimensions(Aws::MapA map of name-value pairs for the dimensions in the group.
*/ inline DimensionKeyDescription& AddDimensions(const Aws::String& key, const Aws::String& value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(key, value); return *this; } /** *A map of name-value pairs for the dimensions in the group.
*/ inline DimensionKeyDescription& AddDimensions(Aws::String&& key, const Aws::String& value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(std::move(key), value); return *this; } /** *A map of name-value pairs for the dimensions in the group.
*/ inline DimensionKeyDescription& AddDimensions(const Aws::String& key, Aws::String&& value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(key, std::move(value)); return *this; } /** *A map of name-value pairs for the dimensions in the group.
*/ inline DimensionKeyDescription& AddDimensions(Aws::String&& key, Aws::String&& value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(std::move(key), std::move(value)); return *this; } /** *A map of name-value pairs for the dimensions in the group.
*/ inline DimensionKeyDescription& AddDimensions(const char* key, Aws::String&& value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(key, std::move(value)); return *this; } /** *A map of name-value pairs for the dimensions in the group.
*/ inline DimensionKeyDescription& AddDimensions(Aws::String&& key, const char* value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(std::move(key), value); return *this; } /** *A map of name-value pairs for the dimensions in the group.
*/ inline DimensionKeyDescription& AddDimensions(const char* key, const char* value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace(key, value); return *this; } /** *The aggregated metric value for the dimensions, over the requested time * range.
*/ inline double GetTotal() const{ return m_total; } /** *The aggregated metric value for the dimensions, over the requested time * range.
*/ inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; } /** *The aggregated metric value for the dimensions, over the requested time * range.
*/ inline void SetTotal(double value) { m_totalHasBeenSet = true; m_total = value; } /** *The aggregated metric value for the dimensions, over the requested time * range.
*/ inline DimensionKeyDescription& WithTotal(double value) { SetTotal(value); return *this;} /** *A map that contains the value for each additional metric.
*/ inline const Aws::MapA map that contains the value for each additional metric.
*/ inline bool AdditionalMetricsHasBeenSet() const { return m_additionalMetricsHasBeenSet; } /** *A map that contains the value for each additional metric.
*/ inline void SetAdditionalMetrics(const Aws::MapA map that contains the value for each additional metric.
*/ inline void SetAdditionalMetrics(Aws::MapA map that contains the value for each additional metric.
*/ inline DimensionKeyDescription& WithAdditionalMetrics(const Aws::MapA map that contains the value for each additional metric.
*/ inline DimensionKeyDescription& WithAdditionalMetrics(Aws::MapA map that contains the value for each additional metric.
*/ inline DimensionKeyDescription& AddAdditionalMetrics(const Aws::String& key, double value) { m_additionalMetricsHasBeenSet = true; m_additionalMetrics.emplace(key, value); return *this; } /** *A map that contains the value for each additional metric.
*/ inline DimensionKeyDescription& AddAdditionalMetrics(Aws::String&& key, double value) { m_additionalMetricsHasBeenSet = true; m_additionalMetrics.emplace(std::move(key), value); return *this; } /** *A map that contains the value for each additional metric.
*/ inline DimensionKeyDescription& AddAdditionalMetrics(const char* key, double value) { m_additionalMetricsHasBeenSet = true; m_additionalMetrics.emplace(key, value); return *this; } /** *If PartitionBy
was specified, PartitionKeys
* contains the dimensions that were.
If PartitionBy
was specified, PartitionKeys
* contains the dimensions that were.
If PartitionBy
was specified, PartitionKeys
* contains the dimensions that were.
If PartitionBy
was specified, PartitionKeys
* contains the dimensions that were.
If PartitionBy
was specified, PartitionKeys
* contains the dimensions that were.
If PartitionBy
was specified, PartitionKeys
* contains the dimensions that were.
If PartitionBy
was specified, PartitionKeys
* contains the dimensions that were.