AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeFileSystemsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace EFS
19 {
20 namespace Model
21 {
22 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "DescribeFileSystems"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
43 
49  inline int GetMaxItems() const{ return m_maxItems; }
50 
56  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
57 
63  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
64 
70  inline DescribeFileSystemsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
71 
72 
78  inline const Aws::String& GetMarker() const{ return m_marker; }
79 
85  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
86 
92  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
93 
99  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
100 
106  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
107 
113  inline DescribeFileSystemsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
114 
120  inline DescribeFileSystemsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
121 
127  inline DescribeFileSystemsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
128 
129 
135  inline const Aws::String& GetCreationToken() const{ return m_creationToken; }
136 
142  inline bool CreationTokenHasBeenSet() const { return m_creationTokenHasBeenSet; }
143 
149  inline void SetCreationToken(const Aws::String& value) { m_creationTokenHasBeenSet = true; m_creationToken = value; }
150 
156  inline void SetCreationToken(Aws::String&& value) { m_creationTokenHasBeenSet = true; m_creationToken = std::move(value); }
157 
163  inline void SetCreationToken(const char* value) { m_creationTokenHasBeenSet = true; m_creationToken.assign(value); }
164 
170  inline DescribeFileSystemsRequest& WithCreationToken(const Aws::String& value) { SetCreationToken(value); return *this;}
171 
177  inline DescribeFileSystemsRequest& WithCreationToken(Aws::String&& value) { SetCreationToken(std::move(value)); return *this;}
178 
184  inline DescribeFileSystemsRequest& WithCreationToken(const char* value) { SetCreationToken(value); return *this;}
185 
186 
191  inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
192 
197  inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
198 
203  inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
204 
209  inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
210 
215  inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
216 
221  inline DescribeFileSystemsRequest& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
222 
227  inline DescribeFileSystemsRequest& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
228 
233  inline DescribeFileSystemsRequest& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
234 
235  private:
236 
237  int m_maxItems;
238  bool m_maxItemsHasBeenSet;
239 
240  Aws::String m_marker;
241  bool m_markerHasBeenSet;
242 
243  Aws::String m_creationToken;
244  bool m_creationTokenHasBeenSet;
245 
246  Aws::String m_fileSystemId;
247  bool m_fileSystemIdHasBeenSet;
248  };
249 
250 } // namespace Model
251 } // namespace EFS
252 } // namespace Aws
DescribeFileSystemsRequest & WithMarker(const Aws::String &value)
#define AWS_EFS_API
Definition: EFS_EXPORTS.h:28
DescribeFileSystemsRequest & WithCreationToken(const char *value)
DescribeFileSystemsRequest & WithFileSystemId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DescribeFileSystemsRequest & WithMaxItems(int value)
DescribeFileSystemsRequest & WithMarker(const char *value)
DescribeFileSystemsRequest & WithCreationToken(Aws::String &&value)
DescribeFileSystemsRequest & WithCreationToken(const Aws::String &value)
DescribeFileSystemsRequest & WithMarker(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeFileSystemsRequest & WithFileSystemId(const char *value)
DescribeFileSystemsRequest & WithFileSystemId(const Aws::String &value)