/*
* 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
{
///
/// The aggregated numbers for your reservation usage.
///
public partial class ReservationAggregates
{
private string _amortizedRecurringFee;
private string _amortizedUpfrontFee;
private string _netRISavings;
private string _onDemandCostOfRIHoursUsed;
private string _purchasedHours;
private string _purchasedUnits;
private string _realizedSavings;
private string _riCostForUnusedHours;
private string _totalActualHours;
private string _totalActualUnits;
private string _totalAmortizedFee;
private string _totalPotentialRISavings;
private string _unrealizedSavings;
private string _unusedHours;
private string _unusedUnits;
private string _utilizationPercentage;
private string _utilizationPercentageInUnits;
///
/// Gets and sets the property AmortizedRecurringFee.
///
/// The monthly cost of your reservation. It's amortized over the reservation period.
///
///
public string AmortizedRecurringFee
{
get { return this._amortizedRecurringFee; }
set { this._amortizedRecurringFee = value; }
}
// Check to see if AmortizedRecurringFee property is set
internal bool IsSetAmortizedRecurringFee()
{
return this._amortizedRecurringFee != null;
}
///
/// Gets and sets the property AmortizedUpfrontFee.
///
/// The upfront cost of your reservation. It's amortized over the reservation period.
///
///
public string AmortizedUpfrontFee
{
get { return this._amortizedUpfrontFee; }
set { this._amortizedUpfrontFee = value; }
}
// Check to see if AmortizedUpfrontFee property is set
internal bool IsSetAmortizedUpfrontFee()
{
return this._amortizedUpfrontFee != null;
}
///
/// Gets and sets the property NetRISavings.
///
/// How much you saved due to purchasing and utilizing reservation. Amazon Web Services
/// calculates this by subtracting TotalAmortizedFee
from OnDemandCostOfRIHoursUsed
.
///
///
public string NetRISavings
{
get { return this._netRISavings; }
set { this._netRISavings = value; }
}
// Check to see if NetRISavings property is set
internal bool IsSetNetRISavings()
{
return this._netRISavings != null;
}
///
/// Gets and sets the property OnDemandCostOfRIHoursUsed.
///
/// How much your reservation costs if charged On-Demand rates.
///
///
public string OnDemandCostOfRIHoursUsed
{
get { return this._onDemandCostOfRIHoursUsed; }
set { this._onDemandCostOfRIHoursUsed = value; }
}
// Check to see if OnDemandCostOfRIHoursUsed property is set
internal bool IsSetOnDemandCostOfRIHoursUsed()
{
return this._onDemandCostOfRIHoursUsed != null;
}
///
/// Gets and sets the property PurchasedHours.
///
/// How many reservation hours that you purchased.
///
///
public string PurchasedHours
{
get { return this._purchasedHours; }
set { this._purchasedHours = value; }
}
// Check to see if PurchasedHours property is set
internal bool IsSetPurchasedHours()
{
return this._purchasedHours != null;
}
///
/// Gets and sets the property PurchasedUnits.
///
/// The number of Amazon EC2 reservation hours that you purchased. It's converted to normalized
/// units. Normalized units are available only for Amazon EC2 usage after November 11,
/// 2017.
///
///
public string PurchasedUnits
{
get { return this._purchasedUnits; }
set { this._purchasedUnits = value; }
}
// Check to see if PurchasedUnits property is set
internal bool IsSetPurchasedUnits()
{
return this._purchasedUnits != null;
}
///
/// Gets and sets the property RealizedSavings.
///
/// The realized savings because of purchasing and using a reservation.
///
///
public string RealizedSavings
{
get { return this._realizedSavings; }
set { this._realizedSavings = value; }
}
// Check to see if RealizedSavings property is set
internal bool IsSetRealizedSavings()
{
return this._realizedSavings != null;
}
///
/// Gets and sets the property RICostForUnusedHours.
///
/// The cost of unused hours for your reservation.
///
///
public string RICostForUnusedHours
{
get { return this._riCostForUnusedHours; }
set { this._riCostForUnusedHours = value; }
}
// Check to see if RICostForUnusedHours property is set
internal bool IsSetRICostForUnusedHours()
{
return this._riCostForUnusedHours != null;
}
///
/// Gets and sets the property TotalActualHours.
///
/// The total number of reservation hours that you used.
///
///
public string TotalActualHours
{
get { return this._totalActualHours; }
set { this._totalActualHours = value; }
}
// Check to see if TotalActualHours property is set
internal bool IsSetTotalActualHours()
{
return this._totalActualHours != null;
}
///
/// Gets and sets the property TotalActualUnits.
///
/// The total number of Amazon EC2 reservation hours that you used. It's converted to
/// normalized units. Normalized units are available only for Amazon EC2 usage after November
/// 11, 2017.
///
///
public string TotalActualUnits
{
get { return this._totalActualUnits; }
set { this._totalActualUnits = value; }
}
// Check to see if TotalActualUnits property is set
internal bool IsSetTotalActualUnits()
{
return this._totalActualUnits != null;
}
///
/// Gets and sets the property TotalAmortizedFee.
///
/// The total cost of your reservation. It's amortized over the reservation period.
///
///
public string TotalAmortizedFee
{
get { return this._totalAmortizedFee; }
set { this._totalAmortizedFee = value; }
}
// Check to see if TotalAmortizedFee property is set
internal bool IsSetTotalAmortizedFee()
{
return this._totalAmortizedFee != null;
}
///
/// Gets and sets the property TotalPotentialRISavings.
///
/// How much you might save if you use your entire reservation.
///
///
public string TotalPotentialRISavings
{
get { return this._totalPotentialRISavings; }
set { this._totalPotentialRISavings = value; }
}
// Check to see if TotalPotentialRISavings property is set
internal bool IsSetTotalPotentialRISavings()
{
return this._totalPotentialRISavings != null;
}
///
/// Gets and sets the property UnrealizedSavings.
///
/// The unrealized savings because of purchasing and using a reservation.
///
///
public string UnrealizedSavings
{
get { return this._unrealizedSavings; }
set { this._unrealizedSavings = value; }
}
// Check to see if UnrealizedSavings property is set
internal bool IsSetUnrealizedSavings()
{
return this._unrealizedSavings != null;
}
///
/// Gets and sets the property UnusedHours.
///
/// The number of reservation hours that you didn't use.
///
///
public string UnusedHours
{
get { return this._unusedHours; }
set { this._unusedHours = value; }
}
// Check to see if UnusedHours property is set
internal bool IsSetUnusedHours()
{
return this._unusedHours != null;
}
///
/// Gets and sets the property UnusedUnits.
///
/// The number of Amazon EC2 reservation hours that you didn't use. It's converted to
/// normalized units. Normalized units are available only for Amazon EC2 usage after November
/// 11, 2017.
///
///
public string UnusedUnits
{
get { return this._unusedUnits; }
set { this._unusedUnits = value; }
}
// Check to see if UnusedUnits property is set
internal bool IsSetUnusedUnits()
{
return this._unusedUnits != null;
}
///
/// Gets and sets the property UtilizationPercentage.
///
/// The percentage of reservation time that you used.
///
///
public string UtilizationPercentage
{
get { return this._utilizationPercentage; }
set { this._utilizationPercentage = value; }
}
// Check to see if UtilizationPercentage property is set
internal bool IsSetUtilizationPercentage()
{
return this._utilizationPercentage != null;
}
///
/// Gets and sets the property UtilizationPercentageInUnits.
///
/// The percentage of Amazon EC2 reservation time that you used. It's converted to normalized
/// units. Normalized units are available only for Amazon EC2 usage after November 11,
/// 2017.
///
///
public string UtilizationPercentageInUnits
{
get { return this._utilizationPercentageInUnits; }
set { this._utilizationPercentageInUnits = value; }
}
// Check to see if UtilizationPercentageInUnits property is set
internal bool IsSetUtilizationPercentageInUnits()
{
return this._utilizationPercentageInUnits != null;
}
}
}