AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFolderRequest.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 GetFolderRequest();
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_WORKDOCS_API Aws::String SerializePayload() const override;
37
38 AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
42
44
48 inline const Aws::String& GetAuthenticationToken() const{ return m_authenticationToken; }
49 inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
50 inline void SetAuthenticationToken(const Aws::String& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = value; }
51 inline void SetAuthenticationToken(Aws::String&& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = std::move(value); }
52 inline void SetAuthenticationToken(const char* value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken.assign(value); }
53 inline GetFolderRequest& WithAuthenticationToken(const Aws::String& value) { SetAuthenticationToken(value); return *this;}
54 inline GetFolderRequest& WithAuthenticationToken(Aws::String&& value) { SetAuthenticationToken(std::move(value)); return *this;}
55 inline GetFolderRequest& WithAuthenticationToken(const char* value) { SetAuthenticationToken(value); return *this;}
57
59
62 inline const Aws::String& GetFolderId() const{ return m_folderId; }
63 inline bool FolderIdHasBeenSet() const { return m_folderIdHasBeenSet; }
64 inline void SetFolderId(const Aws::String& value) { m_folderIdHasBeenSet = true; m_folderId = value; }
65 inline void SetFolderId(Aws::String&& value) { m_folderIdHasBeenSet = true; m_folderId = std::move(value); }
66 inline void SetFolderId(const char* value) { m_folderIdHasBeenSet = true; m_folderId.assign(value); }
67 inline GetFolderRequest& WithFolderId(const Aws::String& value) { SetFolderId(value); return *this;}
68 inline GetFolderRequest& WithFolderId(Aws::String&& value) { SetFolderId(std::move(value)); return *this;}
69 inline GetFolderRequest& WithFolderId(const char* value) { SetFolderId(value); return *this;}
71
73
76 inline bool GetIncludeCustomMetadata() const{ return m_includeCustomMetadata; }
77 inline bool IncludeCustomMetadataHasBeenSet() const { return m_includeCustomMetadataHasBeenSet; }
78 inline void SetIncludeCustomMetadata(bool value) { m_includeCustomMetadataHasBeenSet = true; m_includeCustomMetadata = value; }
79 inline GetFolderRequest& WithIncludeCustomMetadata(bool value) { SetIncludeCustomMetadata(value); return *this;}
81 private:
82
83 Aws::String m_authenticationToken;
84 bool m_authenticationTokenHasBeenSet = false;
85
86 Aws::String m_folderId;
87 bool m_folderIdHasBeenSet = false;
88
89 bool m_includeCustomMetadata;
90 bool m_includeCustomMetadataHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace WorkDocs
95} // namespace Aws
void SetAuthenticationToken(const Aws::String &value)
GetFolderRequest & WithAuthenticationToken(Aws::String &&value)
void SetAuthenticationToken(Aws::String &&value)
void SetAuthenticationToken(const char *value)
AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetAuthenticationToken() const
GetFolderRequest & WithIncludeCustomMetadata(bool value)
GetFolderRequest & WithFolderId(const Aws::String &value)
GetFolderRequest & WithAuthenticationToken(const char *value)
GetFolderRequest & WithFolderId(const char *value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
void SetFolderId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetFolderId() const
GetFolderRequest & WithFolderId(Aws::String &&value)
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetFolderRequest & WithAuthenticationToken(const Aws::String &value)
void SetFolderId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String