AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeFileSystemsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticfilesystem/EFSRequest.h>
9#include <aws/elasticfilesystem/EFS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace EFS {
18namespace Model {
19
26 public:
27 AWS_EFS_API DescribeFileSystemsRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DescribeFileSystems"; }
34
35 AWS_EFS_API Aws::String SerializePayload() const override;
36
37 AWS_EFS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
38
40
45 inline int GetMaxItems() const { return m_maxItems; }
46 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
47 inline void SetMaxItems(int value) {
48 m_maxItemsHasBeenSet = true;
49 m_maxItems = value;
50 }
52 SetMaxItems(value);
53 return *this;
54 }
56
58
63 inline const Aws::String& GetMarker() const { return m_marker; }
64 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
65 template <typename MarkerT = Aws::String>
66 void SetMarker(MarkerT&& value) {
67 m_markerHasBeenSet = true;
68 m_marker = std::forward<MarkerT>(value);
69 }
70 template <typename MarkerT = Aws::String>
72 SetMarker(std::forward<MarkerT>(value));
73 return *this;
74 }
76
78
83 inline const Aws::String& GetCreationToken() const { return m_creationToken; }
84 inline bool CreationTokenHasBeenSet() const { return m_creationTokenHasBeenSet; }
85 template <typename CreationTokenT = Aws::String>
86 void SetCreationToken(CreationTokenT&& value) {
87 m_creationTokenHasBeenSet = true;
88 m_creationToken = std::forward<CreationTokenT>(value);
89 }
90 template <typename CreationTokenT = Aws::String>
92 SetCreationToken(std::forward<CreationTokenT>(value));
93 return *this;
94 }
96
98
102 inline const Aws::String& GetFileSystemId() const { return m_fileSystemId; }
103 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
104 template <typename FileSystemIdT = Aws::String>
105 void SetFileSystemId(FileSystemIdT&& value) {
106 m_fileSystemIdHasBeenSet = true;
107 m_fileSystemId = std::forward<FileSystemIdT>(value);
108 }
109 template <typename FileSystemIdT = Aws::String>
111 SetFileSystemId(std::forward<FileSystemIdT>(value));
112 return *this;
113 }
115 private:
116 int m_maxItems{0};
117
118 Aws::String m_marker;
119
120 Aws::String m_creationToken;
121
122 Aws::String m_fileSystemId;
123 bool m_maxItemsHasBeenSet = false;
124 bool m_markerHasBeenSet = false;
125 bool m_creationTokenHasBeenSet = false;
126 bool m_fileSystemIdHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace EFS
131} // namespace Aws
DescribeFileSystemsRequest & WithCreationToken(CreationTokenT &&value)
virtual const char * GetServiceRequestName() const override
AWS_EFS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeFileSystemsRequest & WithMarker(MarkerT &&value)
DescribeFileSystemsRequest & WithMaxItems(int value)
AWS_EFS_API Aws::String SerializePayload() const override
DescribeFileSystemsRequest & WithFileSystemId(FileSystemIdT &&value)
AWS_EFS_API DescribeFileSystemsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String