/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace EFS { namespace Model { /** *

See Also:

AWS * API Reference

*/ class DescribeFileSystemsRequest : public EFSRequest { public: AWS_EFS_API DescribeFileSystemsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeFileSystems"; } AWS_EFS_API Aws::String SerializePayload() const override; AWS_EFS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

(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.

*/ inline int GetMaxItems() const{ return m_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.

*/ inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; } /** *

(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.

*/ inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; } /** *

(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.

*/ inline DescribeFileSystemsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;} /** *

(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.

*/ inline const Aws::String& GetMarker() const{ return m_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.

*/ inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } /** *

(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.

*/ inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } /** *

(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.

*/ inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); } /** *

(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.

*/ inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); } /** *

(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.

*/ inline DescribeFileSystemsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

(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.

*/ inline DescribeFileSystemsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

(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.

*/ inline DescribeFileSystemsRequest& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

(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.

*/ inline const Aws::String& GetCreationToken() const{ return m_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.

*/ inline bool CreationTokenHasBeenSet() const { return m_creationTokenHasBeenSet; } /** *

(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.

*/ inline void SetCreationToken(const Aws::String& value) { m_creationTokenHasBeenSet = true; m_creationToken = value; } /** *

(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.

*/ inline void SetCreationToken(Aws::String&& value) { m_creationTokenHasBeenSet = true; m_creationToken = std::move(value); } /** *

(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.

*/ inline void SetCreationToken(const char* value) { m_creationTokenHasBeenSet = true; m_creationToken.assign(value); } /** *

(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.

*/ inline DescribeFileSystemsRequest& WithCreationToken(const Aws::String& value) { SetCreationToken(value); return *this;} /** *

(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.

*/ inline DescribeFileSystemsRequest& WithCreationToken(Aws::String&& value) { SetCreationToken(std::move(value)); return *this;} /** *

(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.

*/ inline DescribeFileSystemsRequest& WithCreationToken(const char* value) { SetCreationToken(value); return *this;} /** *

(Optional) ID of the file system whose description you want to retrieve * (String).

*/ inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; } /** *

(Optional) ID of the file system whose description you want to retrieve * (String).

*/ inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; } /** *

(Optional) ID of the file system whose description you want to retrieve * (String).

*/ inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; } /** *

(Optional) ID of the file system whose description you want to retrieve * (String).

*/ inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); } /** *

(Optional) ID of the file system whose description you want to retrieve * (String).

*/ inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); } /** *

(Optional) ID of the file system whose description you want to retrieve * (String).

*/ inline DescribeFileSystemsRequest& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;} /** *

(Optional) ID of the file system whose description you want to retrieve * (String).

*/ inline DescribeFileSystemsRequest& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;} /** *

(Optional) ID of the file system whose description you want to retrieve * (String).

*/ inline DescribeFileSystemsRequest& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;} private: int m_maxItems; bool m_maxItemsHasBeenSet = false; Aws::String m_marker; bool m_markerHasBeenSet = false; Aws::String m_creationToken; bool m_creationTokenHasBeenSet = false; Aws::String m_fileSystemId; bool m_fileSystemIdHasBeenSet = false; }; } // namespace Model } // namespace EFS } // namespace Aws