/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the external metrics preferences for EC2 rightsizing
* recommendations. See Also:
AWS
* API Reference
Contains the source options for external metrics preferences.
*/ inline const ExternalMetricsSource& GetSource() const{ return m_source; } /** *Contains the source options for external metrics preferences.
*/ inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } /** *Contains the source options for external metrics preferences.
*/ inline void SetSource(const ExternalMetricsSource& value) { m_sourceHasBeenSet = true; m_source = value; } /** *Contains the source options for external metrics preferences.
*/ inline void SetSource(ExternalMetricsSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } /** *Contains the source options for external metrics preferences.
*/ inline ExternalMetricsPreference& WithSource(const ExternalMetricsSource& value) { SetSource(value); return *this;} /** *Contains the source options for external metrics preferences.
*/ inline ExternalMetricsPreference& WithSource(ExternalMetricsSource&& value) { SetSource(std::move(value)); return *this;} private: ExternalMetricsSource m_source; bool m_sourceHasBeenSet = false; }; } // namespace Model } // namespace ComputeOptimizer } // namespace Aws