AWS SDK for C++
AWS SDK for C++ Version 1.11.945
Main Page
Related Pages
Namespaces
Classes
Modules
Loading...
Searching...
No Matches
generated
src
aws-cpp-sdk-codecommit
include
aws
codecommit
model
UpdateCommentRequest.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
UpdateCommentRequest
:
public
CodeCommitRequest
{
20
public
:
21
AWS_CODECOMMIT_API
UpdateCommentRequest
() =
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
"UpdateComment"
; }
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
UpdateCommentRequest
&
WithCommentId
(CommentIdT&& value) {
47
SetCommentId
(std::forward<CommentIdT>(value));
48
return
*
this
;
49
}
51
53
56
inline
const
Aws::String
&
GetContent
()
const
{
return
m_content; }
57
inline
bool
ContentHasBeenSet
()
const
{
return
m_contentHasBeenSet; }
58
template
<
typename
ContentT = Aws::String>
59
void
SetContent
(ContentT&& value) {
60
m_contentHasBeenSet =
true
;
61
m_content = std::forward<ContentT>(value);
62
}
63
template
<
typename
ContentT = Aws::String>
64
UpdateCommentRequest
&
WithContent
(ContentT&& value) {
65
SetContent
(std::forward<ContentT>(value));
66
return
*
this
;
67
}
69
private
:
70
Aws::String
m_commentId;
71
72
Aws::String
m_content;
73
bool
m_commentIdHasBeenSet =
false
;
74
bool
m_contentHasBeenSet =
false
;
75
};
76
77
}
// namespace Model
78
}
// namespace CodeCommit
79
}
// namespace Aws
Aws::CodeCommit::CodeCommitRequest
Definition
CodeCommitRequest.h:15
Aws::CodeCommit::Model::UpdateCommentRequest
Definition
UpdateCommentRequest.h:19
Aws::CodeCommit::Model::UpdateCommentRequest::SetCommentId
void SetCommentId(CommentIdT &&value)
Definition
UpdateCommentRequest.h:41
Aws::CodeCommit::Model::UpdateCommentRequest::GetContent
const Aws::String & GetContent() const
Definition
UpdateCommentRequest.h:56
Aws::CodeCommit::Model::UpdateCommentRequest::UpdateCommentRequest
AWS_CODECOMMIT_API UpdateCommentRequest()=default
Aws::CodeCommit::Model::UpdateCommentRequest::GetCommentId
const Aws::String & GetCommentId() const
Definition
UpdateCommentRequest.h:38
Aws::CodeCommit::Model::UpdateCommentRequest::GetRequestSpecificHeaders
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::CodeCommit::Model::UpdateCommentRequest::WithCommentId
UpdateCommentRequest & WithCommentId(CommentIdT &&value)
Definition
UpdateCommentRequest.h:46
Aws::CodeCommit::Model::UpdateCommentRequest::WithContent
UpdateCommentRequest & WithContent(ContentT &&value)
Definition
UpdateCommentRequest.h:64
Aws::CodeCommit::Model::UpdateCommentRequest::SetContent
void SetContent(ContentT &&value)
Definition
UpdateCommentRequest.h:59
Aws::CodeCommit::Model::UpdateCommentRequest::ContentHasBeenSet
bool ContentHasBeenSet() const
Definition
UpdateCommentRequest.h:57
Aws::CodeCommit::Model::UpdateCommentRequest::CommentIdHasBeenSet
bool CommentIdHasBeenSet() const
Definition
UpdateCommentRequest.h:39
Aws::CodeCommit::Model::UpdateCommentRequest::SerializePayload
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
Aws::CodeCommit::Model::UpdateCommentRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition
UpdateCommentRequest.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