AWS SDK for C++  1.9.129
AWS SDK for C++
DeleteCommentRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WorkDocs
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetAuthenticationToken() const{ return m_authenticationToken; }
42 
47  inline bool AuthenticationTokenHasBeenSet() const { return m_authenticationTokenHasBeenSet; }
48 
53  inline void SetAuthenticationToken(const Aws::String& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = value; }
54 
59  inline void SetAuthenticationToken(Aws::String&& value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken = std::move(value); }
60 
65  inline void SetAuthenticationToken(const char* value) { m_authenticationTokenHasBeenSet = true; m_authenticationToken.assign(value); }
66 
71  inline DeleteCommentRequest& WithAuthenticationToken(const Aws::String& value) { SetAuthenticationToken(value); return *this;}
72 
77  inline DeleteCommentRequest& WithAuthenticationToken(Aws::String&& value) { SetAuthenticationToken(std::move(value)); return *this;}
78 
83  inline DeleteCommentRequest& WithAuthenticationToken(const char* value) { SetAuthenticationToken(value); return *this;}
84 
85 
89  inline const Aws::String& GetDocumentId() const{ return m_documentId; }
90 
94  inline bool DocumentIdHasBeenSet() const { return m_documentIdHasBeenSet; }
95 
99  inline void SetDocumentId(const Aws::String& value) { m_documentIdHasBeenSet = true; m_documentId = value; }
100 
104  inline void SetDocumentId(Aws::String&& value) { m_documentIdHasBeenSet = true; m_documentId = std::move(value); }
105 
109  inline void SetDocumentId(const char* value) { m_documentIdHasBeenSet = true; m_documentId.assign(value); }
110 
114  inline DeleteCommentRequest& WithDocumentId(const Aws::String& value) { SetDocumentId(value); return *this;}
115 
119  inline DeleteCommentRequest& WithDocumentId(Aws::String&& value) { SetDocumentId(std::move(value)); return *this;}
120 
124  inline DeleteCommentRequest& WithDocumentId(const char* value) { SetDocumentId(value); return *this;}
125 
126 
130  inline const Aws::String& GetVersionId() const{ return m_versionId; }
131 
135  inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
136 
140  inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
141 
145  inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
146 
150  inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
151 
155  inline DeleteCommentRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
156 
160  inline DeleteCommentRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
161 
165  inline DeleteCommentRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;}
166 
167 
171  inline const Aws::String& GetCommentId() const{ return m_commentId; }
172 
176  inline bool CommentIdHasBeenSet() const { return m_commentIdHasBeenSet; }
177 
181  inline void SetCommentId(const Aws::String& value) { m_commentIdHasBeenSet = true; m_commentId = value; }
182 
186  inline void SetCommentId(Aws::String&& value) { m_commentIdHasBeenSet = true; m_commentId = std::move(value); }
187 
191  inline void SetCommentId(const char* value) { m_commentIdHasBeenSet = true; m_commentId.assign(value); }
192 
196  inline DeleteCommentRequest& WithCommentId(const Aws::String& value) { SetCommentId(value); return *this;}
197 
201  inline DeleteCommentRequest& WithCommentId(Aws::String&& value) { SetCommentId(std::move(value)); return *this;}
202 
206  inline DeleteCommentRequest& WithCommentId(const char* value) { SetCommentId(value); return *this;}
207 
208  private:
209 
210  Aws::String m_authenticationToken;
211  bool m_authenticationTokenHasBeenSet;
212 
213  Aws::String m_documentId;
214  bool m_documentIdHasBeenSet;
215 
216  Aws::String m_versionId;
217  bool m_versionIdHasBeenSet;
218 
219  Aws::String m_commentId;
220  bool m_commentIdHasBeenSet;
221  };
222 
223 } // namespace Model
224 } // namespace WorkDocs
225 } // namespace Aws
Aws::WorkDocs::Model::DeleteCommentRequest::WithAuthenticationToken
DeleteCommentRequest & WithAuthenticationToken(const Aws::String &value)
Definition: DeleteCommentRequest.h:71
Aws::WorkDocs::Model::DeleteCommentRequest::DeleteCommentRequest
DeleteCommentRequest()
Aws::WorkDocs::Model::DeleteCommentRequest::DocumentIdHasBeenSet
bool DocumentIdHasBeenSet() const
Definition: DeleteCommentRequest.h:94
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WorkDocs::Model::DeleteCommentRequest::SetDocumentId
void SetDocumentId(const Aws::String &value)
Definition: DeleteCommentRequest.h:99
Aws::WorkDocs::Model::DeleteCommentRequest::GetDocumentId
const Aws::String & GetDocumentId() const
Definition: DeleteCommentRequest.h:89
Aws::WorkDocs::Model::DeleteCommentRequest::WithDocumentId
DeleteCommentRequest & WithDocumentId(const Aws::String &value)
Definition: DeleteCommentRequest.h:114
Aws::WorkDocs::Model::DeleteCommentRequest::VersionIdHasBeenSet
bool VersionIdHasBeenSet() const
Definition: DeleteCommentRequest.h:135
Aws::WorkDocs::WorkDocsRequest
Definition: WorkDocsRequest.h:17
Aws::WorkDocs::Model::DeleteCommentRequest::GetAuthenticationToken
const Aws::String & GetAuthenticationToken() const
Definition: DeleteCommentRequest.h:41
Aws::WorkDocs::Model::DeleteCommentRequest::WithCommentId
DeleteCommentRequest & WithCommentId(const Aws::String &value)
Definition: DeleteCommentRequest.h:196
Aws::WorkDocs::Model::DeleteCommentRequest::WithCommentId
DeleteCommentRequest & WithCommentId(const char *value)
Definition: DeleteCommentRequest.h:206
Aws::WorkDocs::Model::DeleteCommentRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WorkDocs::Model::DeleteCommentRequest::WithCommentId
DeleteCommentRequest & WithCommentId(Aws::String &&value)
Definition: DeleteCommentRequest.h:201
Aws::WorkDocs::Model::DeleteCommentRequest::WithAuthenticationToken
DeleteCommentRequest & WithAuthenticationToken(const char *value)
Definition: DeleteCommentRequest.h:83
Aws::WorkDocs::Model::DeleteCommentRequest::WithAuthenticationToken
DeleteCommentRequest & WithAuthenticationToken(Aws::String &&value)
Definition: DeleteCommentRequest.h:77
Aws::WorkDocs::Model::DeleteCommentRequest::AuthenticationTokenHasBeenSet
bool AuthenticationTokenHasBeenSet() const
Definition: DeleteCommentRequest.h:47
Aws::WorkDocs::Model::DeleteCommentRequest::WithDocumentId
DeleteCommentRequest & WithDocumentId(const char *value)
Definition: DeleteCommentRequest.h:124
Aws::WorkDocs::Model::DeleteCommentRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WorkDocs::Model::DeleteCommentRequest::CommentIdHasBeenSet
bool CommentIdHasBeenSet() const
Definition: DeleteCommentRequest.h:176
Aws::WorkDocs::Model::DeleteCommentRequest::SetVersionId
void SetVersionId(Aws::String &&value)
Definition: DeleteCommentRequest.h:145
Aws::WorkDocs::Model::DeleteCommentRequest::SetAuthenticationToken
void SetAuthenticationToken(const char *value)
Definition: DeleteCommentRequest.h:65
Aws::WorkDocs::Model::DeleteCommentRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteCommentRequest.h:30
Aws::WorkDocs::Model::DeleteCommentRequest::GetCommentId
const Aws::String & GetCommentId() const
Definition: DeleteCommentRequest.h:171
Aws::WorkDocs::Model::DeleteCommentRequest::WithVersionId
DeleteCommentRequest & WithVersionId(const Aws::String &value)
Definition: DeleteCommentRequest.h:155
WorkDocs_EXPORTS.h
AWSString.h
Aws::WorkDocs::Model::DeleteCommentRequest::SetDocumentId
void SetDocumentId(const char *value)
Definition: DeleteCommentRequest.h:109
Aws::WorkDocs::Model::DeleteCommentRequest::GetVersionId
const Aws::String & GetVersionId() const
Definition: DeleteCommentRequest.h:130
Aws::WorkDocs::Model::DeleteCommentRequest::SetCommentId
void SetCommentId(const char *value)
Definition: DeleteCommentRequest.h:191
Aws::WorkDocs::Model::DeleteCommentRequest::SetCommentId
void SetCommentId(const Aws::String &value)
Definition: DeleteCommentRequest.h:181
Aws::WorkDocs::Model::DeleteCommentRequest::SetAuthenticationToken
void SetAuthenticationToken(const Aws::String &value)
Definition: DeleteCommentRequest.h:53
AWS_WORKDOCS_API
#define AWS_WORKDOCS_API
Definition: WorkDocs_EXPORTS.h:28
Aws::WorkDocs::Model::DeleteCommentRequest::WithVersionId
DeleteCommentRequest & WithVersionId(Aws::String &&value)
Definition: DeleteCommentRequest.h:160
Aws
Definition: AccessManagementClient.h:15
WorkDocsRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkDocs::Model::DeleteCommentRequest::SetCommentId
void SetCommentId(Aws::String &&value)
Definition: DeleteCommentRequest.h:186
Aws::WorkDocs::Model::DeleteCommentRequest::SetVersionId
void SetVersionId(const Aws::String &value)
Definition: DeleteCommentRequest.h:140
Aws::WorkDocs::Model::DeleteCommentRequest::WithDocumentId
DeleteCommentRequest & WithDocumentId(Aws::String &&value)
Definition: DeleteCommentRequest.h:119
Aws::WorkDocs::Model::DeleteCommentRequest::SetVersionId
void SetVersionId(const char *value)
Definition: DeleteCommentRequest.h:150
Aws::WorkDocs::Model::DeleteCommentRequest
Definition: DeleteCommentRequest.h:22
Aws::WorkDocs::Model::DeleteCommentRequest::SetDocumentId
void SetDocumentId(Aws::String &&value)
Definition: DeleteCommentRequest.h:104
Aws::WorkDocs::Model::DeleteCommentRequest::WithVersionId
DeleteCommentRequest & WithVersionId(const char *value)
Definition: DeleteCommentRequest.h:165
Aws::WorkDocs::Model::DeleteCommentRequest::SetAuthenticationToken
void SetAuthenticationToken(Aws::String &&value)
Definition: DeleteCommentRequest.h:59