AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DeleteCustomMetadataRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/workdocs/WorkDocsRequest.h>
10#include <aws/workdocs/WorkDocs_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace WorkDocs {
19namespace Model {
20
24 public:
25 AWS_WORKDOCS_API DeleteCustomMetadataRequest() = default;
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 "DeleteCustomMetadata"; }
32
33 AWS_WORKDOCS_API Aws::String SerializePayload() const override;
34
35 AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
40
44 inline const Aws::String& GetAuthenticationToken() const { return m_authenticationToken; }
45 inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
46 template <typename AuthenticationTokenT = Aws::String>
47 void SetAuthenticationToken(AuthenticationTokenT&& value) {
48 m_authenticationTokenHasBeenSet = true;
49 m_authenticationToken = std::forward<AuthenticationTokenT>(value);
50 }
51 template <typename AuthenticationTokenT = Aws::String>
53 SetAuthenticationToken(std::forward<AuthenticationTokenT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetResourceId() const { return m_resourceId; }
63 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
64 template <typename ResourceIdT = Aws::String>
65 void SetResourceId(ResourceIdT&& value) {
66 m_resourceIdHasBeenSet = true;
67 m_resourceId = std::forward<ResourceIdT>(value);
68 }
69 template <typename ResourceIdT = Aws::String>
71 SetResourceId(std::forward<ResourceIdT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::String& GetVersionId() const { return m_versionId; }
82 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
83 template <typename VersionIdT = Aws::String>
84 void SetVersionId(VersionIdT&& value) {
85 m_versionIdHasBeenSet = true;
86 m_versionId = std::forward<VersionIdT>(value);
87 }
88 template <typename VersionIdT = Aws::String>
90 SetVersionId(std::forward<VersionIdT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::Vector<Aws::String>& GetKeys() const { return m_keys; }
100 inline bool KeysHasBeenSet() const { return m_keysHasBeenSet; }
101 template <typename KeysT = Aws::Vector<Aws::String>>
102 void SetKeys(KeysT&& value) {
103 m_keysHasBeenSet = true;
104 m_keys = std::forward<KeysT>(value);
105 }
106 template <typename KeysT = Aws::Vector<Aws::String>>
108 SetKeys(std::forward<KeysT>(value));
109 return *this;
110 }
111 template <typename KeysT = Aws::String>
113 m_keysHasBeenSet = true;
114 m_keys.emplace_back(std::forward<KeysT>(value));
115 return *this;
116 }
118
120
124 inline bool GetDeleteAll() const { return m_deleteAll; }
125 inline bool DeleteAllHasBeenSet() const { return m_deleteAllHasBeenSet; }
126 inline void SetDeleteAll(bool value) {
127 m_deleteAllHasBeenSet = true;
128 m_deleteAll = value;
129 }
131 SetDeleteAll(value);
132 return *this;
133 }
135 private:
136 Aws::String m_authenticationToken;
137
138 Aws::String m_resourceId;
139
140 Aws::String m_versionId;
141
143
144 bool m_deleteAll{false};
145 bool m_authenticationTokenHasBeenSet = false;
146 bool m_resourceIdHasBeenSet = false;
147 bool m_versionIdHasBeenSet = false;
148 bool m_keysHasBeenSet = false;
149 bool m_deleteAllHasBeenSet = false;
150};
151
152} // namespace Model
153} // namespace WorkDocs
154} // namespace Aws
const Aws::Vector< Aws::String > & GetKeys() const
AWS_WORKDOCS_API Aws::String SerializePayload() const override
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteCustomMetadataRequest & WithDeleteAll(bool value)
DeleteCustomMetadataRequest & WithResourceId(ResourceIdT &&value)
DeleteCustomMetadataRequest & WithAuthenticationToken(AuthenticationTokenT &&value)
DeleteCustomMetadataRequest & WithVersionId(VersionIdT &&value)
AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteCustomMetadataRequest & AddKeys(KeysT &&value)
virtual const char * GetServiceRequestName() const override
DeleteCustomMetadataRequest & WithKeys(KeysT &&value)
AWS_WORKDOCS_API DeleteCustomMetadataRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector