/* * 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 GetCostAndUsage operation. /// public partial class GetCostAndUsageResponse : AmazonWebServiceResponse { private List _dimensionValueAttributes = new List(); private List _groupDefinitions = new List(); private string _nextPageToken; private List _resultsByTime = new List(); /// /// Gets and sets the property DimensionValueAttributes. /// /// The attributes that apply to a specific dimension value. For example, if the value /// is a linked account, the attribute is that account name. /// /// public List DimensionValueAttributes { get { return this._dimensionValueAttributes; } set { this._dimensionValueAttributes = value; } } // Check to see if DimensionValueAttributes property is set internal bool IsSetDimensionValueAttributes() { return this._dimensionValueAttributes != null && this._dimensionValueAttributes.Count > 0; } /// /// Gets and sets the property GroupDefinitions. /// /// The groups that are specified by the Filter or GroupBy parameters /// in the request. /// /// public List GroupDefinitions { get { return this._groupDefinitions; } set { this._groupDefinitions = value; } } // Check to see if GroupDefinitions property is set internal bool IsSetGroupDefinitions() { return this._groupDefinitions != null && this._groupDefinitions.Count > 0; } /// /// Gets and sets the property NextPageToken. /// /// The token for the next set of retrievable results. Amazon Web Services provides the /// token when the response from a previous call has more results than the maximum page /// size. /// /// [AWSProperty(Min=0, Max=8192)] public string NextPageToken { get { return this._nextPageToken; } set { this._nextPageToken = value; } } // Check to see if NextPageToken property is set internal bool IsSetNextPageToken() { return this._nextPageToken != null; } /// /// Gets and sets the property ResultsByTime. /// /// The time period that's covered by the results in the response. /// /// public List ResultsByTime { get { return this._resultsByTime; } set { this._resultsByTime = value; } } // Check to see if ResultsByTime property is set internal bool IsSetResultsByTime() { return this._resultsByTime != null && this._resultsByTime.Count > 0; } } }