/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about a real-time metric. For a description of each
* metric, see Real-time
* Metrics Definitions in the Amazon Connect Administrator
* Guide.See Also:
AWS
* API Reference
The name of the metric.
*/ inline const CurrentMetricName& GetName() const{ return m_name; } /** *The name of the metric.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the metric.
*/ inline void SetName(const CurrentMetricName& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the metric.
*/ inline void SetName(CurrentMetricName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the metric.
*/ inline CurrentMetric& WithName(const CurrentMetricName& value) { SetName(value); return *this;} /** *The name of the metric.
*/ inline CurrentMetric& WithName(CurrentMetricName&& value) { SetName(std::move(value)); return *this;} /** *The unit for the metric.
*/ inline const Unit& GetUnit() const{ return m_unit; } /** *The unit for the metric.
*/ inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; } /** *The unit for the metric.
*/ inline void SetUnit(const Unit& value) { m_unitHasBeenSet = true; m_unit = value; } /** *The unit for the metric.
*/ inline void SetUnit(Unit&& value) { m_unitHasBeenSet = true; m_unit = std::move(value); } /** *The unit for the metric.
*/ inline CurrentMetric& WithUnit(const Unit& value) { SetUnit(value); return *this;} /** *The unit for the metric.
*/ inline CurrentMetric& WithUnit(Unit&& value) { SetUnit(std::move(value)); return *this;} private: CurrentMetricName m_name; bool m_nameHasBeenSet = false; Unit m_unit; bool m_unitHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws