/* * 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 { /// /// A single daily or monthly Savings Plans utilization rate and details for your account. /// A management account in an organization have access to member accounts. You can use /// GetDimensionValues to determine the possible dimension values. /// public partial class SavingsPlansUtilizationDetail { private SavingsPlansAmortizedCommitment _amortizedCommitment; private Dictionary _attributes = new Dictionary(); private SavingsPlansSavings _savings; private string _savingsPlanArn; private SavingsPlansUtilization _utilization; /// /// Gets and sets the property AmortizedCommitment. /// /// The total amortized commitment for a Savings Plans. Includes the sum of the upfront /// and recurring Savings Plans fees. /// /// public SavingsPlansAmortizedCommitment AmortizedCommitment { get { return this._amortizedCommitment; } set { this._amortizedCommitment = value; } } // Check to see if AmortizedCommitment property is set internal bool IsSetAmortizedCommitment() { return this._amortizedCommitment != null; } /// /// Gets and sets the property Attributes. /// /// The attribute that applies to a specific Dimension. /// /// public Dictionary Attributes { get { return this._attributes; } set { this._attributes = value; } } // Check to see if Attributes property is set internal bool IsSetAttributes() { return this._attributes != null && this._attributes.Count > 0; } /// /// Gets and sets the property Savings. /// /// The amount saved by using existing Savings Plans. Savings returns both net savings /// from savings plans and also the onDemandCostEquivalent of the Savings /// Plans when considering the utilization rate. /// /// public SavingsPlansSavings Savings { get { return this._savings; } set { this._savings = value; } } // Check to see if Savings property is set internal bool IsSetSavings() { return this._savings != null; } /// /// Gets and sets the property SavingsPlanArn. /// /// The unique Amazon Resource Name (ARN) for a particular Savings Plan. /// /// public string SavingsPlanArn { get { return this._savingsPlanArn; } set { this._savingsPlanArn = value; } } // Check to see if SavingsPlanArn property is set internal bool IsSetSavingsPlanArn() { return this._savingsPlanArn != null; } /// /// Gets and sets the property Utilization. /// /// A ratio of your effectiveness of using existing Savings Plans to apply to workloads /// that are Savings Plans eligible. /// /// public SavingsPlansUtilization Utilization { get { return this._utilization; } set { this._utilization = value; } } // Check to see if Utilization property is set internal bool IsSetUtilization() { return this._utilization != null; } } }