AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeFolderContentsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Http
18 {
19  class URI;
20 } //namespace Http
21 namespace WorkDocs
22 {
23 namespace Model
24 {
25 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "DescribeFolderContents"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
43  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
44 
45 
50  inline const Aws::String& GetAuthenticationToken() const{ return m_authenticationToken; }
51 
56  inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
57 
62  inline void SetAuthenticationToken(const Aws::String& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = value; }
63 
68  inline void SetAuthenticationToken(Aws::String&& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = std::move(value); }
69 
74  inline void SetAuthenticationToken(const char* value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken.assign(value); }
75 
80  inline DescribeFolderContentsRequest& WithAuthenticationToken(const Aws::String& value) { SetAuthenticationToken(value); return *this;}
81 
86  inline DescribeFolderContentsRequest& WithAuthenticationToken(Aws::String&& value) { SetAuthenticationToken(std::move(value)); return *this;}
87 
92  inline DescribeFolderContentsRequest& WithAuthenticationToken(const char* value) { SetAuthenticationToken(value); return *this;}
93 
94 
98  inline const Aws::String& GetFolderId() const{ return m_folderId; }
99 
103  inline bool FolderIdHasBeenSet() const { return m_folderIdHasBeenSet; }
104 
108  inline void SetFolderId(const Aws::String& value) { m_folderIdHasBeenSet = true; m_folderId = value; }
109 
113  inline void SetFolderId(Aws::String&& value) { m_folderIdHasBeenSet = true; m_folderId = std::move(value); }
114 
118  inline void SetFolderId(const char* value) { m_folderIdHasBeenSet = true; m_folderId.assign(value); }
119 
123  inline DescribeFolderContentsRequest& WithFolderId(const Aws::String& value) { SetFolderId(value); return *this;}
124 
128  inline DescribeFolderContentsRequest& WithFolderId(Aws::String&& value) { SetFolderId(std::move(value)); return *this;}
129 
133  inline DescribeFolderContentsRequest& WithFolderId(const char* value) { SetFolderId(value); return *this;}
134 
135 
139  inline const ResourceSortType& GetSort() const{ return m_sort; }
140 
144  inline bool SortHasBeenSet() const { return m_sortHasBeenSet; }
145 
149  inline void SetSort(const ResourceSortType& value) { m_sortHasBeenSet = true; m_sort = value; }
150 
154  inline void SetSort(ResourceSortType&& value) { m_sortHasBeenSet = true; m_sort = std::move(value); }
155 
159  inline DescribeFolderContentsRequest& WithSort(const ResourceSortType& value) { SetSort(value); return *this;}
160 
164  inline DescribeFolderContentsRequest& WithSort(ResourceSortType&& value) { SetSort(std::move(value)); return *this;}
165 
166 
170  inline const OrderType& GetOrder() const{ return m_order; }
171 
175  inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
176 
180  inline void SetOrder(const OrderType& value) { m_orderHasBeenSet = true; m_order = value; }
181 
185  inline void SetOrder(OrderType&& value) { m_orderHasBeenSet = true; m_order = std::move(value); }
186 
190  inline DescribeFolderContentsRequest& WithOrder(const OrderType& value) { SetOrder(value); return *this;}
191 
195  inline DescribeFolderContentsRequest& WithOrder(OrderType&& value) { SetOrder(std::move(value)); return *this;}
196 
197 
201  inline int GetLimit() const{ return m_limit; }
202 
206  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
207 
211  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
212 
216  inline DescribeFolderContentsRequest& WithLimit(int value) { SetLimit(value); return *this;}
217 
218 
223  inline const Aws::String& GetMarker() const{ return m_marker; }
224 
229  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
230 
235  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
236 
241  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
242 
247  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
248 
253  inline DescribeFolderContentsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
254 
259  inline DescribeFolderContentsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
260 
265  inline DescribeFolderContentsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
266 
267 
271  inline const FolderContentType& GetType() const{ return m_type; }
272 
276  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
277 
281  inline void SetType(const FolderContentType& value) { m_typeHasBeenSet = true; m_type = value; }
282 
286  inline void SetType(FolderContentType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
287 
291  inline DescribeFolderContentsRequest& WithType(const FolderContentType& value) { SetType(value); return *this;}
292 
296  inline DescribeFolderContentsRequest& WithType(FolderContentType&& value) { SetType(std::move(value)); return *this;}
297 
298 
303  inline const Aws::String& GetInclude() const{ return m_include; }
304 
309  inline bool IncludeHasBeenSet() const { return m_includeHasBeenSet; }
310 
315  inline void SetInclude(const Aws::String& value) { m_includeHasBeenSet = true; m_include = value; }
316 
321  inline void SetInclude(Aws::String&& value) { m_includeHasBeenSet = true; m_include = std::move(value); }
322 
327  inline void SetInclude(const char* value) { m_includeHasBeenSet = true; m_include.assign(value); }
328 
333  inline DescribeFolderContentsRequest& WithInclude(const Aws::String& value) { SetInclude(value); return *this;}
334 
339  inline DescribeFolderContentsRequest& WithInclude(Aws::String&& value) { SetInclude(std::move(value)); return *this;}
340 
345  inline DescribeFolderContentsRequest& WithInclude(const char* value) { SetInclude(value); return *this;}
346 
347  private:
348 
349  Aws::String m_authenticationToken;
350  bool m_authenticationTokenHasBeenSet;
351 
352  Aws::String m_folderId;
353  bool m_folderIdHasBeenSet;
354 
355  ResourceSortType m_sort;
356  bool m_sortHasBeenSet;
357 
358  OrderType m_order;
359  bool m_orderHasBeenSet;
360 
361  int m_limit;
362  bool m_limitHasBeenSet;
363 
364  Aws::String m_marker;
365  bool m_markerHasBeenSet;
366 
367  FolderContentType m_type;
368  bool m_typeHasBeenSet;
369 
370  Aws::String m_include;
371  bool m_includeHasBeenSet;
372  };
373 
374 } // namespace Model
375 } // namespace WorkDocs
376 } // namespace Aws
DescribeFolderContentsRequest & WithFolderId(Aws::String &&value)
DescribeFolderContentsRequest & WithFolderId(const Aws::String &value)
DescribeFolderContentsRequest & WithInclude(const Aws::String &value)
DescribeFolderContentsRequest & WithType(const FolderContentType &value)
DescribeFolderContentsRequest & WithFolderId(const char *value)
DescribeFolderContentsRequest & WithAuthenticationToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
#define AWS_WORKDOCS_API
DescribeFolderContentsRequest & WithType(FolderContentType &&value)
DescribeFolderContentsRequest & WithMarker(const Aws::String &value)
DescribeFolderContentsRequest & WithOrder(OrderType &&value)
DescribeFolderContentsRequest & WithOrder(const OrderType &value)
DescribeFolderContentsRequest & WithMarker(const char *value)
DescribeFolderContentsRequest & WithSort(ResourceSortType &&value)
DescribeFolderContentsRequest & WithAuthenticationToken(const Aws::String &value)
DescribeFolderContentsRequest & WithMarker(Aws::String &&value)
DescribeFolderContentsRequest & WithAuthenticationToken(const char *value)
DescribeFolderContentsRequest & WithInclude(const char *value)
DescribeFolderContentsRequest & WithSort(const ResourceSortType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeFolderContentsRequest & WithInclude(Aws::String &&value)