AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
SearchFoldersRequest.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/quicksight/QuickSightRequest.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/FolderSearchFilter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace QuickSight {
17namespace Model {
18
22 public:
23 AWS_QUICKSIGHT_API SearchFoldersRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "SearchFolders"; }
30
31 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
38 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
39 template <typename AwsAccountIdT = Aws::String>
40 void SetAwsAccountId(AwsAccountIdT&& value) {
41 m_awsAccountIdHasBeenSet = true;
42 m_awsAccountId = std::forward<AwsAccountIdT>(value);
43 }
44 template <typename AwsAccountIdT = Aws::String>
45 SearchFoldersRequest& WithAwsAccountId(AwsAccountIdT&& value) {
46 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
47 return *this;
48 }
50
52
58 inline const Aws::Vector<FolderSearchFilter>& GetFilters() const { return m_filters; }
59 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
60 template <typename FiltersT = Aws::Vector<FolderSearchFilter>>
61 void SetFilters(FiltersT&& value) {
62 m_filtersHasBeenSet = true;
63 m_filters = std::forward<FiltersT>(value);
64 }
65 template <typename FiltersT = Aws::Vector<FolderSearchFilter>>
66 SearchFoldersRequest& WithFilters(FiltersT&& value) {
67 SetFilters(std::forward<FiltersT>(value));
68 return *this;
69 }
70 template <typename FiltersT = FolderSearchFilter>
71 SearchFoldersRequest& AddFilters(FiltersT&& value) {
72 m_filtersHasBeenSet = true;
73 m_filters.emplace_back(std::forward<FiltersT>(value));
74 return *this;
75 }
77
79
83 inline const Aws::String& GetNextToken() const { return m_nextToken; }
84 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
85 template <typename NextTokenT = Aws::String>
86 void SetNextToken(NextTokenT&& value) {
87 m_nextTokenHasBeenSet = true;
88 m_nextToken = std::forward<NextTokenT>(value);
89 }
90 template <typename NextTokenT = Aws::String>
91 SearchFoldersRequest& WithNextToken(NextTokenT&& value) {
92 SetNextToken(std::forward<NextTokenT>(value));
93 return *this;
94 }
96
98
101 inline int GetMaxResults() const { return m_maxResults; }
102 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
103 inline void SetMaxResults(int value) {
104 m_maxResultsHasBeenSet = true;
105 m_maxResults = value;
106 }
108 SetMaxResults(value);
109 return *this;
110 }
112 private:
113 Aws::String m_awsAccountId;
114
116
117 Aws::String m_nextToken;
118
119 int m_maxResults{0};
120 bool m_awsAccountIdHasBeenSet = false;
121 bool m_filtersHasBeenSet = false;
122 bool m_nextTokenHasBeenSet = false;
123 bool m_maxResultsHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace QuickSight
128} // namespace Aws
SearchFoldersRequest & WithFilters(FiltersT &&value)
SearchFoldersRequest & WithMaxResults(int value)
AWS_QUICKSIGHT_API SearchFoldersRequest()=default
const Aws::Vector< FolderSearchFilter > & GetFilters() const
SearchFoldersRequest & WithAwsAccountId(AwsAccountIdT &&value)
SearchFoldersRequest & WithNextToken(NextTokenT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
SearchFoldersRequest & AddFilters(FiltersT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector