/* * 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 GetCostCategories operation. /// public partial class GetCostCategoriesResponse : AmazonWebServiceResponse { private List _costCategoryNames = new List(); private List _costCategoryValues = new List(); private string _nextPageToken; private int? _returnSize; private int? _totalSize; /// /// Gets and sets the property CostCategoryNames. /// /// The names of the Cost Categories. /// /// public List CostCategoryNames { get { return this._costCategoryNames; } set { this._costCategoryNames = value; } } // Check to see if CostCategoryNames property is set internal bool IsSetCostCategoryNames() { return this._costCategoryNames != null && this._costCategoryNames.Count > 0; } /// /// Gets and sets the property CostCategoryValues. /// /// The Cost Category values. /// /// /// /// If the CostCategoryName key isn't specified in the request, the CostCategoryValues /// fields aren't returned. /// /// public List CostCategoryValues { get { return this._costCategoryValues; } set { this._costCategoryValues = value; } } // Check to see if CostCategoryValues property is set internal bool IsSetCostCategoryValues() { return this._costCategoryValues != null && this._costCategoryValues.Count > 0; } /// /// Gets and sets the property NextPageToken. /// /// If the number of objects that are still available for retrieval exceeds the quota, /// Amazon Web Services returns a NextPageToken value in the response. To retrieve the /// next batch of objects, provide the marker from the prior call in your next request. /// /// [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 ReturnSize. /// /// The number of objects that are returned. /// /// [AWSProperty(Required=true)] public int ReturnSize { get { return this._returnSize.GetValueOrDefault(); } set { this._returnSize = value; } } // Check to see if ReturnSize property is set internal bool IsSetReturnSize() { return this._returnSize.HasValue; } /// /// Gets and sets the property TotalSize. /// /// The total number of objects. /// /// [AWSProperty(Required=true)] public int TotalSize { get { return this._totalSize.GetValueOrDefault(); } set { this._totalSize = value; } } // Check to see if TotalSize property is set internal bool IsSetTotalSize() { return this._totalSize.HasValue; } } }