/* * 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 elasticfilesystem-2015-02-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.ElasticFileSystem.Model { /// /// Container for the parameters to the DescribeFileSystems operation. /// Returns the description of a specific Amazon EFS file system if either the file system /// CreationToken or the FileSystemId is provided. Otherwise, /// it returns descriptions of all file systems owned by the caller's Amazon Web Services /// account in the Amazon Web Services Region of the endpoint that you're calling. /// /// /// /// When retrieving all file system descriptions, you can optionally specify the MaxItems /// parameter to limit the number of descriptions in a response. This number is automatically /// set to 100. If more file system descriptions remain, Amazon EFS returns a NextMarker, /// an opaque token, in the response. In this case, you should send a subsequent request /// with the Marker request parameter set to the value of NextMarker. /// /// /// /// /// To retrieve a list of your file system descriptions, this operation is used in an /// iterative process, where DescribeFileSystems is called first without /// the Marker and then the operation continues to call it with the Marker /// parameter set to the value of the NextMarker from the previous response /// until the response has no NextMarker. /// /// /// /// The order of file systems returned in the response of one DescribeFileSystems /// call and the order of file systems returned across the responses of a multi-call iteration /// is unspecified. /// /// /// /// This operation requires permissions for the elasticfilesystem:DescribeFileSystems /// action. /// /// public partial class DescribeFileSystemsRequest : AmazonElasticFileSystemRequest { private string _creationToken; private string _fileSystemId; private string _marker; private int? _maxItems; /// /// Gets and sets the property CreationToken. /// /// (Optional) Restricts the list to the file system with this creation token (String). /// You specify a creation token when you create an Amazon EFS file system. /// /// [AWSProperty(Min=1, Max=64)] public string CreationToken { get { return this._creationToken; } set { this._creationToken = value; } } // Check to see if CreationToken property is set internal bool IsSetCreationToken() { return this._creationToken != null; } /// /// Gets and sets the property FileSystemId. /// /// (Optional) ID of the file system whose description you want to retrieve (String). /// /// [AWSProperty(Max=128)] public string FileSystemId { get { return this._fileSystemId; } set { this._fileSystemId = value; } } // Check to see if FileSystemId property is set internal bool IsSetFileSystemId() { return this._fileSystemId != null; } /// /// Gets and sets the property Marker. /// /// (Optional) Opaque pagination token returned from a previous DescribeFileSystems /// operation (String). If present, specifies to continue the list from where the returning /// call had left off. /// /// [AWSProperty(Min=1, Max=128)] public string Marker { get { return this._marker; } set { this._marker = value; } } // Check to see if Marker property is set internal bool IsSetMarker() { return this._marker != null; } /// /// Gets and sets the property MaxItems. /// /// (Optional) Specifies the maximum number of file systems to return in the response /// (integer). This number is automatically set to 100. The response is paginated at 100 /// per page if you have more than 100 file systems. /// /// [AWSProperty(Min=1)] public int MaxItems { get { return this._maxItems.GetValueOrDefault(); } set { this._maxItems = value; } } // Check to see if MaxItems property is set internal bool IsSetMaxItems() { return this._maxItems.HasValue; } } }