/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that tells Evidently whether higher or lower values are desired
* for a metric that is used in an experiment.See Also:
AWS
* API Reference
INCREASE
means that a variation with a higher number for this
* metric is performing better.
DECREASE
means that a
* variation with a lower number for this metric is performing better.
INCREASE
means that a variation with a higher number for this
* metric is performing better.
DECREASE
means that a
* variation with a lower number for this metric is performing better.
INCREASE
means that a variation with a higher number for this
* metric is performing better.
DECREASE
means that a
* variation with a lower number for this metric is performing better.
INCREASE
means that a variation with a higher number for this
* metric is performing better.
DECREASE
means that a
* variation with a lower number for this metric is performing better.
INCREASE
means that a variation with a higher number for this
* metric is performing better.
DECREASE
means that a
* variation with a lower number for this metric is performing better.
INCREASE
means that a variation with a higher number for this
* metric is performing better.
DECREASE
means that a
* variation with a lower number for this metric is performing better.
A structure that contains details about the metric.
*/ inline const MetricDefinition& GetMetricDefinition() const{ return m_metricDefinition; } /** *A structure that contains details about the metric.
*/ inline bool MetricDefinitionHasBeenSet() const { return m_metricDefinitionHasBeenSet; } /** *A structure that contains details about the metric.
*/ inline void SetMetricDefinition(const MetricDefinition& value) { m_metricDefinitionHasBeenSet = true; m_metricDefinition = value; } /** *A structure that contains details about the metric.
*/ inline void SetMetricDefinition(MetricDefinition&& value) { m_metricDefinitionHasBeenSet = true; m_metricDefinition = std::move(value); } /** *A structure that contains details about the metric.
*/ inline MetricGoal& WithMetricDefinition(const MetricDefinition& value) { SetMetricDefinition(value); return *this;} /** *A structure that contains details about the metric.
*/ inline MetricGoal& WithMetricDefinition(MetricDefinition&& value) { SetMetricDefinition(std::move(value)); return *this;} private: ChangeDirectionEnum m_desiredChange; bool m_desiredChangeHasBeenSet = false; MetricDefinition m_metricDefinition; bool m_metricDefinitionHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchEvidently } // namespace Aws