/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The severity of a value of a dimension that contributed to an
* anomaly.See Also:
AWS
* API Reference
The value of the dimension.
*/ inline const Aws::String& GetDimensionValue() const{ return m_dimensionValue; } /** *The value of the dimension.
*/ inline bool DimensionValueHasBeenSet() const { return m_dimensionValueHasBeenSet; } /** *The value of the dimension.
*/ inline void SetDimensionValue(const Aws::String& value) { m_dimensionValueHasBeenSet = true; m_dimensionValue = value; } /** *The value of the dimension.
*/ inline void SetDimensionValue(Aws::String&& value) { m_dimensionValueHasBeenSet = true; m_dimensionValue = std::move(value); } /** *The value of the dimension.
*/ inline void SetDimensionValue(const char* value) { m_dimensionValueHasBeenSet = true; m_dimensionValue.assign(value); } /** *The value of the dimension.
*/ inline DimensionValueContribution& WithDimensionValue(const Aws::String& value) { SetDimensionValue(value); return *this;} /** *The value of the dimension.
*/ inline DimensionValueContribution& WithDimensionValue(Aws::String&& value) { SetDimensionValue(std::move(value)); return *this;} /** *The value of the dimension.
*/ inline DimensionValueContribution& WithDimensionValue(const char* value) { SetDimensionValue(value); return *this;} /** *The severity score of the value.
*/ inline double GetContributionScore() const{ return m_contributionScore; } /** *The severity score of the value.
*/ inline bool ContributionScoreHasBeenSet() const { return m_contributionScoreHasBeenSet; } /** *The severity score of the value.
*/ inline void SetContributionScore(double value) { m_contributionScoreHasBeenSet = true; m_contributionScore = value; } /** *The severity score of the value.
*/ inline DimensionValueContribution& WithContributionScore(double value) { SetContributionScore(value); return *this;} private: Aws::String m_dimensionValue; bool m_dimensionValueHasBeenSet = false; double m_contributionScore; bool m_contributionScoreHasBeenSet = false; }; } // namespace Model } // namespace LookoutMetrics } // namespace Aws