/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that defines a metric to be used to monitor performance of the
* variations during a launch.See Also:
AWS
* API Reference
A structure that defines the metric.
*/ inline const MetricDefinition& GetMetricDefinition() const{ return m_metricDefinition; } /** *A structure that defines the metric.
*/ inline bool MetricDefinitionHasBeenSet() const { return m_metricDefinitionHasBeenSet; } /** *A structure that defines the metric.
*/ inline void SetMetricDefinition(const MetricDefinition& value) { m_metricDefinitionHasBeenSet = true; m_metricDefinition = value; } /** *A structure that defines the metric.
*/ inline void SetMetricDefinition(MetricDefinition&& value) { m_metricDefinitionHasBeenSet = true; m_metricDefinition = std::move(value); } /** *A structure that defines the metric.
*/ inline MetricMonitor& WithMetricDefinition(const MetricDefinition& value) { SetMetricDefinition(value); return *this;} /** *A structure that defines the metric.
*/ inline MetricMonitor& WithMetricDefinition(MetricDefinition&& value) { SetMetricDefinition(std::move(value)); return *this;} private: MetricDefinition m_metricDefinition; bool m_metricDefinitionHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchEvidently } // namespace Aws