AWS SDK for C++  1.9.126
AWS SDK for C++
DescribeNFSFileSharesResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 {
34  {
35  public:
39 
40 
44  inline const Aws::Vector<NFSFileShareInfo>& GetNFSFileShareInfoList() const{ return m_nFSFileShareInfoList; }
45 
49  inline void SetNFSFileShareInfoList(const Aws::Vector<NFSFileShareInfo>& value) { m_nFSFileShareInfoList = value; }
50 
54  inline void SetNFSFileShareInfoList(Aws::Vector<NFSFileShareInfo>&& value) { m_nFSFileShareInfoList = std::move(value); }
55 
59  inline DescribeNFSFileSharesResult& WithNFSFileShareInfoList(const Aws::Vector<NFSFileShareInfo>& value) { SetNFSFileShareInfoList(value); return *this;}
60 
64  inline DescribeNFSFileSharesResult& WithNFSFileShareInfoList(Aws::Vector<NFSFileShareInfo>&& value) { SetNFSFileShareInfoList(std::move(value)); return *this;}
65 
69  inline DescribeNFSFileSharesResult& AddNFSFileShareInfoList(const NFSFileShareInfo& value) { m_nFSFileShareInfoList.push_back(value); return *this; }
70 
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
Aws::StorageGateway::Model::DescribeNFSFileSharesResult::DescribeNFSFileSharesResult
DescribeNFSFileSharesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DescribeNFSFileSharesResult::SetNFSFileShareInfoList
void SetNFSFileShareInfoList(const Aws::Vector< NFSFileShareInfo > &value)
Definition: DescribeNFSFileSharesResult.h:49
Aws::StorageGateway::Model::DescribeNFSFileSharesResult::AddNFSFileShareInfoList
DescribeNFSFileSharesResult & AddNFSFileShareInfoList(NFSFileShareInfo &&value)
Definition: DescribeNFSFileSharesResult.h:74
NFSFileShareInfo.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::StorageGateway::Model::DescribeNFSFileSharesResult::operator=
DescribeNFSFileSharesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSVector.h
Aws::StorageGateway::Model::DescribeNFSFileSharesResult::SetNFSFileShareInfoList
void SetNFSFileShareInfoList(Aws::Vector< NFSFileShareInfo > &&value)
Definition: DescribeNFSFileSharesResult.h:54
Aws::StorageGateway::Model::DescribeNFSFileSharesResult::AddNFSFileShareInfoList
DescribeNFSFileSharesResult & AddNFSFileShareInfoList(const NFSFileShareInfo &value)
Definition: DescribeNFSFileSharesResult.h:69
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::NFSFileShareInfo
Definition: NFSFileShareInfo.h:39
Aws::StorageGateway::Model::DescribeNFSFileSharesResult
Definition: DescribeNFSFileSharesResult.h:34
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DescribeNFSFileSharesResult::GetNFSFileShareInfoList
const Aws::Vector< NFSFileShareInfo > & GetNFSFileShareInfoList() const
Definition: DescribeNFSFileSharesResult.h:44
Aws::StorageGateway::Model::DescribeNFSFileSharesResult::WithNFSFileShareInfoList
DescribeNFSFileSharesResult & WithNFSFileShareInfoList(const Aws::Vector< NFSFileShareInfo > &value)
Definition: DescribeNFSFileSharesResult.h:59
Aws::StorageGateway::Model::DescribeNFSFileSharesResult::WithNFSFileShareInfoList
DescribeNFSFileSharesResult & WithNFSFileShareInfoList(Aws::Vector< NFSFileShareInfo > &&value)
Definition: DescribeNFSFileSharesResult.h:64
Aws::StorageGateway::Model::DescribeNFSFileSharesResult::DescribeNFSFileSharesResult
DescribeNFSFileSharesResult()