AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DeleteCommentRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/workdocs/WorkDocsRequest.h>
9#include <aws/workdocs/WorkDocs_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace WorkDocs {
15namespace Model {
16
20 public:
21 AWS_WORKDOCS_API DeleteCommentRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteComment"; }
28
29 AWS_WORKDOCS_API Aws::String SerializePayload() const override;
30
32
34
38 inline const Aws::String& GetAuthenticationToken() const { return m_authenticationToken; }
39 inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
40 template <typename AuthenticationTokenT = Aws::String>
41 void SetAuthenticationToken(AuthenticationTokenT&& value) {
42 m_authenticationTokenHasBeenSet = true;
43 m_authenticationToken = std::forward<AuthenticationTokenT>(value);
44 }
45 template <typename AuthenticationTokenT = Aws::String>
46 DeleteCommentRequest& WithAuthenticationToken(AuthenticationTokenT&& value) {
47 SetAuthenticationToken(std::forward<AuthenticationTokenT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDocumentId() const { return m_documentId; }
57 inline bool DocumentIdHasBeenSet() const { return m_documentIdHasBeenSet; }
58 template <typename DocumentIdT = Aws::String>
59 void SetDocumentId(DocumentIdT&& value) {
60 m_documentIdHasBeenSet = true;
61 m_documentId = std::forward<DocumentIdT>(value);
62 }
63 template <typename DocumentIdT = Aws::String>
64 DeleteCommentRequest& WithDocumentId(DocumentIdT&& value) {
65 SetDocumentId(std::forward<DocumentIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetVersionId() const { return m_versionId; }
75 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
76 template <typename VersionIdT = Aws::String>
77 void SetVersionId(VersionIdT&& value) {
78 m_versionIdHasBeenSet = true;
79 m_versionId = std::forward<VersionIdT>(value);
80 }
81 template <typename VersionIdT = Aws::String>
82 DeleteCommentRequest& WithVersionId(VersionIdT&& value) {
83 SetVersionId(std::forward<VersionIdT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetCommentId() const { return m_commentId; }
93 inline bool CommentIdHasBeenSet() const { return m_commentIdHasBeenSet; }
94 template <typename CommentIdT = Aws::String>
95 void SetCommentId(CommentIdT&& value) {
96 m_commentIdHasBeenSet = true;
97 m_commentId = std::forward<CommentIdT>(value);
98 }
99 template <typename CommentIdT = Aws::String>
100 DeleteCommentRequest& WithCommentId(CommentIdT&& value) {
101 SetCommentId(std::forward<CommentIdT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_authenticationToken;
107
108 Aws::String m_documentId;
109
110 Aws::String m_versionId;
111
112 Aws::String m_commentId;
113 bool m_authenticationTokenHasBeenSet = false;
114 bool m_documentIdHasBeenSet = false;
115 bool m_versionIdHasBeenSet = false;
116 bool m_commentIdHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace WorkDocs
121} // namespace Aws
virtual const char * GetServiceRequestName() const override
DeleteCommentRequest & WithAuthenticationToken(AuthenticationTokenT &&value)
AWS_WORKDOCS_API DeleteCommentRequest()=default
DeleteCommentRequest & WithCommentId(CommentIdT &&value)
DeleteCommentRequest & WithDocumentId(DocumentIdT &&value)
void SetAuthenticationToken(AuthenticationTokenT &&value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
const Aws::String & GetAuthenticationToken() const
DeleteCommentRequest & WithVersionId(VersionIdT &&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