AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFolderRequest.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 <aws/workdocs/model/ResourceStateType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace WorkDocs
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_WORKDOCS_API UpdateFolderRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateFolder"; }
32
33 AWS_WORKDOCS_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetAuthenticationToken() const{ return m_authenticationToken; }
44 inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
45 inline void SetAuthenticationToken(const Aws::String& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = value; }
46 inline void SetAuthenticationToken(Aws::String&& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = std::move(value); }
47 inline void SetAuthenticationToken(const char* value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken.assign(value); }
49 inline UpdateFolderRequest& WithAuthenticationToken(Aws::String&& value) { SetAuthenticationToken(std::move(value)); return *this;}
50 inline UpdateFolderRequest& WithAuthenticationToken(const char* value) { SetAuthenticationToken(value); return *this;}
52
54
57 inline const Aws::String& GetFolderId() const{ return m_folderId; }
58 inline bool FolderIdHasBeenSet() const { return m_folderIdHasBeenSet; }
59 inline void SetFolderId(const Aws::String& value) { m_folderIdHasBeenSet = true; m_folderId = value; }
60 inline void SetFolderId(Aws::String&& value) { m_folderIdHasBeenSet = true; m_folderId = std::move(value); }
61 inline void SetFolderId(const char* value) { m_folderIdHasBeenSet = true; m_folderId.assign(value); }
62 inline UpdateFolderRequest& WithFolderId(const Aws::String& value) { SetFolderId(value); return *this;}
63 inline UpdateFolderRequest& WithFolderId(Aws::String&& value) { SetFolderId(std::move(value)); return *this;}
64 inline UpdateFolderRequest& WithFolderId(const char* value) { SetFolderId(value); return *this;}
66
68
71 inline const Aws::String& GetName() const{ return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
74 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
75 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
76 inline UpdateFolderRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
77 inline UpdateFolderRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
78 inline UpdateFolderRequest& WithName(const char* value) { SetName(value); return *this;}
80
82
85 inline const Aws::String& GetParentFolderId() const{ return m_parentFolderId; }
86 inline bool ParentFolderIdHasBeenSet() const { return m_parentFolderIdHasBeenSet; }
87 inline void SetParentFolderId(const Aws::String& value) { m_parentFolderIdHasBeenSet = true; m_parentFolderId = value; }
88 inline void SetParentFolderId(Aws::String&& value) { m_parentFolderIdHasBeenSet = true; m_parentFolderId = std::move(value); }
89 inline void SetParentFolderId(const char* value) { m_parentFolderIdHasBeenSet = true; m_parentFolderId.assign(value); }
90 inline UpdateFolderRequest& WithParentFolderId(const Aws::String& value) { SetParentFolderId(value); return *this;}
91 inline UpdateFolderRequest& WithParentFolderId(Aws::String&& value) { SetParentFolderId(std::move(value)); return *this;}
92 inline UpdateFolderRequest& WithParentFolderId(const char* value) { SetParentFolderId(value); return *this;}
94
96
100 inline const ResourceStateType& GetResourceState() const{ return m_resourceState; }
101 inline bool ResourceStateHasBeenSet() const { return m_resourceStateHasBeenSet; }
102 inline void SetResourceState(const ResourceStateType& value) { m_resourceStateHasBeenSet = true; m_resourceState = value; }
103 inline void SetResourceState(ResourceStateType&& value) { m_resourceStateHasBeenSet = true; m_resourceState = std::move(value); }
104 inline UpdateFolderRequest& WithResourceState(const ResourceStateType& value) { SetResourceState(value); return *this;}
105 inline UpdateFolderRequest& WithResourceState(ResourceStateType&& value) { SetResourceState(std::move(value)); return *this;}
107 private:
108
109 Aws::String m_authenticationToken;
110 bool m_authenticationTokenHasBeenSet = false;
111
112 Aws::String m_folderId;
113 bool m_folderIdHasBeenSet = false;
114
115 Aws::String m_name;
116 bool m_nameHasBeenSet = false;
117
118 Aws::String m_parentFolderId;
119 bool m_parentFolderIdHasBeenSet = false;
120
121 ResourceStateType m_resourceState;
122 bool m_resourceStateHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace WorkDocs
127} // namespace Aws
UpdateFolderRequest & WithName(const Aws::String &value)
UpdateFolderRequest & WithAuthenticationToken(Aws::String &&value)
const Aws::String & GetAuthenticationToken() const
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateFolderRequest & WithFolderId(Aws::String &&value)
UpdateFolderRequest & WithAuthenticationToken(const Aws::String &value)
UpdateFolderRequest & WithName(Aws::String &&value)
UpdateFolderRequest & WithFolderId(const Aws::String &value)
UpdateFolderRequest & WithResourceState(ResourceStateType &&value)
UpdateFolderRequest & WithAuthenticationToken(const char *value)
UpdateFolderRequest & WithParentFolderId(Aws::String &&value)
UpdateFolderRequest & WithName(const char *value)
const Aws::String & GetParentFolderId() const
virtual const char * GetServiceRequestName() const override
AWS_WORKDOCS_API Aws::String SerializePayload() const override
void SetAuthenticationToken(const Aws::String &value)
UpdateFolderRequest & WithParentFolderId(const char *value)
UpdateFolderRequest & WithResourceState(const ResourceStateType &value)
UpdateFolderRequest & WithFolderId(const char *value)
const ResourceStateType & GetResourceState() const
void SetParentFolderId(const Aws::String &value)
void SetResourceState(const ResourceStateType &value)
void SetFolderId(const Aws::String &value)
void SetResourceState(ResourceStateType &&value)
UpdateFolderRequest & WithParentFolderId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String