AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeRootFoldersRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace WorkDocs
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_WORKDOCS_API DescribeRootFoldersRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeRootFolders"; }
35
36 AWS_WORKDOCS_API Aws::String SerializePayload() const override;
37
38 AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
42
44
47 inline const Aws::String& GetAuthenticationToken() const{ return m_authenticationToken; }
48 inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
49 inline void SetAuthenticationToken(const Aws::String& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = value; }
50 inline void SetAuthenticationToken(Aws::String&& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = std::move(value); }
51 inline void SetAuthenticationToken(const char* value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken.assign(value); }
53 inline DescribeRootFoldersRequest& WithAuthenticationToken(Aws::String&& value) { SetAuthenticationToken(std::move(value)); return *this;}
54 inline DescribeRootFoldersRequest& WithAuthenticationToken(const char* value) { SetAuthenticationToken(value); return *this;}
56
58
61 inline int GetLimit() const{ return m_limit; }
62 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
63 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
64 inline DescribeRootFoldersRequest& WithLimit(int value) { SetLimit(value); return *this;}
66
68
72 inline const Aws::String& GetMarker() const{ return m_marker; }
73 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
74 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
75 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
76 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
77 inline DescribeRootFoldersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
78 inline DescribeRootFoldersRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
79 inline DescribeRootFoldersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
81 private:
82
83 Aws::String m_authenticationToken;
84 bool m_authenticationTokenHasBeenSet = false;
85
86 int m_limit;
87 bool m_limitHasBeenSet = false;
88
89 Aws::String m_marker;
90 bool m_markerHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace WorkDocs
95} // namespace Aws
AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
DescribeRootFoldersRequest & WithMarker(const Aws::String &value)
DescribeRootFoldersRequest & WithLimit(int value)
DescribeRootFoldersRequest & WithAuthenticationToken(Aws::String &&value)
DescribeRootFoldersRequest & WithMarker(Aws::String &&value)
DescribeRootFoldersRequest & WithMarker(const char *value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
DescribeRootFoldersRequest & WithAuthenticationToken(const char *value)
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeRootFoldersRequest & WithAuthenticationToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String