/* * 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 support-2013-04-15.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.AWSSupport.Model { /// /// Information about an Amazon Web Services service returned by the DescribeServices /// operation. /// public partial class Service { private List _categories = new List(); private string _code; private string _name; /// /// Gets and sets the property Categories. /// /// A list of categories that describe the type of support issue a case describes. Categories /// consist of a category name and a category code. Category names and codes are passed /// to Amazon Web Services Support when you call CreateCase. /// /// public List Categories { get { return this._categories; } set { this._categories = value; } } // Check to see if Categories property is set internal bool IsSetCategories() { return this._categories != null && this._categories.Count > 0; } /// /// Gets and sets the property Code. /// /// The code for an Amazon Web Services service returned by the DescribeServices /// response. The name element contains the corresponding friendly name. /// /// public string Code { get { return this._code; } set { this._code = value; } } // Check to see if Code property is set internal bool IsSetCode() { return this._code != null; } /// /// Gets and sets the property Name. /// /// The friendly name for an Amazon Web Services service. The code element /// contains the corresponding code. /// /// public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } } }