/* * 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 resource-groups-2017-11-27.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.ResourceGroups.Model { /// /// This is the response object from the ListGroupResources operation. /// public partial class ListGroupResourcesResponse : AmazonWebServiceResponse { private string _nextToken; private List _queryErrors = new List(); private List _resourceIdentifiers = new List(); private List _resources = new List(); /// /// Gets and sets the property NextToken. /// /// If present, indicates that more output is available than is included in the current /// response. Use this value in the NextToken request parameter in a subsequent /// call to the operation to get the next part of the output. You should repeat this until /// the NextToken response element comes back as null. /// /// [AWSProperty(Min=0, Max=8192)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// /// Gets and sets the property QueryErrors. /// /// A list of QueryError objects. Each error is an object that contains ErrorCode /// and Message structures. Possible values for ErrorCode are /// CLOUDFORMATION_STACK_INACTIVE and CLOUDFORMATION_STACK_NOT_EXISTING. /// /// public List QueryErrors { get { return this._queryErrors; } set { this._queryErrors = value; } } // Check to see if QueryErrors property is set internal bool IsSetQueryErrors() { return this._queryErrors != null && this._queryErrors.Count > 0; } /// /// Gets and sets the property ResourceIdentifiers. /// /// Deprecated - don't use this parameter. Use the Resources response /// field instead. /// /// /// [Obsolete("This field is deprecated, use Resources instead.")] public List ResourceIdentifiers { get { return this._resourceIdentifiers; } set { this._resourceIdentifiers = value; } } // Check to see if ResourceIdentifiers property is set internal bool IsSetResourceIdentifiers() { return this._resourceIdentifiers != null && this._resourceIdentifiers.Count > 0; } /// /// Gets and sets the property Resources. /// /// An array of resources from which you can determine each resource's identity, type, /// and group membership status. /// /// public List Resources { get { return this._resources; } set { this._resources = value; } } // Check to see if Resources property is set internal bool IsSetResources() { return this._resources != null && this._resources.Count > 0; } } }