AWS SDK for C++  1.9.159
AWS SDK for C++
RawMessage.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/core/utils/Array.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SESV2
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
54  inline const Aws::Utils::ByteBuffer& GetData() const{ return m_data; }
55 
70  inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
71 
86  inline void SetData(const Aws::Utils::ByteBuffer& value) { m_dataHasBeenSet = true; m_data = value; }
87 
102  inline void SetData(Aws::Utils::ByteBuffer&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
103 
118  inline RawMessage& WithData(const Aws::Utils::ByteBuffer& value) { SetData(value); return *this;}
119 
134  inline RawMessage& WithData(Aws::Utils::ByteBuffer&& value) { SetData(std::move(value)); return *this;}
135 
136  private:
137 
138  Aws::Utils::ByteBuffer m_data;
139  bool m_dataHasBeenSet;
140  };
141 
142 } // namespace Model
143 } // namespace SESV2
144 } // namespace Aws
Aws::SESV2::Model::RawMessage::DataHasBeenSet
bool DataHasBeenSet() const
Definition: RawMessage.h:70
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::RawMessage
Definition: RawMessage.h:32
Aws::SESV2::Model::RawMessage::RawMessage
RawMessage(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::RawMessage::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::RawMessage::SetData
void SetData(Aws::Utils::ByteBuffer &&value)
Definition: RawMessage.h:102
Aws::SESV2::Model::RawMessage::GetData
const Aws::Utils::ByteBuffer & GetData() const
Definition: RawMessage.h:54
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Array< unsigned char >
Aws::SESV2::Model::RawMessage::operator=
RawMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
Aws::SESV2::Model::RawMessage::SetData
void SetData(const Aws::Utils::ByteBuffer &value)
Definition: RawMessage.h:86
Aws::SESV2::Model::RawMessage::WithData
RawMessage & WithData(const Aws::Utils::ByteBuffer &value)
Definition: RawMessage.h:118
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::RawMessage::RawMessage
RawMessage()
Array.h
Aws::SESV2::Model::RawMessage::WithData
RawMessage & WithData(Aws::Utils::ByteBuffer &&value)
Definition: RawMessage.h:134