AWS SDK for C++
AWS SDK for C++ Version 1.11.935
Main Page
Related Pages
Namespaces
Classes
Modules
Loading...
Searching...
No Matches
generated
src
aws-cpp-sdk-codecommit
include
aws
codecommit
model
DeleteCommentContentRequest.h
1
6
#pragma once
7
#include <aws/codecommit/CodeCommitRequest.h>
8
#include <aws/codecommit/CodeCommit_EXPORTS.h>
9
#include <aws/core/utils/memory/stl/AWSString.h>
10
11
#include <utility>
12
13
namespace
Aws
{
14
namespace
CodeCommit {
15
namespace
Model {
16
19
class
DeleteCommentContentRequest
:
public
CodeCommitRequest
{
20
public
:
21
AWS_CODECOMMIT_API
DeleteCommentContentRequest
() =
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
"DeleteCommentContent"
; }
28
29
AWS_CODECOMMIT_API
Aws::String
SerializePayload
()
const override
;
30
31
AWS_CODECOMMIT_API
Aws::Http::HeaderValueCollection
GetRequestSpecificHeaders
()
const override
;
32
34
38
inline
const
Aws::String
&
GetCommentId
()
const
{
return
m_commentId; }
39
inline
bool
CommentIdHasBeenSet
()
const
{
return
m_commentIdHasBeenSet; }
40
template
<
typename
CommentIdT = Aws::String>
41
void
SetCommentId
(CommentIdT&& value) {
42
m_commentIdHasBeenSet =
true
;
43
m_commentId = std::forward<CommentIdT>(value);
44
}
45
template
<
typename
CommentIdT = Aws::String>
46
DeleteCommentContentRequest
&
WithCommentId
(CommentIdT&& value) {
47
SetCommentId
(std::forward<CommentIdT>(value));
48
return
*
this
;
49
}
51
private
:
52
Aws::String
m_commentId;
53
bool
m_commentIdHasBeenSet =
false
;
54
};
55
56
}
// namespace Model
57
}
// namespace CodeCommit
58
}
// namespace Aws
Aws::CodeCommit::CodeCommitRequest
Definition
CodeCommitRequest.h:15
Aws::CodeCommit::Model::DeleteCommentContentRequest
Definition
DeleteCommentContentRequest.h:19
Aws::CodeCommit::Model::DeleteCommentContentRequest::SetCommentId
void SetCommentId(CommentIdT &&value)
Definition
DeleteCommentContentRequest.h:41
Aws::CodeCommit::Model::DeleteCommentContentRequest::SerializePayload
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
Aws::CodeCommit::Model::DeleteCommentContentRequest::GetRequestSpecificHeaders
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::CodeCommit::Model::DeleteCommentContentRequest::CommentIdHasBeenSet
bool CommentIdHasBeenSet() const
Definition
DeleteCommentContentRequest.h:39
Aws::CodeCommit::Model::DeleteCommentContentRequest::GetCommentId
const Aws::String & GetCommentId() const
Definition
DeleteCommentContentRequest.h:38
Aws::CodeCommit::Model::DeleteCommentContentRequest::DeleteCommentContentRequest
AWS_CODECOMMIT_API DeleteCommentContentRequest()=default
Aws::CodeCommit::Model::DeleteCommentContentRequest::WithCommentId
DeleteCommentContentRequest & WithCommentId(CommentIdT &&value)
Definition
DeleteCommentContentRequest.h:46
Aws::CodeCommit::Model::DeleteCommentContentRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition
DeleteCommentContentRequest.h:27
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Aws
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Generated by
1.12.0
Privacy |
Site terms |
Cookie preferences