AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteCommentRequest.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 <utility>
11
12namespace Aws
13{
14namespace WorkDocs
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_WORKDOCS_API DeleteCommentRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteComment"; }
31
32 AWS_WORKDOCS_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetAuthenticationToken() const { return m_authenticationToken; }
43 inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
44 template<typename AuthenticationTokenT = Aws::String>
45 void SetAuthenticationToken(AuthenticationTokenT&& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = std::forward<AuthenticationTokenT>(value); }
46 template<typename AuthenticationTokenT = Aws::String>
47 DeleteCommentRequest& WithAuthenticationToken(AuthenticationTokenT&& value) { SetAuthenticationToken(std::forward<AuthenticationTokenT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDocumentId() const { return m_documentId; }
55 inline bool DocumentIdHasBeenSet() const { return m_documentIdHasBeenSet; }
56 template<typename DocumentIdT = Aws::String>
57 void SetDocumentId(DocumentIdT&& value) { m_documentIdHasBeenSet = true; m_documentId = std::forward<DocumentIdT>(value); }
58 template<typename DocumentIdT = Aws::String>
59 DeleteCommentRequest& WithDocumentId(DocumentIdT&& value) { SetDocumentId(std::forward<DocumentIdT>(value)); return *this;}
61
63
66 inline const Aws::String& GetVersionId() const { return m_versionId; }
67 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
68 template<typename VersionIdT = Aws::String>
69 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet = true; m_versionId = std::forward<VersionIdT>(value); }
70 template<typename VersionIdT = Aws::String>
71 DeleteCommentRequest& WithVersionId(VersionIdT&& value) { SetVersionId(std::forward<VersionIdT>(value)); return *this;}
73
75
78 inline const Aws::String& GetCommentId() const { return m_commentId; }
79 inline bool CommentIdHasBeenSet() const { return m_commentIdHasBeenSet; }
80 template<typename CommentIdT = Aws::String>
81 void SetCommentId(CommentIdT&& value) { m_commentIdHasBeenSet = true; m_commentId = std::forward<CommentIdT>(value); }
82 template<typename CommentIdT = Aws::String>
83 DeleteCommentRequest& WithCommentId(CommentIdT&& value) { SetCommentId(std::forward<CommentIdT>(value)); return *this;}
85 private:
86
87 Aws::String m_authenticationToken;
88 bool m_authenticationTokenHasBeenSet = false;
89
90 Aws::String m_documentId;
91 bool m_documentIdHasBeenSet = false;
92
93 Aws::String m_versionId;
94 bool m_versionIdHasBeenSet = false;
95
96 Aws::String m_commentId;
97 bool m_commentIdHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace WorkDocs
102} // 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