/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace EFS { namespace Model { class DescribeFileSystemsResult { public: AWS_EFS_API DescribeFileSystemsResult(); AWS_EFS_API DescribeFileSystemsResult(const Aws::AmazonWebServiceResult& result); AWS_EFS_API DescribeFileSystemsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Present if provided by caller in the request (String).

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

Present if provided by caller in the request (String).

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

Present if provided by caller in the request (String).

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

Present if provided by caller in the request (String).

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

Present if provided by caller in the request (String).

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

Present if provided by caller in the request (String).

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

Present if provided by caller in the request (String).

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

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 FileSystemDescription& value) { m_fileSystems.push_back(value); return *this; } /** *

An array of file system descriptions.

*/ inline DescribeFileSystemsResult& AddFileSystems(FileSystemDescription&& 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 NextMarker in the subsequent request to * fetch the descriptions.

*/ inline const Aws::String& GetNextMarker() const{ return m_nextMarker; } /** *

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

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

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

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

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

*/ inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); } /** *

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

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

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

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

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

*/ inline DescribeFileSystemsResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeFileSystemsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeFileSystemsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeFileSystemsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_marker; Aws::Vector m_fileSystems; Aws::String m_nextMarker; Aws::String m_requestId; }; } // namespace Model } // namespace EFS } // namespace Aws