AWS SDK for C++  1.8.129
AWS SDK for C++
RawMessage.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <aws/core/utils/Array.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace SES
22 {
23 namespace Model
24 {
25 
32  {
33  public:
37 
38  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39  void OutputToStream(Aws::OStream& oStream, const char* location) const;
40 
41 
58  inline const Aws::Utils::ByteBuffer& GetData() const{ return m_data; }
59 
76  inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
77 
94  inline void SetData(const Aws::Utils::ByteBuffer& value) { m_dataHasBeenSet = true; m_data = value; }
95 
112  inline void SetData(Aws::Utils::ByteBuffer&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
113 
130  inline RawMessage& WithData(const Aws::Utils::ByteBuffer& value) { SetData(value); return *this;}
131 
148  inline RawMessage& WithData(Aws::Utils::ByteBuffer&& value) { SetData(std::move(value)); return *this;}
149 
150  private:
151 
152  Aws::Utils::ByteBuffer m_data;
153  bool m_dataHasBeenSet;
154  };
155 
156 } // namespace Model
157 } // namespace SES
158 } // namespace Aws
AWSStreamFwd.h
Aws::SES::Model::RawMessage::WithData
RawMessage & WithData(Aws::Utils::ByteBuffer &&value)
Definition: RawMessage.h:148
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::RawMessage
Definition: RawMessage.h:32
Aws::SES::Model::RawMessage::RawMessage
RawMessage()
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::RawMessage::SetData
void SetData(Aws::Utils::ByteBuffer &&value)
Definition: RawMessage.h:112
Aws::SES::Model::RawMessage::DataHasBeenSet
bool DataHasBeenSet() const
Definition: RawMessage.h:76
Aws::Utils::Array< unsigned char >
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::RawMessage::GetData
const Aws::Utils::ByteBuffer & GetData() const
Definition: RawMessage.h:58
Aws::SES::Model::RawMessage::WithData
RawMessage & WithData(const Aws::Utils::ByteBuffer &value)
Definition: RawMessage.h:130
Aws
Definition: AccessManagementClient.h:15
Array.h
Aws::SES::Model::RawMessage::operator=
RawMessage & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::RawMessage::RawMessage
RawMessage(const Aws::Utils::Xml::XmlNode &xmlNode)
index
int index
Definition: cJSON.h:171
Aws::SES::Model::RawMessage::SetData
void SetData(const Aws::Utils::ByteBuffer &value)
Definition: RawMessage.h:94
Aws::SES::Model::RawMessage::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SES::Model::RawMessage::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const