/** * 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 StorageGateway { namespace Model { /** *

DescribeNFSFileSharesInput

See Also:

AWS * API Reference

*/ class DescribeNFSFileSharesRequest : public StorageGatewayRequest { public: AWS_STORAGEGATEWAY_API DescribeNFSFileSharesRequest(); // 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 "DescribeNFSFileShares"; } AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override; AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

An array containing the Amazon Resource Name (ARN) of each file share to be * described.

*/ inline const Aws::Vector& GetFileShareARNList() const{ return m_fileShareARNList; } /** *

An array containing the Amazon Resource Name (ARN) of each file share to be * described.

*/ inline bool FileShareARNListHasBeenSet() const { return m_fileShareARNListHasBeenSet; } /** *

An array containing the Amazon Resource Name (ARN) of each file share to be * described.

*/ inline void SetFileShareARNList(const Aws::Vector& value) { m_fileShareARNListHasBeenSet = true; m_fileShareARNList = value; } /** *

An array containing the Amazon Resource Name (ARN) of each file share to be * described.

*/ inline void SetFileShareARNList(Aws::Vector&& value) { m_fileShareARNListHasBeenSet = true; m_fileShareARNList = std::move(value); } /** *

An array containing the Amazon Resource Name (ARN) of each file share to be * described.

*/ inline DescribeNFSFileSharesRequest& WithFileShareARNList(const Aws::Vector& value) { SetFileShareARNList(value); return *this;} /** *

An array containing the Amazon Resource Name (ARN) of each file share to be * described.

*/ inline DescribeNFSFileSharesRequest& WithFileShareARNList(Aws::Vector&& value) { SetFileShareARNList(std::move(value)); return *this;} /** *

An array containing the Amazon Resource Name (ARN) of each file share to be * described.

*/ inline DescribeNFSFileSharesRequest& AddFileShareARNList(const Aws::String& value) { m_fileShareARNListHasBeenSet = true; m_fileShareARNList.push_back(value); return *this; } /** *

An array containing the Amazon Resource Name (ARN) of each file share to be * described.

*/ inline DescribeNFSFileSharesRequest& AddFileShareARNList(Aws::String&& value) { m_fileShareARNListHasBeenSet = true; m_fileShareARNList.push_back(std::move(value)); return *this; } /** *

An array containing the Amazon Resource Name (ARN) of each file share to be * described.

*/ inline DescribeNFSFileSharesRequest& AddFileShareARNList(const char* value) { m_fileShareARNListHasBeenSet = true; m_fileShareARNList.push_back(value); return *this; } private: Aws::Vector m_fileShareARNList; bool m_fileShareARNListHasBeenSet = false; }; } // namespace Model } // namespace StorageGateway } // namespace Aws