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

The request object for DescribeFileSystems * operation.

See Also:

AWS * API Reference

*/ class DescribeFileSystemsRequest : public FSxRequest { public: AWS_FSX_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_FSX_API Aws::String SerializePayload() const override; AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

IDs of the file systems whose descriptions you want to retrieve (String).

*/ inline const Aws::Vector& GetFileSystemIds() const{ return m_fileSystemIds; } /** *

IDs of the file systems whose descriptions you want to retrieve (String).

*/ inline bool FileSystemIdsHasBeenSet() const { return m_fileSystemIdsHasBeenSet; } /** *

IDs of the file systems whose descriptions you want to retrieve (String).

*/ inline void SetFileSystemIds(const Aws::Vector& value) { m_fileSystemIdsHasBeenSet = true; m_fileSystemIds = value; } /** *

IDs of the file systems whose descriptions you want to retrieve (String).

*/ inline void SetFileSystemIds(Aws::Vector&& value) { m_fileSystemIdsHasBeenSet = true; m_fileSystemIds = std::move(value); } /** *

IDs of the file systems whose descriptions you want to retrieve (String).

*/ inline DescribeFileSystemsRequest& WithFileSystemIds(const Aws::Vector& value) { SetFileSystemIds(value); return *this;} /** *

IDs of the file systems whose descriptions you want to retrieve (String).

*/ inline DescribeFileSystemsRequest& WithFileSystemIds(Aws::Vector&& value) { SetFileSystemIds(std::move(value)); return *this;} /** *

IDs of the file systems whose descriptions you want to retrieve (String).

*/ inline DescribeFileSystemsRequest& AddFileSystemIds(const Aws::String& value) { m_fileSystemIdsHasBeenSet = true; m_fileSystemIds.push_back(value); return *this; } /** *

IDs of the file systems whose descriptions you want to retrieve (String).

*/ inline DescribeFileSystemsRequest& AddFileSystemIds(Aws::String&& value) { m_fileSystemIdsHasBeenSet = true; m_fileSystemIds.push_back(std::move(value)); return *this; } /** *

IDs of the file systems whose descriptions you want to retrieve (String).

*/ inline DescribeFileSystemsRequest& AddFileSystemIds(const char* value) { m_fileSystemIdsHasBeenSet = true; m_fileSystemIds.push_back(value); return *this; } /** *

Maximum number of file systems to return in the response (integer). This * parameter value must be greater than 0. The number of items that Amazon FSx * returns is the minimum of the MaxResults parameter specified in the * request and the service's internal maximum number of items per page.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

Maximum number of file systems to return in the response (integer). This * parameter value must be greater than 0. The number of items that Amazon FSx * returns is the minimum of the MaxResults parameter specified in the * request and the service's internal maximum number of items per page.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

Maximum number of file systems to return in the response (integer). This * parameter value must be greater than 0. The number of items that Amazon FSx * returns is the minimum of the MaxResults parameter specified in the * request and the service's internal maximum number of items per page.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

Maximum number of file systems to return in the response (integer). This * parameter value must be greater than 0. The number of items that Amazon FSx * returns is the minimum of the MaxResults parameter specified in the * request and the service's internal maximum number of items per page.

*/ inline DescribeFileSystemsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

Opaque pagination token returned from a previous * DescribeFileSystems operation (String). If a token present, the * operation continues the list from where the returning call left off.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

Opaque pagination token returned from a previous * DescribeFileSystems operation (String). If a token present, the * operation continues the list from where the returning call left off.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

Opaque pagination token returned from a previous * DescribeFileSystems operation (String). If a token present, the * operation continues the list from where the returning call left off.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

Opaque pagination token returned from a previous * DescribeFileSystems operation (String). If a token present, the * operation continues the list from where the returning call left off.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

Opaque pagination token returned from a previous * DescribeFileSystems operation (String). If a token present, the * operation continues the list from where the returning call left off.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

Opaque pagination token returned from a previous * DescribeFileSystems operation (String). If a token present, the * operation continues the list from where the returning call left off.

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

Opaque pagination token returned from a previous * DescribeFileSystems operation (String). If a token present, the * operation continues the list from where the returning call left off.

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

Opaque pagination token returned from a previous * DescribeFileSystems operation (String). If a token present, the * operation continues the list from where the returning call left off.

*/ inline DescribeFileSystemsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_fileSystemIds; bool m_fileSystemIdsHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace FSx } // namespace Aws