AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeRootFoldersRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace WorkDocs
19 {
20 namespace Model
21 {
22 
26  {
27  public:
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::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
41 
42 
46  inline const Aws::String& GetAuthenticationToken() const{ return m_authenticationToken; }
47 
51  inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
52 
56  inline void SetAuthenticationToken(const Aws::String& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = value; }
57 
61  inline void SetAuthenticationToken(Aws::String&& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = std::move(value); }
62 
66  inline void SetAuthenticationToken(const char* value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken.assign(value); }
67 
71  inline DescribeRootFoldersRequest& WithAuthenticationToken(const Aws::String& value) { SetAuthenticationToken(value); return *this;}
72 
76  inline DescribeRootFoldersRequest& WithAuthenticationToken(Aws::String&& value) { SetAuthenticationToken(std::move(value)); return *this;}
77 
81  inline DescribeRootFoldersRequest& WithAuthenticationToken(const char* value) { SetAuthenticationToken(value); return *this;}
82 
83 
87  inline int GetLimit() const{ return m_limit; }
88 
92  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
93 
97  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
98 
102  inline DescribeRootFoldersRequest& WithLimit(int value) { SetLimit(value); return *this;}
103 
104 
109  inline const Aws::String& GetMarker() const{ return m_marker; }
110 
115  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
116 
121  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
122 
127  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
128 
133  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
134 
139  inline DescribeRootFoldersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
140 
145  inline DescribeRootFoldersRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
146 
151  inline DescribeRootFoldersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
152 
153  private:
154 
155  Aws::String m_authenticationToken;
156  bool m_authenticationTokenHasBeenSet;
157 
158  int m_limit;
159  bool m_limitHasBeenSet;
160 
161  Aws::String m_marker;
162  bool m_markerHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace WorkDocs
167 } // namespace Aws
DescribeRootFoldersRequest & WithMarker(const char *value)
DescribeRootFoldersRequest & WithAuthenticationToken(const Aws::String &value)
DescribeRootFoldersRequest & WithAuthenticationToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
#define AWS_WORKDOCS_API
DescribeRootFoldersRequest & WithAuthenticationToken(const char *value)
DescribeRootFoldersRequest & WithMarker(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DescribeRootFoldersRequest & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeRootFoldersRequest & WithLimit(int value)