/* * 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 ce-2017-10-25.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.CostExplorer.Model { /// /// You can use RightsizingRecommendationConfiguration to customize recommendations /// across two attributes. You can choose to view recommendations for instances within /// the same instance families or across different instance families. You can also choose /// to view your estimated savings that are associated with recommendations with consideration /// of existing Savings Plans or Reserved Instance (RI) benefits, or neither. /// public partial class RightsizingRecommendationConfiguration { private bool? _benefitsConsidered; private RecommendationTarget _recommendationTarget; /// /// Gets and sets the property BenefitsConsidered. /// /// The option to consider RI or Savings Plans discount benefits in your savings calculation. /// The default value is TRUE. /// /// [AWSProperty(Required=true)] public bool BenefitsConsidered { get { return this._benefitsConsidered.GetValueOrDefault(); } set { this._benefitsConsidered = value; } } // Check to see if BenefitsConsidered property is set internal bool IsSetBenefitsConsidered() { return this._benefitsConsidered.HasValue; } /// /// Gets and sets the property RecommendationTarget. /// /// The option to see recommendations within the same instance family or recommendations /// for instances across other families. The default value is SAME_INSTANCE_FAMILY. /// /// /// [AWSProperty(Required=true)] public RecommendationTarget RecommendationTarget { get { return this._recommendationTarget; } set { this._recommendationTarget = value; } } // Check to see if RecommendationTarget property is set internal bool IsSetRecommendationTarget() { return this._recommendationTarget != null; } } }