AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeFileSystemsRequest.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/FSxRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace FSx
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_FSX_API DescribeFileSystemsRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DescribeFileSystems"; }
36
37 AWS_FSX_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::Vector<Aws::String>& GetFileSystemIds() const { return m_fileSystemIds; }
47 inline bool FileSystemIdsHasBeenSet() const { return m_fileSystemIdsHasBeenSet; }
48 template<typename FileSystemIdsT = Aws::Vector<Aws::String>>
49 void SetFileSystemIds(FileSystemIdsT&& value) { m_fileSystemIdsHasBeenSet = true; m_fileSystemIds = std::forward<FileSystemIdsT>(value); }
50 template<typename FileSystemIdsT = Aws::Vector<Aws::String>>
51 DescribeFileSystemsRequest& WithFileSystemIds(FileSystemIdsT&& value) { SetFileSystemIds(std::forward<FileSystemIdsT>(value)); return *this;}
52 template<typename FileSystemIdsT = Aws::String>
53 DescribeFileSystemsRequest& AddFileSystemIds(FileSystemIdsT&& value) { m_fileSystemIdsHasBeenSet = true; m_fileSystemIds.emplace_back(std::forward<FileSystemIdsT>(value)); return *this; }
55
57
63 inline int GetMaxResults() const { return m_maxResults; }
64 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
65 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
66 inline DescribeFileSystemsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
68
70
75 inline const Aws::String& GetNextToken() const { return m_nextToken; }
76 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
77 template<typename NextTokenT = Aws::String>
78 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
79 template<typename NextTokenT = Aws::String>
80 DescribeFileSystemsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
82 private:
83
84 Aws::Vector<Aws::String> m_fileSystemIds;
85 bool m_fileSystemIdsHasBeenSet = false;
86
87 int m_maxResults{0};
88 bool m_maxResultsHasBeenSet = false;
89
90 Aws::String m_nextToken;
91 bool m_nextTokenHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace FSx
96} // 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