/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DevOpsGuru { namespace Model { /** *

Information about a reference metric used to evaluate Performance * Insights.

See Also:

AWS * API Reference

*/ class PerformanceInsightsReferenceMetric { public: AWS_DEVOPSGURU_API PerformanceInsightsReferenceMetric(); AWS_DEVOPSGURU_API PerformanceInsightsReferenceMetric(Aws::Utils::Json::JsonView jsonValue); AWS_DEVOPSGURU_API PerformanceInsightsReferenceMetric& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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