AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeFolderContentsRequest.h
1
6#pragma once
7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/workdocs/WorkDocsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workdocs/model/ResourceSortType.h>
11#include <aws/workdocs/model/OrderType.h>
12#include <aws/workdocs/model/FolderContentType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Http
18{
19 class URI;
20} //namespace Http
21namespace WorkDocs
22{
23namespace 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_WORKDOCS_API Aws::String SerializePayload() const override;
40
41 AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
44
45
47
51 inline const Aws::String& GetAuthenticationToken() const{ return m_authenticationToken; }
52 inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
53 inline void SetAuthenticationToken(const Aws::String& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = value; }
54 inline void SetAuthenticationToken(Aws::String&& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = std::move(value); }
55 inline void SetAuthenticationToken(const char* value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken.assign(value); }
58 inline DescribeFolderContentsRequest& WithAuthenticationToken(const char* value) { SetAuthenticationToken(value); return *this;}
60
62
65 inline const Aws::String& GetFolderId() const{ return m_folderId; }
66 inline bool FolderIdHasBeenSet() const { return m_folderIdHasBeenSet; }
67 inline void SetFolderId(const Aws::String& value) { m_folderIdHasBeenSet = true; m_folderId = value; }
68 inline void SetFolderId(Aws::String&& value) { m_folderIdHasBeenSet = true; m_folderId = std::move(value); }
69 inline void SetFolderId(const char* value) { m_folderIdHasBeenSet = true; m_folderId.assign(value); }
70 inline DescribeFolderContentsRequest& WithFolderId(const Aws::String& value) { SetFolderId(value); return *this;}
71 inline DescribeFolderContentsRequest& WithFolderId(Aws::String&& value) { SetFolderId(std::move(value)); return *this;}
72 inline DescribeFolderContentsRequest& WithFolderId(const char* value) { SetFolderId(value); return *this;}
74
76
79 inline const ResourceSortType& GetSort() const{ return m_sort; }
80 inline bool SortHasBeenSet() const { return m_sortHasBeenSet; }
81 inline void SetSort(const ResourceSortType& value) { m_sortHasBeenSet = true; m_sort = value; }
82 inline void SetSort(ResourceSortType&& value) { m_sortHasBeenSet = true; m_sort = std::move(value); }
83 inline DescribeFolderContentsRequest& WithSort(const ResourceSortType& value) { SetSort(value); return *this;}
84 inline DescribeFolderContentsRequest& WithSort(ResourceSortType&& value) { SetSort(std::move(value)); return *this;}
86
88
91 inline const OrderType& GetOrder() const{ return m_order; }
92 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
93 inline void SetOrder(const OrderType& value) { m_orderHasBeenSet = true; m_order = value; }
94 inline void SetOrder(OrderType&& value) { m_orderHasBeenSet = true; m_order = std::move(value); }
95 inline DescribeFolderContentsRequest& WithOrder(const OrderType& value) { SetOrder(value); return *this;}
96 inline DescribeFolderContentsRequest& WithOrder(OrderType&& value) { SetOrder(std::move(value)); return *this;}
98
100
103 inline int GetLimit() const{ return m_limit; }
104 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
105 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
106 inline DescribeFolderContentsRequest& WithLimit(int value) { SetLimit(value); return *this;}
108
110
114 inline const Aws::String& GetMarker() const{ return m_marker; }
115 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
116 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
117 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
118 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
119 inline DescribeFolderContentsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
120 inline DescribeFolderContentsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
121 inline DescribeFolderContentsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
123
125
128 inline const FolderContentType& GetType() const{ return m_type; }
129 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
130 inline void SetType(const FolderContentType& value) { m_typeHasBeenSet = true; m_type = value; }
131 inline void SetType(FolderContentType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
132 inline DescribeFolderContentsRequest& WithType(const FolderContentType& value) { SetType(value); return *this;}
133 inline DescribeFolderContentsRequest& WithType(FolderContentType&& value) { SetType(std::move(value)); return *this;}
135
137
141 inline const Aws::String& GetInclude() const{ return m_include; }
142 inline bool IncludeHasBeenSet() const { return m_includeHasBeenSet; }
143 inline void SetInclude(const Aws::String& value) { m_includeHasBeenSet = true; m_include = value; }
144 inline void SetInclude(Aws::String&& value) { m_includeHasBeenSet = true; m_include = std::move(value); }
145 inline void SetInclude(const char* value) { m_includeHasBeenSet = true; m_include.assign(value); }
146 inline DescribeFolderContentsRequest& WithInclude(const Aws::String& value) { SetInclude(value); return *this;}
147 inline DescribeFolderContentsRequest& WithInclude(Aws::String&& value) { SetInclude(std::move(value)); return *this;}
148 inline DescribeFolderContentsRequest& WithInclude(const char* value) { SetInclude(value); return *this;}
150 private:
151
152 Aws::String m_authenticationToken;
153 bool m_authenticationTokenHasBeenSet = false;
154
155 Aws::String m_folderId;
156 bool m_folderIdHasBeenSet = false;
157
158 ResourceSortType m_sort;
159 bool m_sortHasBeenSet = false;
160
161 OrderType m_order;
162 bool m_orderHasBeenSet = false;
163
164 int m_limit;
165 bool m_limitHasBeenSet = false;
166
167 Aws::String m_marker;
168 bool m_markerHasBeenSet = false;
169
170 FolderContentType m_type;
171 bool m_typeHasBeenSet = false;
172
173 Aws::String m_include;
174 bool m_includeHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace WorkDocs
179} // namespace Aws
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeFolderContentsRequest & WithType(const FolderContentType &value)
DescribeFolderContentsRequest & WithMarker(Aws::String &&value)
DescribeFolderContentsRequest & WithOrder(OrderType &&value)
DescribeFolderContentsRequest & WithFolderId(const Aws::String &value)
DescribeFolderContentsRequest & WithInclude(Aws::String &&value)
DescribeFolderContentsRequest & WithMarker(const Aws::String &value)
DescribeFolderContentsRequest & WithSort(const ResourceSortType &value)
DescribeFolderContentsRequest & WithType(FolderContentType &&value)
AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeFolderContentsRequest & WithAuthenticationToken(Aws::String &&value)
DescribeFolderContentsRequest & WithAuthenticationToken(const Aws::String &value)
DescribeFolderContentsRequest & WithMarker(const char *value)
DescribeFolderContentsRequest & WithOrder(const OrderType &value)
DescribeFolderContentsRequest & WithInclude(const char *value)
DescribeFolderContentsRequest & WithSort(ResourceSortType &&value)
DescribeFolderContentsRequest & WithInclude(const Aws::String &value)
DescribeFolderContentsRequest & WithFolderId(Aws::String &&value)
DescribeFolderContentsRequest & WithFolderId(const char *value)
DescribeFolderContentsRequest & WithAuthenticationToken(const char *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