AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteLabelsRequest.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 DeleteLabelsRequest();
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 "DeleteLabels"; }
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
48 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
49 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
50 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
51 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
52 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
53 inline DeleteLabelsRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
54 inline DeleteLabelsRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
55 inline DeleteLabelsRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
57
59
63 inline const Aws::String& GetAuthenticationToken() const{ return m_authenticationToken; }
64 inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
65 inline void SetAuthenticationToken(const Aws::String& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = value; }
66 inline void SetAuthenticationToken(Aws::String&& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = std::move(value); }
67 inline void SetAuthenticationToken(const char* value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken.assign(value); }
69 inline DeleteLabelsRequest& WithAuthenticationToken(Aws::String&& value) { SetAuthenticationToken(std::move(value)); return *this;}
70 inline DeleteLabelsRequest& WithAuthenticationToken(const char* value) { SetAuthenticationToken(value); return *this;}
72
74
77 inline const Aws::Vector<Aws::String>& GetLabels() const{ return m_labels; }
78 inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
79 inline void SetLabels(const Aws::Vector<Aws::String>& value) { m_labelsHasBeenSet = true; m_labels = value; }
80 inline void SetLabels(Aws::Vector<Aws::String>&& value) { m_labelsHasBeenSet = true; m_labels = std::move(value); }
81 inline DeleteLabelsRequest& WithLabels(const Aws::Vector<Aws::String>& value) { SetLabels(value); return *this;}
82 inline DeleteLabelsRequest& WithLabels(Aws::Vector<Aws::String>&& value) { SetLabels(std::move(value)); return *this;}
83 inline DeleteLabelsRequest& AddLabels(const Aws::String& value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
84 inline DeleteLabelsRequest& AddLabels(Aws::String&& value) { m_labelsHasBeenSet = true; m_labels.push_back(std::move(value)); return *this; }
85 inline DeleteLabelsRequest& AddLabels(const char* value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
87
89
92 inline bool GetDeleteAll() const{ return m_deleteAll; }
93 inline bool DeleteAllHasBeenSet() const { return m_deleteAllHasBeenSet; }
94 inline void SetDeleteAll(bool value) { m_deleteAllHasBeenSet = true; m_deleteAll = value; }
95 inline DeleteLabelsRequest& WithDeleteAll(bool value) { SetDeleteAll(value); return *this;}
97 private:
98
99 Aws::String m_resourceId;
100 bool m_resourceIdHasBeenSet = false;
101
102 Aws::String m_authenticationToken;
103 bool m_authenticationTokenHasBeenSet = false;
104
106 bool m_labelsHasBeenSet = false;
107
108 bool m_deleteAll;
109 bool m_deleteAllHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace WorkDocs
114} // namespace Aws
DeleteLabelsRequest & WithAuthenticationToken(Aws::String &&value)
DeleteLabelsRequest & WithResourceId(Aws::String &&value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetLabels() const
DeleteLabelsRequest & WithLabels(const Aws::Vector< Aws::String > &value)
DeleteLabelsRequest & AddLabels(Aws::String &&value)
void SetAuthenticationToken(const Aws::String &value)
void SetLabels(const Aws::Vector< Aws::String > &value)
DeleteLabelsRequest & WithResourceId(const Aws::String &value)
DeleteLabelsRequest & AddLabels(const Aws::String &value)
DeleteLabelsRequest & WithResourceId(const char *value)
DeleteLabelsRequest & WithAuthenticationToken(const char *value)
void SetLabels(Aws::Vector< Aws::String > &&value)
DeleteLabelsRequest & AddLabels(const char *value)
const Aws::String & GetAuthenticationToken() const
DeleteLabelsRequest & WithAuthenticationToken(const Aws::String &value)
AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetResourceId(const Aws::String &value)
DeleteLabelsRequest & WithLabels(Aws::Vector< Aws::String > &&value)
DeleteLabelsRequest & WithDeleteAll(bool value)
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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