/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A summary of a finding reason code.See Also:
AWS
* API Reference
The name of the finding reason code.
*/ inline const FindingReasonCode& GetName() const{ return m_name; } /** *The name of the finding reason code.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the finding reason code.
*/ inline void SetName(const FindingReasonCode& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the finding reason code.
*/ inline void SetName(FindingReasonCode&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the finding reason code.
*/ inline ReasonCodeSummary& WithName(const FindingReasonCode& value) { SetName(value); return *this;} /** *The name of the finding reason code.
*/ inline ReasonCodeSummary& WithName(FindingReasonCode&& value) { SetName(std::move(value)); return *this;} /** *The value of the finding reason code summary.
*/ inline double GetValue() const{ return m_value; } /** *The value of the finding reason code summary.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The value of the finding reason code summary.
*/ inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; } /** *The value of the finding reason code summary.
*/ inline ReasonCodeSummary& WithValue(double value) { SetValue(value); return *this;} private: FindingReasonCode m_name; bool m_nameHasBeenSet = false; double m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace ComputeOptimizer } // namespace Aws