AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeFileSystemsRequest.h
1
6#pragma once
7#include <aws/elasticfilesystem/EFS_EXPORTS.h>
8#include <aws/elasticfilesystem/EFSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace EFS
19{
20namespace 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_EFS_API Aws::String SerializePayload() const override;
40
41 AWS_EFS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
50 inline int GetMaxItems() const{ return m_maxItems; }
51 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
52 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
53 inline DescribeFileSystemsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
55
57
62 inline const Aws::String& GetMarker() const{ return m_marker; }
63 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
64 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
65 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
66 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
67 inline DescribeFileSystemsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
68 inline DescribeFileSystemsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
69 inline DescribeFileSystemsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
71
73
78 inline const Aws::String& GetCreationToken() const{ return m_creationToken; }
79 inline bool CreationTokenHasBeenSet() const { return m_creationTokenHasBeenSet; }
80 inline void SetCreationToken(const Aws::String& value) { m_creationTokenHasBeenSet = true; m_creationToken = value; }
81 inline void SetCreationToken(Aws::String&& value) { m_creationTokenHasBeenSet = true; m_creationToken = std::move(value); }
82 inline void SetCreationToken(const char* value) { m_creationTokenHasBeenSet = true; m_creationToken.assign(value); }
83 inline DescribeFileSystemsRequest& WithCreationToken(const Aws::String& value) { SetCreationToken(value); return *this;}
84 inline DescribeFileSystemsRequest& WithCreationToken(Aws::String&& value) { SetCreationToken(std::move(value)); return *this;}
85 inline DescribeFileSystemsRequest& WithCreationToken(const char* value) { SetCreationToken(value); return *this;}
87
89
93 inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
94 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
95 inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
96 inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
97 inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
98 inline DescribeFileSystemsRequest& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
99 inline DescribeFileSystemsRequest& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
100 inline DescribeFileSystemsRequest& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
102 private:
103
104 int m_maxItems;
105 bool m_maxItemsHasBeenSet = false;
106
107 Aws::String m_marker;
108 bool m_markerHasBeenSet = false;
109
110 Aws::String m_creationToken;
111 bool m_creationTokenHasBeenSet = false;
112
113 Aws::String m_fileSystemId;
114 bool m_fileSystemIdHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace EFS
119} // namespace Aws
DescribeFileSystemsRequest & WithFileSystemId(const char *value)
DescribeFileSystemsRequest & WithFileSystemId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_EFS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeFileSystemsRequest & WithMaxItems(int value)
DescribeFileSystemsRequest & WithMarker(const Aws::String &value)
DescribeFileSystemsRequest & WithMarker(Aws::String &&value)
AWS_EFS_API Aws::String SerializePayload() const override
DescribeFileSystemsRequest & WithCreationToken(const char *value)
DescribeFileSystemsRequest & WithMarker(const char *value)
DescribeFileSystemsRequest & WithFileSystemId(const Aws::String &value)
DescribeFileSystemsRequest & WithCreationToken(const Aws::String &value)
DescribeFileSystemsRequest & WithCreationToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String