AWS SDK for C++  1.8.71
AWS SDK for C++
GetFolderRequest.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 "GetFolder"; }
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 
47  inline const Aws::String& GetAuthenticationToken() const{ return m_authenticationToken; }
48 
53  inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
54 
59  inline void SetAuthenticationToken(const Aws::String& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = value; }
60 
65  inline void SetAuthenticationToken(Aws::String&& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = std::move(value); }
66 
71  inline void SetAuthenticationToken(const char* value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken.assign(value); }
72 
77  inline GetFolderRequest& WithAuthenticationToken(const Aws::String& value) { SetAuthenticationToken(value); return *this;}
78 
83  inline GetFolderRequest& WithAuthenticationToken(Aws::String&& value) { SetAuthenticationToken(std::move(value)); return *this;}
84 
89  inline GetFolderRequest& WithAuthenticationToken(const char* value) { SetAuthenticationToken(value); return *this;}
90 
91 
95  inline const Aws::String& GetFolderId() const{ return m_folderId; }
96 
100  inline bool FolderIdHasBeenSet() const { return m_folderIdHasBeenSet; }
101 
105  inline void SetFolderId(const Aws::String& value) { m_folderIdHasBeenSet = true; m_folderId = value; }
106 
110  inline void SetFolderId(Aws::String&& value) { m_folderIdHasBeenSet = true; m_folderId = std::move(value); }
111 
115  inline void SetFolderId(const char* value) { m_folderIdHasBeenSet = true; m_folderId.assign(value); }
116 
120  inline GetFolderRequest& WithFolderId(const Aws::String& value) { SetFolderId(value); return *this;}
121 
125  inline GetFolderRequest& WithFolderId(Aws::String&& value) { SetFolderId(std::move(value)); return *this;}
126 
130  inline GetFolderRequest& WithFolderId(const char* value) { SetFolderId(value); return *this;}
131 
132 
136  inline bool GetIncludeCustomMetadata() const{ return m_includeCustomMetadata; }
137 
141  inline bool IncludeCustomMetadataHasBeenSet() const { return m_includeCustomMetadataHasBeenSet; }
142 
146  inline void SetIncludeCustomMetadata(bool value) { m_includeCustomMetadataHasBeenSet = true; m_includeCustomMetadata = value; }
147 
151  inline GetFolderRequest& WithIncludeCustomMetadata(bool value) { SetIncludeCustomMetadata(value); return *this;}
152 
153  private:
154 
155  Aws::String m_authenticationToken;
156  bool m_authenticationTokenHasBeenSet;
157 
158  Aws::String m_folderId;
159  bool m_folderIdHasBeenSet;
160 
161  bool m_includeCustomMetadata;
162  bool m_includeCustomMetadataHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace WorkDocs
167 } // namespace Aws
void SetFolderId(const Aws::String &value)
void SetAuthenticationToken(const char *value)
GetFolderRequest & WithAuthenticationToken(Aws::String &&value)
void SetFolderId(Aws::String &&value)
const Aws::String & GetAuthenticationToken() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
#define AWS_WORKDOCS_API
virtual const char * GetServiceRequestName() const override
GetFolderRequest & WithFolderId(const Aws::String &value)
GetFolderRequest & WithIncludeCustomMetadata(bool value)
GetFolderRequest & WithFolderId(const char *value)
void SetAuthenticationToken(const Aws::String &value)
GetFolderRequest & WithFolderId(Aws::String &&value)
GetFolderRequest & WithAuthenticationToken(const Aws::String &value)
const Aws::String & GetFolderId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetAuthenticationToken(Aws::String &&value)
GetFolderRequest & WithAuthenticationToken(const char *value)