AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BlobAttributeValue.h
1
6#pragma once
7#include <aws/ec2/EC2_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 EC2
22{
23namespace Model
24{
25
27 {
28 public:
29 AWS_EC2_API BlobAttributeValue();
30 AWS_EC2_API BlobAttributeValue(const Aws::Utils::Xml::XmlNode& xmlNode);
32
33 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
34 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
35
36
38
39 inline const Aws::Utils::ByteBuffer& GetValue() const{ return m_value; }
40 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
41 inline void SetValue(const Aws::Utils::ByteBuffer& value) { m_valueHasBeenSet = true; m_value = value; }
42 inline void SetValue(Aws::Utils::ByteBuffer&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
43 inline BlobAttributeValue& WithValue(const Aws::Utils::ByteBuffer& value) { SetValue(value); return *this;}
44 inline BlobAttributeValue& WithValue(Aws::Utils::ByteBuffer&& value) { SetValue(std::move(value)); return *this;}
46 private:
47
49 bool m_valueHasBeenSet = false;
50 };
51
52} // namespace Model
53} // namespace EC2
54} // namespace Aws
void SetValue(Aws::Utils::ByteBuffer &&value)
AWS_EC2_API BlobAttributeValue & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
BlobAttributeValue & WithValue(const Aws::Utils::ByteBuffer &value)
void SetValue(const Aws::Utils::ByteBuffer &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Utils::ByteBuffer & GetValue() const
BlobAttributeValue & WithValue(Aws::Utils::ByteBuffer &&value)
AWS_EC2_API BlobAttributeValue(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream