AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RawMessage.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/Array.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace SES
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SES_API RawMessage();
35 AWS_SES_API RawMessage(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_SES_API RawMessage& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
60 inline const Aws::Utils::ByteBuffer& GetData() const{ return m_data; }
61 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
62 inline void SetData(const Aws::Utils::ByteBuffer& value) { m_dataHasBeenSet = true; m_data = value; }
63 inline void SetData(Aws::Utils::ByteBuffer&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
64 inline RawMessage& WithData(const Aws::Utils::ByteBuffer& value) { SetData(value); return *this;}
65 inline RawMessage& WithData(Aws::Utils::ByteBuffer&& value) { SetData(std::move(value)); return *this;}
67 private:
68
70 bool m_dataHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SES
75} // namespace Aws
void SetData(Aws::Utils::ByteBuffer &&value)
Definition RawMessage.h:63
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_SES_API RawMessage & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Utils::ByteBuffer & GetData() const
Definition RawMessage.h:60
void SetData(const Aws::Utils::ByteBuffer &value)
Definition RawMessage.h:62
RawMessage & WithData(Aws::Utils::ByteBuffer &&value)
Definition RawMessage.h:65
AWS_SES_API RawMessage(const Aws::Utils::Xml::XmlNode &xmlNode)
RawMessage & WithData(const Aws::Utils::ByteBuffer &value)
Definition RawMessage.h:64
std::basic_ostream< char, std::char_traits< char > > OStream