AWS SDK for C++
AWS SDK for C++ Version 1.11.943
Main Page
Related Pages
Namespaces
Classes
Modules
Loading...
Searching...
No Matches
generated
src
aws-cpp-sdk-assurance
include
aws
assurance
model
CreateCommentResult.h
1
6
#pragma once
7
#include <aws/assurance/Assurance_EXPORTS.h>
8
#include <aws/core/http/HttpResponse.h>
9
#include <aws/core/utils/memory/stl/AWSString.h>
10
#include <aws/crt/cbor/Cbor.h>
11
12
#include <utility>
13
namespace
Aws
{
14
template
<
typename
RESULT_TYPE>
15
class
AmazonWebServiceResult;
16
17
namespace
Utils {
18
namespace
Cbor {
19
class
CborValue;
20
}
// namespace Cbor
21
}
// namespace Utils
22
namespace
Assurance {
23
namespace
Model {
24
class
CreateCommentResult
{
25
public
:
26
AWS_ASSURANCE_API
CreateCommentResult
() =
default
;
27
AWS_ASSURANCE_API
CreateCommentResult
(
const
Aws::AmazonWebServiceResult<Aws::Utils::Cbor::CborValue>
& result);
28
AWS_ASSURANCE_API
CreateCommentResult
&
operator=
(
const
Aws::AmazonWebServiceResult<Aws::Utils::Cbor::CborValue>
& result);
29
31
34
inline
const
Aws::String
&
GetCommentId
()
const
{
return
m_commentId; }
35
template
<
typename
CommentIdT = Aws::String>
36
void
SetCommentId
(CommentIdT&& value) {
37
m_commentIdHasBeenSet =
true
;
38
m_commentId = std::forward<CommentIdT>(value);
39
}
40
template
<
typename
CommentIdT = Aws::String>
41
CreateCommentResult
&
WithCommentId
(CommentIdT&& value) {
42
SetCommentId
(std::forward<CommentIdT>(value));
43
return
*
this
;
44
}
46
48
49
inline
const
Aws::String
&
GetRequestId
()
const
{
return
m_requestId; }
50
template
<
typename
RequestIdT = Aws::String>
51
void
SetRequestId
(RequestIdT&& value) {
52
m_requestIdHasBeenSet =
true
;
53
m_requestId = std::forward<RequestIdT>(value);
54
}
55
template
<
typename
RequestIdT = Aws::String>
56
CreateCommentResult
&
WithRequestId
(RequestIdT&& value) {
57
SetRequestId
(std::forward<RequestIdT>(value));
58
return
*
this
;
59
}
61
inline
Aws::Http::HttpResponseCode
GetHttpResponseCode
()
const
{
return
m_HttpResponseCode; }
62
63
private
:
64
Aws::String
m_commentId;
65
66
Aws::String
m_requestId;
67
Aws::Http::HttpResponseCode
m_HttpResponseCode;
68
bool
m_commentIdHasBeenSet =
false
;
69
bool
m_requestIdHasBeenSet =
false
;
70
};
71
72
}
// namespace Model
73
}
// namespace Assurance
74
}
// namespace Aws
Aws::AmazonWebServiceResult
Definition
UpdateTaskResult.h:16
Aws::Assurance::Model::CreateCommentResult
Definition
CreateCommentResult.h:24
Aws::Assurance::Model::CreateCommentResult::WithCommentId
CreateCommentResult & WithCommentId(CommentIdT &&value)
Definition
CreateCommentResult.h:41
Aws::Assurance::Model::CreateCommentResult::SetCommentId
void SetCommentId(CommentIdT &&value)
Definition
CreateCommentResult.h:36
Aws::Assurance::Model::CreateCommentResult::GetHttpResponseCode
Aws::Http::HttpResponseCode GetHttpResponseCode() const
Definition
CreateCommentResult.h:61
Aws::Assurance::Model::CreateCommentResult::GetCommentId
const Aws::String & GetCommentId() const
Definition
CreateCommentResult.h:34
Aws::Assurance::Model::CreateCommentResult::GetRequestId
const Aws::String & GetRequestId() const
Definition
CreateCommentResult.h:49
Aws::Assurance::Model::CreateCommentResult::SetRequestId
void SetRequestId(RequestIdT &&value)
Definition
CreateCommentResult.h:51
Aws::Assurance::Model::CreateCommentResult::operator=
AWS_ASSURANCE_API CreateCommentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
Aws::Assurance::Model::CreateCommentResult::WithRequestId
CreateCommentResult & WithRequestId(RequestIdT &&value)
Definition
CreateCommentResult.h:56
Aws::Assurance::Model::CreateCommentResult::CreateCommentResult
AWS_ASSURANCE_API CreateCommentResult()=default
Aws::Assurance::Model::CreateCommentResult::CreateCommentResult
AWS_ASSURANCE_API CreateCommentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
Aws::Http::HttpResponseCode
HttpResponseCode
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