AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeNFSFileSharesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace StorageGateway
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeNFSFileShares"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39 
40 
45  inline const Aws::Vector<Aws::String>& GetFileShareARNList() const{ return m_fileShareARNList; }
46 
51  inline bool FileShareARNListHasBeenSet() const { return m_fileShareARNListHasBeenSet; }
52 
57  inline void SetFileShareARNList(const Aws::Vector<Aws::String>& value) { m_fileShareARNListHasBeenSet = true; m_fileShareARNList = value; }
58 
63  inline void SetFileShareARNList(Aws::Vector<Aws::String>&& value) { m_fileShareARNListHasBeenSet = true; m_fileShareARNList = std::move(value); }
64 
69  inline DescribeNFSFileSharesRequest& WithFileShareARNList(const Aws::Vector<Aws::String>& value) { SetFileShareARNList(value); return *this;}
70 
75  inline DescribeNFSFileSharesRequest& WithFileShareARNList(Aws::Vector<Aws::String>&& value) { SetFileShareARNList(std::move(value)); return *this;}
76 
81  inline DescribeNFSFileSharesRequest& AddFileShareARNList(const Aws::String& value) { m_fileShareARNListHasBeenSet = true; m_fileShareARNList.push_back(value); return *this; }
82 
87  inline DescribeNFSFileSharesRequest& AddFileShareARNList(Aws::String&& value) { m_fileShareARNListHasBeenSet = true; m_fileShareARNList.push_back(std::move(value)); return *this; }
88 
93  inline DescribeNFSFileSharesRequest& AddFileShareARNList(const char* value) { m_fileShareARNListHasBeenSet = true; m_fileShareARNList.push_back(value); return *this; }
94 
95  private:
96 
97  Aws::Vector<Aws::String> m_fileShareARNList;
98  bool m_fileShareARNListHasBeenSet;
99  };
100 
101 } // namespace Model
102 } // namespace StorageGateway
103 } // namespace Aws
DescribeNFSFileSharesRequest & WithFileShareARNList(const Aws::Vector< Aws::String > &value)
DescribeNFSFileSharesRequest & WithFileShareARNList(Aws::Vector< Aws::String > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
const Aws::Vector< Aws::String > & GetFileShareARNList() const
DescribeNFSFileSharesRequest & AddFileShareARNList(Aws::String &&value)
void SetFileShareARNList(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeNFSFileSharesRequest & AddFileShareARNList(const Aws::String &value)
#define AWS_STORAGEGATEWAY_API
DescribeNFSFileSharesRequest & AddFileShareARNList(const char *value)