/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a reference metric used to evaluate Performance
* Insights.See Also:
AWS
* API Reference
A query to be processed on the metric.
*/ inline const PerformanceInsightsMetricQuery& GetMetricQuery() const{ return m_metricQuery; } /** *A query to be processed on the metric.
*/ inline bool MetricQueryHasBeenSet() const { return m_metricQueryHasBeenSet; } /** *A query to be processed on the metric.
*/ inline void SetMetricQuery(const PerformanceInsightsMetricQuery& value) { m_metricQueryHasBeenSet = true; m_metricQuery = value; } /** *A query to be processed on the metric.
*/ inline void SetMetricQuery(PerformanceInsightsMetricQuery&& value) { m_metricQueryHasBeenSet = true; m_metricQuery = std::move(value); } /** *A query to be processed on the metric.
*/ inline PerformanceInsightsReferenceMetric& WithMetricQuery(const PerformanceInsightsMetricQuery& value) { SetMetricQuery(value); return *this;} /** *A query to be processed on the metric.
*/ inline PerformanceInsightsReferenceMetric& WithMetricQuery(PerformanceInsightsMetricQuery&& value) { SetMetricQuery(std::move(value)); return *this;} private: PerformanceInsightsMetricQuery m_metricQuery; bool m_metricQueryHasBeenSet = false; }; } // namespace Model } // namespace DevOpsGuru } // namespace Aws