/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace FSx { namespace Model { /** *

The response object for DescribeFileSystems * operation.

See Also:

AWS * API Reference

*/ class AWS_FSX_API DescribeFileSystemsResult { public: DescribeFileSystemsResult(); DescribeFileSystemsResult(const Aws::AmazonWebServiceResult& result); DescribeFileSystemsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of file system descriptions.

*/ inline const Aws::Vector& GetFileSystems() const{ return m_fileSystems; } /** *

An array of file system descriptions.

*/ inline void SetFileSystems(const Aws::Vector& value) { m_fileSystems = value; } /** *

An array of file system descriptions.

*/ inline void SetFileSystems(Aws::Vector&& value) { m_fileSystems = std::move(value); } /** *

An array of file system descriptions.

*/ inline DescribeFileSystemsResult& WithFileSystems(const Aws::Vector& value) { SetFileSystems(value); return *this;} /** *

An array of file system descriptions.

*/ inline DescribeFileSystemsResult& WithFileSystems(Aws::Vector&& value) { SetFileSystems(std::move(value)); return *this;} /** *

An array of file system descriptions.

*/ inline DescribeFileSystemsResult& AddFileSystems(const FileSystem& value) { m_fileSystems.push_back(value); return *this; } /** *

An array of file system descriptions.

*/ inline DescribeFileSystemsResult& AddFileSystems(FileSystem&& value) { m_fileSystems.push_back(std::move(value)); return *this; } /** *

Present if there are more file systems than returned in the response * (String). You can use the NextToken value in the later request to * fetch the descriptions.

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

Present if there are more file systems than returned in the response * (String). You can use the NextToken value in the later request to * fetch the descriptions.

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

Present if there are more file systems than returned in the response * (String). You can use the NextToken value in the later request to * fetch the descriptions.

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

Present if there are more file systems than returned in the response * (String). You can use the NextToken value in the later request to * fetch the descriptions.

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

Present if there are more file systems than returned in the response * (String). You can use the NextToken value in the later request to * fetch the descriptions.

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

Present if there are more file systems than returned in the response * (String). You can use the NextToken value in the later request to * fetch the descriptions.

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

Present if there are more file systems than returned in the response * (String). You can use the NextToken value in the later request to * fetch the descriptions.

*/ inline DescribeFileSystemsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_fileSystems; Aws::String m_nextToken; }; } // namespace Model } // namespace FSx } // namespace Aws