AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteCustomMetadataRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace WorkDocs
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_WORKDOCS_API DeleteCustomMetadataRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DeleteCustomMetadata"; }
36
37 AWS_WORKDOCS_API Aws::String SerializePayload() const override;
38
39 AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
42
43
45
49 inline const Aws::String& GetAuthenticationToken() const{ return m_authenticationToken; }
50 inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
51 inline void SetAuthenticationToken(const Aws::String& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = value; }
52 inline void SetAuthenticationToken(Aws::String&& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = std::move(value); }
53 inline void SetAuthenticationToken(const char* value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken.assign(value); }
56 inline DeleteCustomMetadataRequest& WithAuthenticationToken(const char* value) { SetAuthenticationToken(value); return *this;}
58
60
63 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
64 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
65 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
66 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
67 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
68 inline DeleteCustomMetadataRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
69 inline DeleteCustomMetadataRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
70 inline DeleteCustomMetadataRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
72
74
78 inline const Aws::String& GetVersionId() const{ return m_versionId; }
79 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
80 inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
81 inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
82 inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
83 inline DeleteCustomMetadataRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
84 inline DeleteCustomMetadataRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
85 inline DeleteCustomMetadataRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;}
87
89
92 inline const Aws::Vector<Aws::String>& GetKeys() const{ return m_keys; }
93 inline bool KeysHasBeenSet() const { return m_keysHasBeenSet; }
94 inline void SetKeys(const Aws::Vector<Aws::String>& value) { m_keysHasBeenSet = true; m_keys = value; }
95 inline void SetKeys(Aws::Vector<Aws::String>&& value) { m_keysHasBeenSet = true; m_keys = std::move(value); }
96 inline DeleteCustomMetadataRequest& WithKeys(const Aws::Vector<Aws::String>& value) { SetKeys(value); return *this;}
97 inline DeleteCustomMetadataRequest& WithKeys(Aws::Vector<Aws::String>&& value) { SetKeys(std::move(value)); return *this;}
98 inline DeleteCustomMetadataRequest& AddKeys(const Aws::String& value) { m_keysHasBeenSet = true; m_keys.push_back(value); return *this; }
99 inline DeleteCustomMetadataRequest& AddKeys(Aws::String&& value) { m_keysHasBeenSet = true; m_keys.push_back(std::move(value)); return *this; }
100 inline DeleteCustomMetadataRequest& AddKeys(const char* value) { m_keysHasBeenSet = true; m_keys.push_back(value); return *this; }
102
104
108 inline bool GetDeleteAll() const{ return m_deleteAll; }
109 inline bool DeleteAllHasBeenSet() const { return m_deleteAllHasBeenSet; }
110 inline void SetDeleteAll(bool value) { m_deleteAllHasBeenSet = true; m_deleteAll = value; }
111 inline DeleteCustomMetadataRequest& WithDeleteAll(bool value) { SetDeleteAll(value); return *this;}
113 private:
114
115 Aws::String m_authenticationToken;
116 bool m_authenticationTokenHasBeenSet = false;
117
118 Aws::String m_resourceId;
119 bool m_resourceIdHasBeenSet = false;
120
121 Aws::String m_versionId;
122 bool m_versionIdHasBeenSet = false;
123
125 bool m_keysHasBeenSet = false;
126
127 bool m_deleteAll;
128 bool m_deleteAllHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace WorkDocs
133} // namespace Aws
DeleteCustomMetadataRequest & WithAuthenticationToken(const char *value)
const Aws::Vector< Aws::String > & GetKeys() const
DeleteCustomMetadataRequest & AddKeys(Aws::String &&value)
DeleteCustomMetadataRequest & AddKeys(const Aws::String &value)
DeleteCustomMetadataRequest & WithKeys(const Aws::Vector< Aws::String > &value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
DeleteCustomMetadataRequest & WithAuthenticationToken(Aws::String &&value)
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteCustomMetadataRequest & WithDeleteAll(bool value)
DeleteCustomMetadataRequest & WithVersionId(Aws::String &&value)
DeleteCustomMetadataRequest & WithResourceId(Aws::String &&value)
DeleteCustomMetadataRequest & WithVersionId(const Aws::String &value)
AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteCustomMetadataRequest & AddKeys(const char *value)
DeleteCustomMetadataRequest & WithAuthenticationToken(const Aws::String &value)
DeleteCustomMetadataRequest & WithKeys(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
DeleteCustomMetadataRequest & WithResourceId(const char *value)
void SetKeys(const Aws::Vector< Aws::String > &value)
DeleteCustomMetadataRequest & WithResourceId(const Aws::String &value)
DeleteCustomMetadataRequest & WithVersionId(const char *value)
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