/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The available dimension information for a metric type.See
* Also:
AWS
* API Reference
The metric type to which the dimension information belongs.
*/ inline const Aws::String& GetMetric() const{ return m_metric; } /** *The metric type to which the dimension information belongs.
*/ inline bool MetricHasBeenSet() const { return m_metricHasBeenSet; } /** *The metric type to which the dimension information belongs.
*/ inline void SetMetric(const Aws::String& value) { m_metricHasBeenSet = true; m_metric = value; } /** *The metric type to which the dimension information belongs.
*/ inline void SetMetric(Aws::String&& value) { m_metricHasBeenSet = true; m_metric = std::move(value); } /** *The metric type to which the dimension information belongs.
*/ inline void SetMetric(const char* value) { m_metricHasBeenSet = true; m_metric.assign(value); } /** *The metric type to which the dimension information belongs.
*/ inline MetricDimensionGroups& WithMetric(const Aws::String& value) { SetMetric(value); return *this;} /** *The metric type to which the dimension information belongs.
*/ inline MetricDimensionGroups& WithMetric(Aws::String&& value) { SetMetric(std::move(value)); return *this;} /** *The metric type to which the dimension information belongs.
*/ inline MetricDimensionGroups& WithMetric(const char* value) { SetMetric(value); return *this;} /** *The available dimension groups for a metric type.
*/ inline const Aws::VectorThe available dimension groups for a metric type.
*/ inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; } /** *The available dimension groups for a metric type.
*/ inline void SetGroups(const Aws::VectorThe available dimension groups for a metric type.
*/ inline void SetGroups(Aws::VectorThe available dimension groups for a metric type.
*/ inline MetricDimensionGroups& WithGroups(const Aws::VectorThe available dimension groups for a metric type.
*/ inline MetricDimensionGroups& WithGroups(Aws::VectorThe available dimension groups for a metric type.
*/ inline MetricDimensionGroups& AddGroups(const DimensionGroupDetail& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; } /** *The available dimension groups for a metric type.
*/ inline MetricDimensionGroups& AddGroups(DimensionGroupDetail&& value) { m_groupsHasBeenSet = true; m_groups.push_back(std::move(value)); return *this; } private: Aws::String m_metric; bool m_metricHasBeenSet = false; Aws::Vector