1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/storagegateway/StorageGateway_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSVector.h>
9 #include <aws/storagegateway/model/NFSFileShareInfo.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21   class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace StorageGateway
25 {
26 namespace Model
27 {
28   /**
29    * <p>DescribeNFSFileSharesOutput</p><p><h3>See Also:</h3>   <a
30    * href="http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeNFSFileSharesOutput">AWS
31    * API Reference</a></p>
32    */
33   class AWS_STORAGEGATEWAY_API DescribeNFSFileSharesResult
34   {
35   public:
36     DescribeNFSFileSharesResult();
37     DescribeNFSFileSharesResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
38     DescribeNFSFileSharesResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
39 
40 
41     /**
42      * <p>An array containing a description for each requested file share.</p>
43      */
GetNFSFileShareInfoList()44     inline const Aws::Vector<NFSFileShareInfo>& GetNFSFileShareInfoList() const{ return m_nFSFileShareInfoList; }
45 
46     /**
47      * <p>An array containing a description for each requested file share.</p>
48      */
SetNFSFileShareInfoList(const Aws::Vector<NFSFileShareInfo> & value)49     inline void SetNFSFileShareInfoList(const Aws::Vector<NFSFileShareInfo>& value) { m_nFSFileShareInfoList = value; }
50 
51     /**
52      * <p>An array containing a description for each requested file share.</p>
53      */
SetNFSFileShareInfoList(Aws::Vector<NFSFileShareInfo> && value)54     inline void SetNFSFileShareInfoList(Aws::Vector<NFSFileShareInfo>&& value) { m_nFSFileShareInfoList = std::move(value); }
55 
56     /**
57      * <p>An array containing a description for each requested file share.</p>
58      */
WithNFSFileShareInfoList(const Aws::Vector<NFSFileShareInfo> & value)59     inline DescribeNFSFileSharesResult& WithNFSFileShareInfoList(const Aws::Vector<NFSFileShareInfo>& value) { SetNFSFileShareInfoList(value); return *this;}
60 
61     /**
62      * <p>An array containing a description for each requested file share.</p>
63      */
WithNFSFileShareInfoList(Aws::Vector<NFSFileShareInfo> && value)64     inline DescribeNFSFileSharesResult& WithNFSFileShareInfoList(Aws::Vector<NFSFileShareInfo>&& value) { SetNFSFileShareInfoList(std::move(value)); return *this;}
65 
66     /**
67      * <p>An array containing a description for each requested file share.</p>
68      */
AddNFSFileShareInfoList(const NFSFileShareInfo & value)69     inline DescribeNFSFileSharesResult& AddNFSFileShareInfoList(const NFSFileShareInfo& value) { m_nFSFileShareInfoList.push_back(value); return *this; }
70 
71     /**
72      * <p>An array containing a description for each requested file share.</p>
73      */
AddNFSFileShareInfoList(NFSFileShareInfo && value)74     inline DescribeNFSFileSharesResult& AddNFSFileShareInfoList(NFSFileShareInfo&& value) { m_nFSFileShareInfoList.push_back(std::move(value)); return *this; }
75 
76   private:
77 
78     Aws::Vector<NFSFileShareInfo> m_nFSFileShareInfoList;
79   };
80 
81 } // namespace Model
82 } // namespace StorageGateway
83 } // namespace Aws
84