AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateFolderRequest.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 WorkDocs
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_WORKDOCS_API CreateFolderRequest();
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 "CreateFolder"; }
31
32 AWS_WORKDOCS_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetAuthenticationToken() const{ return m_authenticationToken; }
43 inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
44 inline void SetAuthenticationToken(const Aws::String& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = value; }
45 inline void SetAuthenticationToken(Aws::String&& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = std::move(value); }
46 inline void SetAuthenticationToken(const char* value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken.assign(value); }
48 inline CreateFolderRequest& WithAuthenticationToken(Aws::String&& value) { SetAuthenticationToken(std::move(value)); return *this;}
49 inline CreateFolderRequest& WithAuthenticationToken(const char* value) { SetAuthenticationToken(value); return *this;}
51
53
56 inline const Aws::String& GetName() const{ return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 inline CreateFolderRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline CreateFolderRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline CreateFolderRequest& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::String& GetParentFolderId() const{ return m_parentFolderId; }
71 inline bool ParentFolderIdHasBeenSet() const { return m_parentFolderIdHasBeenSet; }
72 inline void SetParentFolderId(const Aws::String& value) { m_parentFolderIdHasBeenSet = true; m_parentFolderId = value; }
73 inline void SetParentFolderId(Aws::String&& value) { m_parentFolderIdHasBeenSet = true; m_parentFolderId = std::move(value); }
74 inline void SetParentFolderId(const char* value) { m_parentFolderIdHasBeenSet = true; m_parentFolderId.assign(value); }
75 inline CreateFolderRequest& WithParentFolderId(const Aws::String& value) { SetParentFolderId(value); return *this;}
76 inline CreateFolderRequest& WithParentFolderId(Aws::String&& value) { SetParentFolderId(std::move(value)); return *this;}
77 inline CreateFolderRequest& WithParentFolderId(const char* value) { SetParentFolderId(value); return *this;}
79 private:
80
81 Aws::String m_authenticationToken;
82 bool m_authenticationTokenHasBeenSet = false;
83
84 Aws::String m_name;
85 bool m_nameHasBeenSet = false;
86
87 Aws::String m_parentFolderId;
88 bool m_parentFolderIdHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace WorkDocs
93} // namespace Aws
CreateFolderRequest & WithParentFolderId(const Aws::String &value)
CreateFolderRequest & WithParentFolderId(Aws::String &&value)
CreateFolderRequest & WithAuthenticationToken(Aws::String &&value)
CreateFolderRequest & WithName(const Aws::String &value)
void SetAuthenticationToken(const Aws::String &value)
const Aws::String & GetAuthenticationToken() const
virtual const char * GetServiceRequestName() const override
CreateFolderRequest & WithAuthenticationToken(const char *value)
void SetParentFolderId(const Aws::String &value)
const Aws::String & GetParentFolderId() const
CreateFolderRequest & WithAuthenticationToken(const Aws::String &value)
CreateFolderRequest & WithParentFolderId(const char *value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateFolderRequest & WithName(Aws::String &&value)
CreateFolderRequest & WithName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String