AWS SDK for C++
1.8.152
AWS SDK for C++
aws-cpp-sdk-codecommit
include
aws
codecommit
model
GetCommentResult.h
Go to the documentation of this file.
1
6
#pragma once
7
#include <
aws/codecommit/CodeCommit_EXPORTS.h
>
8
#include <
aws/codecommit/model/Comment.h
>
9
#include <utility>
10
11
namespace
Aws
12
{
13
template
<
typename
RESULT_TYPE>
14
class
AmazonWebServiceResult;
15
16
namespace
Utils
17
{
18
namespace
Json
19
{
20
class
JsonValue;
21
}
// namespace Json
22
}
// namespace Utils
23
namespace
CodeCommit
24
{
25
namespace
Model
26
{
27
class
AWS_CODECOMMIT_API
GetCommentResult
28
{
29
public
:
30
GetCommentResult
();
31
GetCommentResult
(
const
Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>
& result);
32
GetCommentResult
&
operator=
(
const
Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>
& result);
33
34
38
inline
const
Comment
&
GetComment
()
const
{
return
m_comment; }
39
43
inline
void
SetComment
(
const
Comment
& value) { m_comment = value; }
44
48
inline
void
SetComment
(
Comment
&& value) { m_comment = std::move(value); }
49
53
inline
GetCommentResult
&
WithComment
(
const
Comment
& value) { SetComment(value);
return
*
this
;}
54
58
inline
GetCommentResult
&
WithComment
(
Comment
&& value) { SetComment(std::move(value));
return
*
this
;}
59
60
private
:
61
62
Comment
m_comment;
63
};
64
65
}
// namespace Model
66
}
// namespace CodeCommit
67
}
// namespace Aws
Aws::CodeCommit::Model::GetCommentResult::SetComment
void SetComment(Comment &&value)
Definition:
GetCommentResult.h:48
Aws::AmazonWebServiceResult
Definition:
AmazonWebServiceResult.h:19
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::Comment
Definition:
Comment.h:35
Comment.h
Aws::CodeCommit::Model::GetCommentResult::GetCommentResult
GetCommentResult()
Aws::CodeCommit::Model::GetCommentResult::GetCommentResult
GetCommentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::GetCommentResult::WithComment
GetCommentResult & WithComment(Comment &&value)
Definition:
GetCommentResult.h:58
Aws::CodeCommit::Model::GetCommentResult::GetComment
const Comment & GetComment() const
Definition:
GetCommentResult.h:38
Aws::CodeCommit::Model::GetCommentResult::SetComment
void SetComment(const Comment &value)
Definition:
GetCommentResult.h:43
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition:
CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::GetCommentResult::operator=
GetCommentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::GetCommentResult::WithComment
GetCommentResult & WithComment(const Comment &value)
Definition:
GetCommentResult.h:53
Aws::CodeCommit::Model::GetCommentResult
Definition:
GetCommentResult.h:28
Aws
Definition:
AccessManagementClient.h:15
Generated by
1.8.19
Privacy |
Site terms |
Cookie preferences