AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DescribeFolderContentsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/workdocs/WorkDocsRequest.h>
9#include <aws/workdocs/WorkDocs_EXPORTS.h>
10#include <aws/workdocs/model/FolderContentType.h>
11#include <aws/workdocs/model/OrderType.h>
12#include <aws/workdocs/model/ResourceSortType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Http {
18class URI;
19} // namespace Http
20namespace WorkDocs {
21namespace Model {
22
26 public:
27 AWS_WORKDOCS_API DescribeFolderContentsRequest() = 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 "DescribeFolderContents"; }
34
35 AWS_WORKDOCS_API Aws::String SerializePayload() const override;
36
37 AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
38
40
42
46 inline const Aws::String& GetAuthenticationToken() const { return m_authenticationToken; }
47 inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
48 template <typename AuthenticationTokenT = Aws::String>
49 void SetAuthenticationToken(AuthenticationTokenT&& value) {
50 m_authenticationTokenHasBeenSet = true;
51 m_authenticationToken = std::forward<AuthenticationTokenT>(value);
52 }
53 template <typename AuthenticationTokenT = Aws::String>
55 SetAuthenticationToken(std::forward<AuthenticationTokenT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetFolderId() const { return m_folderId; }
65 inline bool FolderIdHasBeenSet() const { return m_folderIdHasBeenSet; }
66 template <typename FolderIdT = Aws::String>
67 void SetFolderId(FolderIdT&& value) {
68 m_folderIdHasBeenSet = true;
69 m_folderId = std::forward<FolderIdT>(value);
70 }
71 template <typename FolderIdT = Aws::String>
73 SetFolderId(std::forward<FolderIdT>(value));
74 return *this;
75 }
77
79
82 inline ResourceSortType GetSort() const { return m_sort; }
83 inline bool SortHasBeenSet() const { return m_sortHasBeenSet; }
84 inline void SetSort(ResourceSortType value) {
85 m_sortHasBeenSet = true;
86 m_sort = value;
87 }
89 SetSort(value);
90 return *this;
91 }
93
95
98 inline OrderType GetOrder() const { return m_order; }
99 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
100 inline void SetOrder(OrderType value) {
101 m_orderHasBeenSet = true;
102 m_order = value;
103 }
105 SetOrder(value);
106 return *this;
107 }
109
111
114 inline int GetLimit() const { return m_limit; }
115 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
116 inline void SetLimit(int value) {
117 m_limitHasBeenSet = true;
118 m_limit = value;
119 }
121 SetLimit(value);
122 return *this;
123 }
125
127
131 inline const Aws::String& GetMarker() const { return m_marker; }
132 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
133 template <typename MarkerT = Aws::String>
134 void SetMarker(MarkerT&& value) {
135 m_markerHasBeenSet = true;
136 m_marker = std::forward<MarkerT>(value);
137 }
138 template <typename MarkerT = Aws::String>
140 SetMarker(std::forward<MarkerT>(value));
141 return *this;
142 }
144
146
149 inline FolderContentType GetType() const { return m_type; }
150 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
151 inline void SetType(FolderContentType value) {
152 m_typeHasBeenSet = true;
153 m_type = value;
154 }
156 SetType(value);
157 return *this;
158 }
160
162
166 inline const Aws::String& GetInclude() const { return m_include; }
167 inline bool IncludeHasBeenSet() const { return m_includeHasBeenSet; }
168 template <typename IncludeT = Aws::String>
169 void SetInclude(IncludeT&& value) {
170 m_includeHasBeenSet = true;
171 m_include = std::forward<IncludeT>(value);
172 }
173 template <typename IncludeT = Aws::String>
175 SetInclude(std::forward<IncludeT>(value));
176 return *this;
177 }
179 private:
180 Aws::String m_authenticationToken;
181
182 Aws::String m_folderId;
183
185
187
188 int m_limit{0};
189
190 Aws::String m_marker;
191
193
194 Aws::String m_include;
195 bool m_authenticationTokenHasBeenSet = false;
196 bool m_folderIdHasBeenSet = false;
197 bool m_sortHasBeenSet = false;
198 bool m_orderHasBeenSet = false;
199 bool m_limitHasBeenSet = false;
200 bool m_markerHasBeenSet = false;
201 bool m_typeHasBeenSet = false;
202 bool m_includeHasBeenSet = false;
203};
204
205} // namespace Model
206} // namespace WorkDocs
207} // namespace Aws
AWS_WORKDOCS_API DescribeFolderContentsRequest()=default
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeFolderContentsRequest & WithOrder(OrderType value)
DescribeFolderContentsRequest & WithAuthenticationToken(AuthenticationTokenT &&value)
AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeFolderContentsRequest & WithInclude(IncludeT &&value)
DescribeFolderContentsRequest & WithFolderId(FolderIdT &&value)
DescribeFolderContentsRequest & WithSort(ResourceSortType value)
DescribeFolderContentsRequest & WithType(FolderContentType value)
DescribeFolderContentsRequest & WithMarker(MarkerT &&value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String