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
BatchGetCommentError.h
1
6
#pragma once
7
#include <aws/assurance/Assurance_EXPORTS.h>
8
#include <aws/assurance/model/CommentKey.h>
9
#include <aws/core/utils/memory/stl/AWSString.h>
10
#include <aws/crt/cbor/Cbor.h>
11
12
#include <utility>
13
14
namespace
Aws
{
15
namespace
Utils {
16
namespace
Cbor {
17
class
CborValue;
18
}
// namespace Cbor
19
}
// namespace Utils
20
namespace
Assurance {
21
namespace
Model {
22
29
class
BatchGetCommentError
{
30
public
:
31
AWS_ASSURANCE_API
BatchGetCommentError
() =
default
;
32
AWS_ASSURANCE_API
BatchGetCommentError
(
const
std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33
AWS_ASSURANCE_API
BatchGetCommentError
&
operator=
(
const
std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34
AWS_ASSURANCE_API
void
CborEncode
(Aws::Crt::Cbor::CborEncoder& encoder)
const
;
35
37
40
inline
const
CommentKey
&
GetKey
()
const
{
return
m_key; }
41
inline
bool
KeyHasBeenSet
()
const
{
return
m_keyHasBeenSet; }
42
template
<
typename
KeyT = CommentKey>
43
void
SetKey
(KeyT&& value) {
44
m_keyHasBeenSet =
true
;
45
m_key = std::forward<KeyT>(value);
46
}
47
template
<
typename
KeyT = CommentKey>
48
BatchGetCommentError
&
WithKey
(KeyT&& value) {
49
SetKey
(std::forward<KeyT>(value));
50
return
*
this
;
51
}
53
55
59
inline
const
Aws::String
&
GetCode
()
const
{
return
m_code; }
60
inline
bool
CodeHasBeenSet
()
const
{
return
m_codeHasBeenSet; }
61
template
<
typename
CodeT = Aws::String>
62
void
SetCode
(CodeT&& value) {
63
m_codeHasBeenSet =
true
;
64
m_code = std::forward<CodeT>(value);
65
}
66
template
<
typename
CodeT = Aws::String>
67
BatchGetCommentError
&
WithCode
(CodeT&& value) {
68
SetCode
(std::forward<CodeT>(value));
69
return
*
this
;
70
}
72
74
79
inline
const
Aws::String
&
GetMessage
()
const
{
return
m_message; }
80
inline
bool
MessageHasBeenSet
()
const
{
return
m_messageHasBeenSet; }
81
template
<
typename
MessageT = Aws::String>
82
void
SetMessage
(MessageT&& value) {
83
m_messageHasBeenSet =
true
;
84
m_message = std::forward<MessageT>(value);
85
}
86
template
<
typename
MessageT = Aws::String>
87
BatchGetCommentError
&
WithMessage
(MessageT&& value) {
88
SetMessage
(std::forward<MessageT>(value));
89
return
*
this
;
90
}
92
private
:
93
CommentKey
m_key;
94
95
Aws::String
m_code;
96
97
Aws::String
m_message;
98
bool
m_keyHasBeenSet =
false
;
99
bool
m_codeHasBeenSet =
false
;
100
bool
m_messageHasBeenSet =
false
;
101
};
102
103
}
// namespace Model
104
}
// namespace Assurance
105
}
// namespace Aws
Aws::Assurance::Model::BatchGetCommentError
Definition
BatchGetCommentError.h:29
Aws::Assurance::Model::BatchGetCommentError::WithKey
BatchGetCommentError & WithKey(KeyT &&value)
Definition
BatchGetCommentError.h:48
Aws::Assurance::Model::BatchGetCommentError::CodeHasBeenSet
bool CodeHasBeenSet() const
Definition
BatchGetCommentError.h:60
Aws::Assurance::Model::BatchGetCommentError::GetKey
const CommentKey & GetKey() const
Definition
BatchGetCommentError.h:40
Aws::Assurance::Model::BatchGetCommentError::BatchGetCommentError
AWS_ASSURANCE_API BatchGetCommentError(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
Aws::Assurance::Model::BatchGetCommentError::WithCode
BatchGetCommentError & WithCode(CodeT &&value)
Definition
BatchGetCommentError.h:67
Aws::Assurance::Model::BatchGetCommentError::SetKey
void SetKey(KeyT &&value)
Definition
BatchGetCommentError.h:43
Aws::Assurance::Model::BatchGetCommentError::GetCode
const Aws::String & GetCode() const
Definition
BatchGetCommentError.h:59
Aws::Assurance::Model::BatchGetCommentError::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition
BatchGetCommentError.h:80
Aws::Assurance::Model::BatchGetCommentError::operator=
AWS_ASSURANCE_API BatchGetCommentError & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
Aws::Assurance::Model::BatchGetCommentError::KeyHasBeenSet
bool KeyHasBeenSet() const
Definition
BatchGetCommentError.h:41
Aws::Assurance::Model::BatchGetCommentError::CborEncode
AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
Aws::Assurance::Model::BatchGetCommentError::BatchGetCommentError
AWS_ASSURANCE_API BatchGetCommentError()=default
Aws::Assurance::Model::BatchGetCommentError::SetMessage
void SetMessage(MessageT &&value)
Definition
BatchGetCommentError.h:82
Aws::Assurance::Model::BatchGetCommentError::WithMessage
BatchGetCommentError & WithMessage(MessageT &&value)
Definition
BatchGetCommentError.h:87
Aws::Assurance::Model::BatchGetCommentError::GetMessage
const Aws::String & GetMessage() const
Definition
BatchGetCommentError.h:79
Aws::Assurance::Model::BatchGetCommentError::SetCode
void SetCode(CodeT &&value)
Definition
BatchGetCommentError.h:62
Aws::Assurance::Model::CommentKey
Definition
CommentKey.h:28
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