/*
* 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
{
///
/// Details about your recommended reservation purchase.
///
public partial class ReservationPurchaseRecommendationDetail
{
private string _accountId;
private string _averageNormalizedUnitsUsedPerHour;
private string _averageNumberOfInstancesUsedPerHour;
private string _averageUtilization;
private string _currencyCode;
private string _estimatedBreakEvenInMonths;
private string _estimatedMonthlyOnDemandCost;
private string _estimatedMonthlySavingsAmount;
private string _estimatedMonthlySavingsPercentage;
private string _estimatedReservationCostForLookbackPeriod;
private InstanceDetails _instanceDetails;
private string _maximumNormalizedUnitsUsedPerHour;
private string _maximumNumberOfInstancesUsedPerHour;
private string _minimumNormalizedUnitsUsedPerHour;
private string _minimumNumberOfInstancesUsedPerHour;
private string _recommendedNormalizedUnitsToPurchase;
private string _recommendedNumberOfInstancesToPurchase;
private string _recurringStandardMonthlyCost;
private string _upfrontCost;
///
/// Gets and sets the property AccountId.
///
/// The account that this Reserved Instance (RI) recommendation is for.
///
///
[AWSProperty(Min=0, Max=1024)]
public string AccountId
{
get { return this._accountId; }
set { this._accountId = value; }
}
// Check to see if AccountId property is set
internal bool IsSetAccountId()
{
return this._accountId != null;
}
///
/// Gets and sets the property AverageNormalizedUnitsUsedPerHour.
///
/// The average number of normalized units that you used in an hour during the historical
/// period. Amazon Web Services uses this to calculate your recommended reservation purchases.
///
///
[AWSProperty(Min=0, Max=1024)]
public string AverageNormalizedUnitsUsedPerHour
{
get { return this._averageNormalizedUnitsUsedPerHour; }
set { this._averageNormalizedUnitsUsedPerHour = value; }
}
// Check to see if AverageNormalizedUnitsUsedPerHour property is set
internal bool IsSetAverageNormalizedUnitsUsedPerHour()
{
return this._averageNormalizedUnitsUsedPerHour != null;
}
///
/// Gets and sets the property AverageNumberOfInstancesUsedPerHour.
///
/// The average number of instances that you used in an hour during the historical period.
/// Amazon Web Services uses this to calculate your recommended reservation purchases.
///
///
[AWSProperty(Min=0, Max=1024)]
public string AverageNumberOfInstancesUsedPerHour
{
get { return this._averageNumberOfInstancesUsedPerHour; }
set { this._averageNumberOfInstancesUsedPerHour = value; }
}
// Check to see if AverageNumberOfInstancesUsedPerHour property is set
internal bool IsSetAverageNumberOfInstancesUsedPerHour()
{
return this._averageNumberOfInstancesUsedPerHour != null;
}
///
/// Gets and sets the property AverageUtilization.
///
/// The average utilization of your instances. Amazon Web Services uses this to calculate
/// your recommended reservation purchases.
///
///
[AWSProperty(Min=0, Max=1024)]
public string AverageUtilization
{
get { return this._averageUtilization; }
set { this._averageUtilization = value; }
}
// Check to see if AverageUtilization property is set
internal bool IsSetAverageUtilization()
{
return this._averageUtilization != null;
}
///
/// Gets and sets the property CurrencyCode.
///
/// The currency code that Amazon Web Services used to calculate the costs for this instance.
///
///
[AWSProperty(Min=0, Max=1024)]
public string CurrencyCode
{
get { return this._currencyCode; }
set { this._currencyCode = value; }
}
// Check to see if CurrencyCode property is set
internal bool IsSetCurrencyCode()
{
return this._currencyCode != null;
}
///
/// Gets and sets the property EstimatedBreakEvenInMonths.
///
/// How long Amazon Web Services estimates that it takes for this instance to start saving
/// you money, in months.
///
///
[AWSProperty(Min=0, Max=1024)]
public string EstimatedBreakEvenInMonths
{
get { return this._estimatedBreakEvenInMonths; }
set { this._estimatedBreakEvenInMonths = value; }
}
// Check to see if EstimatedBreakEvenInMonths property is set
internal bool IsSetEstimatedBreakEvenInMonths()
{
return this._estimatedBreakEvenInMonths != null;
}
///
/// Gets and sets the property EstimatedMonthlyOnDemandCost.
///
/// How much Amazon Web Services estimates that you spend on On-Demand Instances in a
/// month.
///
///
[AWSProperty(Min=0, Max=1024)]
public string EstimatedMonthlyOnDemandCost
{
get { return this._estimatedMonthlyOnDemandCost; }
set { this._estimatedMonthlyOnDemandCost = value; }
}
// Check to see if EstimatedMonthlyOnDemandCost property is set
internal bool IsSetEstimatedMonthlyOnDemandCost()
{
return this._estimatedMonthlyOnDemandCost != null;
}
///
/// Gets and sets the property EstimatedMonthlySavingsAmount.
///
/// How much Amazon Web Services estimates that this specific recommendation might save
/// you in a month.
///
///
[AWSProperty(Min=0, Max=1024)]
public string EstimatedMonthlySavingsAmount
{
get { return this._estimatedMonthlySavingsAmount; }
set { this._estimatedMonthlySavingsAmount = value; }
}
// Check to see if EstimatedMonthlySavingsAmount property is set
internal bool IsSetEstimatedMonthlySavingsAmount()
{
return this._estimatedMonthlySavingsAmount != null;
}
///
/// Gets and sets the property EstimatedMonthlySavingsPercentage.
///
/// How much Amazon Web Services estimates that this specific recommendation might save
/// you in a month, as a percentage of your overall costs.
///
///
[AWSProperty(Min=0, Max=1024)]
public string EstimatedMonthlySavingsPercentage
{
get { return this._estimatedMonthlySavingsPercentage; }
set { this._estimatedMonthlySavingsPercentage = value; }
}
// Check to see if EstimatedMonthlySavingsPercentage property is set
internal bool IsSetEstimatedMonthlySavingsPercentage()
{
return this._estimatedMonthlySavingsPercentage != null;
}
///
/// Gets and sets the property EstimatedReservationCostForLookbackPeriod.
///
/// How much Amazon Web Services estimates that you might spend for all usage during the
/// specified historical period if you had a reservation.
///
///
[AWSProperty(Min=0, Max=1024)]
public string EstimatedReservationCostForLookbackPeriod
{
get { return this._estimatedReservationCostForLookbackPeriod; }
set { this._estimatedReservationCostForLookbackPeriod = value; }
}
// Check to see if EstimatedReservationCostForLookbackPeriod property is set
internal bool IsSetEstimatedReservationCostForLookbackPeriod()
{
return this._estimatedReservationCostForLookbackPeriod != null;
}
///
/// Gets and sets the property InstanceDetails.
///
/// Details about the instances that Amazon Web Services recommends that you purchase.
///
///
public InstanceDetails InstanceDetails
{
get { return this._instanceDetails; }
set { this._instanceDetails = value; }
}
// Check to see if InstanceDetails property is set
internal bool IsSetInstanceDetails()
{
return this._instanceDetails != null;
}
///
/// Gets and sets the property MaximumNormalizedUnitsUsedPerHour.
///
/// The maximum number of normalized units that you used in an hour during the historical
/// period. Amazon Web Services uses this to calculate your recommended reservation purchases.
///
///
[AWSProperty(Min=0, Max=1024)]
public string MaximumNormalizedUnitsUsedPerHour
{
get { return this._maximumNormalizedUnitsUsedPerHour; }
set { this._maximumNormalizedUnitsUsedPerHour = value; }
}
// Check to see if MaximumNormalizedUnitsUsedPerHour property is set
internal bool IsSetMaximumNormalizedUnitsUsedPerHour()
{
return this._maximumNormalizedUnitsUsedPerHour != null;
}
///
/// Gets and sets the property MaximumNumberOfInstancesUsedPerHour.
///
/// The maximum number of instances that you used in an hour during the historical period.
/// Amazon Web Services uses this to calculate your recommended reservation purchases.
///
///
[AWSProperty(Min=0, Max=1024)]
public string MaximumNumberOfInstancesUsedPerHour
{
get { return this._maximumNumberOfInstancesUsedPerHour; }
set { this._maximumNumberOfInstancesUsedPerHour = value; }
}
// Check to see if MaximumNumberOfInstancesUsedPerHour property is set
internal bool IsSetMaximumNumberOfInstancesUsedPerHour()
{
return this._maximumNumberOfInstancesUsedPerHour != null;
}
///
/// Gets and sets the property MinimumNormalizedUnitsUsedPerHour.
///
/// The minimum number of normalized units that you used in an hour during the historical
/// period. Amazon Web Services uses this to calculate your recommended reservation purchases.
///
///
[AWSProperty(Min=0, Max=1024)]
public string MinimumNormalizedUnitsUsedPerHour
{
get { return this._minimumNormalizedUnitsUsedPerHour; }
set { this._minimumNormalizedUnitsUsedPerHour = value; }
}
// Check to see if MinimumNormalizedUnitsUsedPerHour property is set
internal bool IsSetMinimumNormalizedUnitsUsedPerHour()
{
return this._minimumNormalizedUnitsUsedPerHour != null;
}
///
/// Gets and sets the property MinimumNumberOfInstancesUsedPerHour.
///
/// The minimum number of instances that you used in an hour during the historical period.
/// Amazon Web Services uses this to calculate your recommended reservation purchases.
///
///
[AWSProperty(Min=0, Max=1024)]
public string MinimumNumberOfInstancesUsedPerHour
{
get { return this._minimumNumberOfInstancesUsedPerHour; }
set { this._minimumNumberOfInstancesUsedPerHour = value; }
}
// Check to see if MinimumNumberOfInstancesUsedPerHour property is set
internal bool IsSetMinimumNumberOfInstancesUsedPerHour()
{
return this._minimumNumberOfInstancesUsedPerHour != null;
}
///
/// Gets and sets the property RecommendedNormalizedUnitsToPurchase.
///
/// The number of normalized units that Amazon Web Services recommends that you purchase.
///
///
[AWSProperty(Min=0, Max=1024)]
public string RecommendedNormalizedUnitsToPurchase
{
get { return this._recommendedNormalizedUnitsToPurchase; }
set { this._recommendedNormalizedUnitsToPurchase = value; }
}
// Check to see if RecommendedNormalizedUnitsToPurchase property is set
internal bool IsSetRecommendedNormalizedUnitsToPurchase()
{
return this._recommendedNormalizedUnitsToPurchase != null;
}
///
/// Gets and sets the property RecommendedNumberOfInstancesToPurchase.
///
/// The number of instances that Amazon Web Services recommends that you purchase.
///
///
[AWSProperty(Min=0, Max=1024)]
public string RecommendedNumberOfInstancesToPurchase
{
get { return this._recommendedNumberOfInstancesToPurchase; }
set { this._recommendedNumberOfInstancesToPurchase = value; }
}
// Check to see if RecommendedNumberOfInstancesToPurchase property is set
internal bool IsSetRecommendedNumberOfInstancesToPurchase()
{
return this._recommendedNumberOfInstancesToPurchase != null;
}
///
/// Gets and sets the property RecurringStandardMonthlyCost.
///
/// How much purchasing this instance costs you on a monthly basis.
///
///
[AWSProperty(Min=0, Max=1024)]
public string RecurringStandardMonthlyCost
{
get { return this._recurringStandardMonthlyCost; }
set { this._recurringStandardMonthlyCost = value; }
}
// Check to see if RecurringStandardMonthlyCost property is set
internal bool IsSetRecurringStandardMonthlyCost()
{
return this._recurringStandardMonthlyCost != null;
}
///
/// Gets and sets the property UpfrontCost.
///
/// How much purchasing this instance costs you upfront.
///
///
[AWSProperty(Min=0, Max=1024)]
public string UpfrontCost
{
get { return this._upfrontCost; }
set { this._upfrontCost = value; }
}
// Check to see if UpfrontCost property is set
internal bool IsSetUpfrontCost()
{
return this._upfrontCost != null;
}
}
}