AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeFileSystemsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/fsx/FSxRequest.h>
10#include <aws/fsx/FSx_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace FSx {
16namespace Model {
17
25 public:
26 AWS_FSX_API DescribeFileSystemsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeFileSystems"; }
33
34 AWS_FSX_API Aws::String SerializePayload() const override;
35
37
39
42 inline const Aws::Vector<Aws::String>& GetFileSystemIds() const { return m_fileSystemIds; }
43 inline bool FileSystemIdsHasBeenSet() const { return m_fileSystemIdsHasBeenSet; }
44 template <typename FileSystemIdsT = Aws::Vector<Aws::String>>
45 void SetFileSystemIds(FileSystemIdsT&& value) {
46 m_fileSystemIdsHasBeenSet = true;
47 m_fileSystemIds = std::forward<FileSystemIdsT>(value);
48 }
49 template <typename FileSystemIdsT = Aws::Vector<Aws::String>>
51 SetFileSystemIds(std::forward<FileSystemIdsT>(value));
52 return *this;
53 }
54 template <typename FileSystemIdsT = Aws::String>
56 m_fileSystemIdsHasBeenSet = true;
57 m_fileSystemIds.emplace_back(std::forward<FileSystemIdsT>(value));
58 return *this;
59 }
61
63
69 inline int GetMaxResults() const { return m_maxResults; }
70 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
71 inline void SetMaxResults(int value) {
72 m_maxResultsHasBeenSet = true;
73 m_maxResults = value;
74 }
76 SetMaxResults(value);
77 return *this;
78 }
80
82
87 inline const Aws::String& GetNextToken() const { return m_nextToken; }
88 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
89 template <typename NextTokenT = Aws::String>
90 void SetNextToken(NextTokenT&& value) {
91 m_nextTokenHasBeenSet = true;
92 m_nextToken = std::forward<NextTokenT>(value);
93 }
94 template <typename NextTokenT = Aws::String>
96 SetNextToken(std::forward<NextTokenT>(value));
97 return *this;
98 }
100 private:
101 Aws::Vector<Aws::String> m_fileSystemIds;
102
103 int m_maxResults{0};
104
105 Aws::String m_nextToken;
106 bool m_fileSystemIdsHasBeenSet = false;
107 bool m_maxResultsHasBeenSet = false;
108 bool m_nextTokenHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace FSx
113} // namespace Aws
const Aws::Vector< Aws::String > & GetFileSystemIds() const
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_FSX_API DescribeFileSystemsRequest()=default
DescribeFileSystemsRequest & WithNextToken(NextTokenT &&value)
AWS_FSX_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DescribeFileSystemsRequest & WithMaxResults(int value)
DescribeFileSystemsRequest & WithFileSystemIds(FileSystemIdsT &&value)
DescribeFileSystemsRequest & AddFileSystemIds(FileSystemIdsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector