AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
GetFolderRequest.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 GetFolderRequest() = 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 "GetFolder"; }
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
43 inline const Aws::String& GetAuthenticationToken() const { return m_authenticationToken; }
44 inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
45 template <typename AuthenticationTokenT = Aws::String>
46 void SetAuthenticationToken(AuthenticationTokenT&& value) {
47 m_authenticationTokenHasBeenSet = true;
48 m_authenticationToken = std::forward<AuthenticationTokenT>(value);
49 }
50 template <typename AuthenticationTokenT = Aws::String>
51 GetFolderRequest& WithAuthenticationToken(AuthenticationTokenT&& value) {
52 SetAuthenticationToken(std::forward<AuthenticationTokenT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetFolderId() const { return m_folderId; }
62 inline bool FolderIdHasBeenSet() const { return m_folderIdHasBeenSet; }
63 template <typename FolderIdT = Aws::String>
64 void SetFolderId(FolderIdT&& value) {
65 m_folderIdHasBeenSet = true;
66 m_folderId = std::forward<FolderIdT>(value);
67 }
68 template <typename FolderIdT = Aws::String>
69 GetFolderRequest& WithFolderId(FolderIdT&& value) {
70 SetFolderId(std::forward<FolderIdT>(value));
71 return *this;
72 }
74
76
79 inline bool GetIncludeCustomMetadata() const { return m_includeCustomMetadata; }
80 inline bool IncludeCustomMetadataHasBeenSet() const { return m_includeCustomMetadataHasBeenSet; }
81 inline void SetIncludeCustomMetadata(bool value) {
82 m_includeCustomMetadataHasBeenSet = true;
83 m_includeCustomMetadata = value;
84 }
87 return *this;
88 }
90 private:
91 Aws::String m_authenticationToken;
92
93 Aws::String m_folderId;
94
95 bool m_includeCustomMetadata{false};
96 bool m_authenticationTokenHasBeenSet = false;
97 bool m_folderIdHasBeenSet = false;
98 bool m_includeCustomMetadataHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace WorkDocs
103} // namespace Aws
GetFolderRequest & WithFolderId(FolderIdT &&value)
void SetAuthenticationToken(AuthenticationTokenT &&value)
AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetAuthenticationToken() const
GetFolderRequest & WithIncludeCustomMetadata(bool value)
GetFolderRequest & WithAuthenticationToken(AuthenticationTokenT &&value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const Aws::String & GetFolderId() const
AWS_WORKDOCS_API GetFolderRequest()=default
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