AWS SDK for C++
AWS SDK for C++ Version 1.11.925
Main Page
Related Pages
Namespaces
Classes
Modules
Loading...
Searching...
No Matches
generated
src
aws-cpp-sdk-codecommit
include
aws
codecommit
model
GetCommentResult.h
1
6
#pragma once
7
#include <aws/codecommit/CodeCommit_EXPORTS.h>
8
#include <aws/codecommit/model/Comment.h>
9
#include <aws/core/http/HttpResponse.h>
10
#include <aws/core/utils/memory/stl/AWSString.h>
11
12
#include <utility>
13
14
namespace
Aws
{
15
template
<
typename
RESULT_TYPE>
16
class
AmazonWebServiceResult;
17
18
namespace
Utils {
19
namespace
Json {
20
class
JsonValue
;
21
}
// namespace Json
22
}
// namespace Utils
23
namespace
CodeCommit {
24
namespace
Model {
25
class
GetCommentResult
{
26
public
:
27
AWS_CODECOMMIT_API
GetCommentResult
() =
default
;
28
AWS_CODECOMMIT_API
GetCommentResult
(
const
Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>
& result);
29
AWS_CODECOMMIT_API
GetCommentResult
&
operator=
(
const
Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>
& result);
30
32
35
inline
const
Comment
&
GetComment
()
const
{
return
m_comment; }
36
template
<
typename
CommentT = Comment>
37
void
SetComment
(CommentT&& value) {
38
m_commentHasBeenSet =
true
;
39
m_comment = std::forward<CommentT>(value);
40
}
41
template
<
typename
CommentT = Comment>
42
GetCommentResult
&
WithComment
(CommentT&& value) {
43
SetComment
(std::forward<CommentT>(value));
44
return
*
this
;
45
}
47
49
50
inline
const
Aws::String
&
GetRequestId
()
const
{
return
m_requestId; }
51
template
<
typename
RequestIdT = Aws::String>
52
void
SetRequestId
(RequestIdT&& value) {
53
m_requestIdHasBeenSet =
true
;
54
m_requestId = std::forward<RequestIdT>(value);
55
}
56
template
<
typename
RequestIdT = Aws::String>
57
GetCommentResult
&
WithRequestId
(RequestIdT&& value) {
58
SetRequestId
(std::forward<RequestIdT>(value));
59
return
*
this
;
60
}
62
inline
Aws::Http::HttpResponseCode
GetHttpResponseCode
()
const
{
return
m_HttpResponseCode; }
63
64
private
:
65
Comment
m_comment;
66
67
Aws::String
m_requestId;
68
Aws::Http::HttpResponseCode
m_HttpResponseCode;
69
bool
m_commentHasBeenSet =
false
;
70
bool
m_requestIdHasBeenSet =
false
;
71
};
72
73
}
// namespace Model
74
}
// namespace CodeCommit
75
}
// namespace Aws
Aws::AmazonWebServiceResult
Definition
UpdateRepositoryEncryptionKeyResult.h:15
Aws::CodeCommit::Model::Comment
Definition
Comment.h:30
Aws::CodeCommit::Model::GetCommentResult
Definition
GetCommentResult.h:25
Aws::CodeCommit::Model::GetCommentResult::GetCommentResult
AWS_CODECOMMIT_API GetCommentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::GetCommentResult::WithRequestId
GetCommentResult & WithRequestId(RequestIdT &&value)
Definition
GetCommentResult.h:57
Aws::CodeCommit::Model::GetCommentResult::GetHttpResponseCode
Aws::Http::HttpResponseCode GetHttpResponseCode() const
Definition
GetCommentResult.h:62
Aws::CodeCommit::Model::GetCommentResult::GetRequestId
const Aws::String & GetRequestId() const
Definition
GetCommentResult.h:50
Aws::CodeCommit::Model::GetCommentResult::SetRequestId
void SetRequestId(RequestIdT &&value)
Definition
GetCommentResult.h:52
Aws::CodeCommit::Model::GetCommentResult::GetCommentResult
AWS_CODECOMMIT_API GetCommentResult()=default
Aws::CodeCommit::Model::GetCommentResult::WithComment
GetCommentResult & WithComment(CommentT &&value)
Definition
GetCommentResult.h:42
Aws::CodeCommit::Model::GetCommentResult::SetComment
void SetComment(CommentT &&value)
Definition
GetCommentResult.h:37
Aws::CodeCommit::Model::GetCommentResult::operator=
AWS_CODECOMMIT_API GetCommentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::GetCommentResult::GetComment
const Comment & GetComment() const
Definition
GetCommentResult.h:35
Aws::Http::HttpResponseCode
HttpResponseCode
Aws
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
smithy::client::JsonValue
Aws::Utils::Json::JsonValue JsonValue
Generated by
1.12.0
Privacy |
Site terms |
Cookie preferences