/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An array of descriptions and aggregated values for each dimension 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 dimension(s), over the requested time * range.
*/ inline double GetTotal() const{ return m_total; } /** *The aggregated metric value for the dimension(s), over the requested time * range.
*/ inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; } /** *The aggregated metric value for the dimension(s), over the requested time * range.
*/ inline void SetTotal(double value) { m_totalHasBeenSet = true; m_total = value; } /** *The aggregated metric value for the dimension(s), over the requested time * range.
*/ inline DimensionKeyDescription& WithTotal(double value) { SetTotal(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.