/* * 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 mediastore-data-2017-09-01.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.MediaStoreData.Model { /// /// Container for the parameters to the ListItems operation. /// Provides a list of metadata entries about folders and objects in the specified folder. /// public partial class ListItemsRequest : AmazonMediaStoreDataRequest { private int? _maxResults; private string _nextToken; private string _path; /// /// Gets and sets the property MaxResults. /// /// The maximum number of results to return per API request. For example, you submit a /// ListItems request with MaxResults set at 500. Although 2,000 /// items match your request, the service returns no more than the first 500 items. (The /// service also returns a NextToken value that you can use to fetch the /// next batch of results.) The service might return fewer results than the MaxResults /// value. /// /// /// /// If MaxResults is not included in the request, the service defaults to /// pagination with a maximum of 1,000 results per page. /// /// [AWSProperty(Min=1, Max=1000)] 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. /// /// The token that identifies which batch of results that you want to see. For example, /// you submit a ListItems request with MaxResults set at 500. /// The service returns the first batch of results (up to 500) and a NextToken /// value. To see the next batch of results, you can submit the ListItems /// request a second time and specify the NextToken value. /// /// /// /// Tokens expire after 15 minutes. /// /// 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 Path. /// /// The path in the container from which to retrieve items. Format: <folder name>/<folder /// name>/<file name> /// /// [AWSProperty(Min=0, Max=900)] public string Path { get { return this._path; } set { this._path = value; } } // Check to see if Path property is set internal bool IsSetPath() { return this._path != null; } } }