AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DescribeRootFoldersRequest.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
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace WorkDocs {
18namespace Model {
19
23 public:
24 AWS_WORKDOCS_API DescribeRootFoldersRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeRootFolders"; }
31
32 AWS_WORKDOCS_API Aws::String SerializePayload() const override;
33
34 AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
39
42 inline const Aws::String& GetAuthenticationToken() const { return m_authenticationToken; }
43 inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
44 template <typename AuthenticationTokenT = Aws::String>
45 void SetAuthenticationToken(AuthenticationTokenT&& value) {
46 m_authenticationTokenHasBeenSet = true;
47 m_authenticationToken = std::forward<AuthenticationTokenT>(value);
48 }
49 template <typename AuthenticationTokenT = Aws::String>
50 DescribeRootFoldersRequest& WithAuthenticationToken(AuthenticationTokenT&& value) {
51 SetAuthenticationToken(std::forward<AuthenticationTokenT>(value));
52 return *this;
53 }
55
57
60 inline int GetLimit() const { return m_limit; }
61 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
62 inline void SetLimit(int value) {
63 m_limitHasBeenSet = true;
64 m_limit = value;
65 }
67 SetLimit(value);
68 return *this;
69 }
71
73
77 inline const Aws::String& GetMarker() const { return m_marker; }
78 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
79 template <typename MarkerT = Aws::String>
80 void SetMarker(MarkerT&& value) {
81 m_markerHasBeenSet = true;
82 m_marker = std::forward<MarkerT>(value);
83 }
84 template <typename MarkerT = Aws::String>
86 SetMarker(std::forward<MarkerT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_authenticationToken;
92
93 int m_limit{0};
94
95 Aws::String m_marker;
96 bool m_authenticationTokenHasBeenSet = false;
97 bool m_limitHasBeenSet = false;
98 bool m_markerHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace WorkDocs
103} // namespace Aws
AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeRootFoldersRequest & WithAuthenticationToken(AuthenticationTokenT &&value)
virtual const char * GetServiceRequestName() const override
AWS_WORKDOCS_API DescribeRootFoldersRequest()=default
DescribeRootFoldersRequest & WithLimit(int value)
DescribeRootFoldersRequest & WithMarker(MarkerT &&value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String