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/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:
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 inline void SetFileSystemIds(const Aws::Vector<Aws::String>& value) { m_fileSystemIdsHasBeenSet = true; m_fileSystemIds = value; }
49 inline void SetFileSystemIds(Aws::Vector<Aws::String>&& value) { m_fileSystemIdsHasBeenSet = true; m_fileSystemIds = std::move(value); }
52 inline DescribeFileSystemsRequest& AddFileSystemIds(const Aws::String& value) { m_fileSystemIdsHasBeenSet = true; m_fileSystemIds.push_back(value); return *this; }
53 inline DescribeFileSystemsRequest& AddFileSystemIds(Aws::String&& value) { m_fileSystemIdsHasBeenSet = true; m_fileSystemIds.push_back(std::move(value)); return *this; }
54 inline DescribeFileSystemsRequest& AddFileSystemIds(const char* value) { m_fileSystemIdsHasBeenSet = true; m_fileSystemIds.push_back(value); return *this; }
56
58
64 inline int GetMaxResults() const{ return m_maxResults; }
65 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
66 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
67 inline DescribeFileSystemsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
69
71
76 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
78 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
79 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
80 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
81 inline DescribeFileSystemsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
82 inline DescribeFileSystemsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
83 inline DescribeFileSystemsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
85 private:
86
87 Aws::Vector<Aws::String> m_fileSystemIds;
88 bool m_fileSystemIdsHasBeenSet = false;
89
90 int m_maxResults;
91 bool m_maxResultsHasBeenSet = false;
92
93 Aws::String m_nextToken;
94 bool m_nextTokenHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace FSx
99} // namespace Aws
const Aws::Vector< Aws::String > & GetFileSystemIds() const
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetFileSystemIds(Aws::Vector< Aws::String > &&value)
DescribeFileSystemsRequest & WithNextToken(Aws::String &&value)
DescribeFileSystemsRequest & AddFileSystemIds(const char *value)
DescribeFileSystemsRequest & WithFileSystemIds(Aws::Vector< Aws::String > &&value)
DescribeFileSystemsRequest & WithNextToken(const char *value)
AWS_FSX_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DescribeFileSystemsRequest & AddFileSystemIds(Aws::String &&value)
DescribeFileSystemsRequest & WithMaxResults(int value)
DescribeFileSystemsRequest & AddFileSystemIds(const Aws::String &value)
DescribeFileSystemsRequest & WithFileSystemIds(const Aws::Vector< Aws::String > &value)
void SetFileSystemIds(const Aws::Vector< Aws::String > &value)
DescribeFileSystemsRequest & WithNextToken(const Aws::String &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