/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the performance metrics to use for the server that is used for
* recommendations. See Also:
AWS
* API Reference
A utilization metric that is used by the recommendations.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *A utilization metric that is used by the recommendations.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *A utilization metric that is used by the recommendations.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *A utilization metric that is used by the recommendations.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *A utilization metric that is used by the recommendations.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *A utilization metric that is used by the recommendations.
*/ inline UsageMetricBasis& WithName(const Aws::String& value) { SetName(value); return *this;} /** *A utilization metric that is used by the recommendations.
*/ inline UsageMetricBasis& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *A utilization metric that is used by the recommendations.
*/ inline UsageMetricBasis& WithName(const char* value) { SetName(value); return *this;} /** *Specifies the percentage of the specified utilization metric that is used by * the recommendations.
*/ inline double GetPercentageAdjust() const{ return m_percentageAdjust; } /** *Specifies the percentage of the specified utilization metric that is used by * the recommendations.
*/ inline bool PercentageAdjustHasBeenSet() const { return m_percentageAdjustHasBeenSet; } /** *Specifies the percentage of the specified utilization metric that is used by * the recommendations.
*/ inline void SetPercentageAdjust(double value) { m_percentageAdjustHasBeenSet = true; m_percentageAdjust = value; } /** *Specifies the percentage of the specified utilization metric that is used by * the recommendations.
*/ inline UsageMetricBasis& WithPercentageAdjust(double value) { SetPercentageAdjust(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; double m_percentageAdjust; bool m_percentageAdjustHasBeenSet = false; }; } // namespace Model } // namespace ApplicationDiscoveryService } // namespace Aws