/* * 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 cloudcontrol-2021-09-30.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.CloudControlApi.Model { /// /// Container for the parameters to the ListResourceRequests operation. /// Returns existing resource operation requests. This includes requests of all status /// types. For more information, see Listing /// active resource operation requests in the Amazon Web Services Cloud Control /// API User Guide. /// /// /// /// Resource operation requests expire after 7 days. /// /// /// public partial class ListResourceRequestsRequest : AmazonCloudControlApiRequest { private int? _maxResults; private string _nextToken; private ResourceRequestStatusFilter _resourceRequestStatusFilter; /// /// Gets and sets the property MaxResults. /// /// The maximum number of results to be returned with a single call. If the number of /// available results exceeds this maximum, the response includes a NextToken /// value that you can assign to the NextToken request parameter to get the /// next set of results. /// /// /// /// The default is 20. /// /// [AWSProperty(Min=1, Max=100)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// /// Gets and sets the property NextToken. /// /// If the previous paginated request didn't return all of the remaining results, the /// response object's NextToken parameter value is set to a token. To retrieve /// the next set of results, call this action again and assign that token to the request /// object's NextToken parameter. If there are no remaining results, the /// previous response object's NextToken parameter is set to null. /// /// [AWSProperty(Min=1, Max=2048)] 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 ResourceRequestStatusFilter. /// /// The filter criteria to apply to the requests returned. /// /// public ResourceRequestStatusFilter ResourceRequestStatusFilter { get { return this._resourceRequestStatusFilter; } set { this._resourceRequestStatusFilter = value; } } // Check to see if ResourceRequestStatusFilter property is set internal bool IsSetResourceRequestStatusFilter() { return this._resourceRequestStatusFilter != null; } } }