/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the compute-optimizer-2019-11-01.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ComputeOptimizer.Model { /// /// Describes the source of a recommendation, such as an Amazon EC2 instance or Auto Scaling /// group. /// public partial class RecommendationSource { private string _recommendationSourceArn; private RecommendationSourceType _recommendationSourceType; /// /// Gets and sets the property RecommendationSourceArn. /// /// The Amazon Resource Name (ARN) of the recommendation source. /// /// public string RecommendationSourceArn { get { return this._recommendationSourceArn; } set { this._recommendationSourceArn = value; } } // Check to see if RecommendationSourceArn property is set internal bool IsSetRecommendationSourceArn() { return this._recommendationSourceArn != null; } /// /// Gets and sets the property RecommendationSourceType. /// /// The resource type of the recommendation source. /// /// public RecommendationSourceType RecommendationSourceType { get { return this._recommendationSourceType; } set { this._recommendationSourceType = value; } } // Check to see if RecommendationSourceType property is set internal bool IsSetRecommendationSourceType() { return this._recommendationSourceType != null; } } }