AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ValueT = Aws::Utils::ByteBuffer>
42 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
43 template<typename ValueT = Aws::Utils::ByteBuffer>
44 BlobAttributeValue& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
46 private:
47
48 Aws::Utils::ByteBuffer m_value{};
49 bool m_valueHasBeenSet = false;
50 };
51
52} // namespace Model
53} // namespace EC2
54} // namespace Aws
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(ValueT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API BlobAttributeValue()=default
const Aws::Utils::ByteBuffer & GetValue() const
AWS_EC2_API BlobAttributeValue(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream