/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that represents a metric.See Also:
AWS
* API Reference
The aggregation of a named entity. Valid values for this structure are
* SUM, MIN, MAX, COUNT,
* AVERAGE, DISTINCT_COUNT, STDEV,
* STDEVP, VAR, VARP,
* PERCENTILE, MEDIAN, and CUSTOM.
The aggregation of a named entity. Valid values for this structure are
* SUM, MIN, MAX, COUNT,
* AVERAGE, DISTINCT_COUNT, STDEV,
* STDEVP, VAR, VARP,
* PERCENTILE, MEDIAN, and CUSTOM.
The aggregation of a named entity. Valid values for this structure are
* SUM, MIN, MAX, COUNT,
* AVERAGE, DISTINCT_COUNT, STDEV,
* STDEVP, VAR, VARP,
* PERCENTILE, MEDIAN, and CUSTOM.
The aggregation of a named entity. Valid values for this structure are
* SUM, MIN, MAX, COUNT,
* AVERAGE, DISTINCT_COUNT, STDEV,
* STDEVP, VAR, VARP,
* PERCENTILE, MEDIAN, and CUSTOM.
The aggregation of a named entity. Valid values for this structure are
* SUM, MIN, MAX, COUNT,
* AVERAGE, DISTINCT_COUNT, STDEV,
* STDEVP, VAR, VARP,
* PERCENTILE, MEDIAN, and CUSTOM.
The aggregation of a named entity. Valid values for this structure are
* SUM, MIN, MAX, COUNT,
* AVERAGE, DISTINCT_COUNT, STDEV,
* STDEVP, VAR, VARP,
* PERCENTILE, MEDIAN, and CUSTOM.
The additional parameters for an aggregation function.
*/ inline const Aws::MapThe additional parameters for an aggregation function.
*/ inline bool AggregationFunctionParametersHasBeenSet() const { return m_aggregationFunctionParametersHasBeenSet; } /** *The additional parameters for an aggregation function.
*/ inline void SetAggregationFunctionParameters(const Aws::MapThe additional parameters for an aggregation function.
*/ inline void SetAggregationFunctionParameters(Aws::MapThe additional parameters for an aggregation function.
*/ inline NamedEntityDefinitionMetric& WithAggregationFunctionParameters(const Aws::MapThe additional parameters for an aggregation function.
*/ inline NamedEntityDefinitionMetric& WithAggregationFunctionParameters(Aws::MapThe additional parameters for an aggregation function.
*/ inline NamedEntityDefinitionMetric& AddAggregationFunctionParameters(const Aws::String& key, const Aws::String& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(key, value); return *this; } /** *The additional parameters for an aggregation function.
*/ inline NamedEntityDefinitionMetric& AddAggregationFunctionParameters(Aws::String&& key, const Aws::String& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(std::move(key), value); return *this; } /** *The additional parameters for an aggregation function.
*/ inline NamedEntityDefinitionMetric& AddAggregationFunctionParameters(const Aws::String& key, Aws::String&& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(key, std::move(value)); return *this; } /** *The additional parameters for an aggregation function.
*/ inline NamedEntityDefinitionMetric& AddAggregationFunctionParameters(Aws::String&& key, Aws::String&& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(std::move(key), std::move(value)); return *this; } /** *The additional parameters for an aggregation function.
*/ inline NamedEntityDefinitionMetric& AddAggregationFunctionParameters(const char* key, Aws::String&& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(key, std::move(value)); return *this; } /** *The additional parameters for an aggregation function.
*/ inline NamedEntityDefinitionMetric& AddAggregationFunctionParameters(Aws::String&& key, const char* value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(std::move(key), value); return *this; } /** *The additional parameters for an aggregation function.
*/ inline NamedEntityDefinitionMetric& AddAggregationFunctionParameters(const char* key, const char* value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(key, value); return *this; } private: NamedEntityAggType m_aggregation; bool m_aggregationHasBeenSet = false; Aws::Map