/* * 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 { /// /// This is the response object from the GetCostForecast operation. /// public partial class GetCostForecastResponse : AmazonWebServiceResponse { private List _forecastResultsByTime = new List(); private MetricValue _total; /// /// Gets and sets the property ForecastResultsByTime. /// /// The forecasts for your query, in order. For DAILY forecasts, this is /// a list of days. For MONTHLY forecasts, this is a list of months. /// /// public List ForecastResultsByTime { get { return this._forecastResultsByTime; } set { this._forecastResultsByTime = value; } } // Check to see if ForecastResultsByTime property is set internal bool IsSetForecastResultsByTime() { return this._forecastResultsByTime != null && this._forecastResultsByTime.Count > 0; } /// /// Gets and sets the property Total. /// /// How much you are forecasted to spend over the forecast period, in USD. /// /// public MetricValue Total { get { return this._total; } set { this._total = value; } } // Check to see if Total property is set internal bool IsSetTotal() { return this._total != null; } } }