/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the source of a recommendation, such as an Amazon EC2 instance or
* Auto Scaling group.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the recommendation source.
*/ inline const Aws::String& GetRecommendationSourceArn() const{ return m_recommendationSourceArn; } /** *The Amazon Resource Name (ARN) of the recommendation source.
*/ inline bool RecommendationSourceArnHasBeenSet() const { return m_recommendationSourceArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the recommendation source.
*/ inline void SetRecommendationSourceArn(const Aws::String& value) { m_recommendationSourceArnHasBeenSet = true; m_recommendationSourceArn = value; } /** *The Amazon Resource Name (ARN) of the recommendation source.
*/ inline void SetRecommendationSourceArn(Aws::String&& value) { m_recommendationSourceArnHasBeenSet = true; m_recommendationSourceArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the recommendation source.
*/ inline void SetRecommendationSourceArn(const char* value) { m_recommendationSourceArnHasBeenSet = true; m_recommendationSourceArn.assign(value); } /** *The Amazon Resource Name (ARN) of the recommendation source.
*/ inline RecommendationSource& WithRecommendationSourceArn(const Aws::String& value) { SetRecommendationSourceArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the recommendation source.
*/ inline RecommendationSource& WithRecommendationSourceArn(Aws::String&& value) { SetRecommendationSourceArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the recommendation source.
*/ inline RecommendationSource& WithRecommendationSourceArn(const char* value) { SetRecommendationSourceArn(value); return *this;} /** *The resource type of the recommendation source.
*/ inline const RecommendationSourceType& GetRecommendationSourceType() const{ return m_recommendationSourceType; } /** *The resource type of the recommendation source.
*/ inline bool RecommendationSourceTypeHasBeenSet() const { return m_recommendationSourceTypeHasBeenSet; } /** *The resource type of the recommendation source.
*/ inline void SetRecommendationSourceType(const RecommendationSourceType& value) { m_recommendationSourceTypeHasBeenSet = true; m_recommendationSourceType = value; } /** *The resource type of the recommendation source.
*/ inline void SetRecommendationSourceType(RecommendationSourceType&& value) { m_recommendationSourceTypeHasBeenSet = true; m_recommendationSourceType = std::move(value); } /** *The resource type of the recommendation source.
*/ inline RecommendationSource& WithRecommendationSourceType(const RecommendationSourceType& value) { SetRecommendationSourceType(value); return *this;} /** *The resource type of the recommendation source.
*/ inline RecommendationSource& WithRecommendationSourceType(RecommendationSourceType&& value) { SetRecommendationSourceType(std::move(value)); return *this;} private: Aws::String m_recommendationSourceArn; bool m_recommendationSourceArnHasBeenSet = false; RecommendationSourceType m_recommendationSourceType; bool m_recommendationSourceTypeHasBeenSet = false; }; } // namespace Model } // namespace ComputeOptimizer } // namespace Aws