AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
SecureBlobAttributeValue.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2 {
20namespace Model {
21
23 public:
24 AWS_EC2_API SecureBlobAttributeValue() = default;
27
28 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
29 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
30
32
33 inline const Aws::Utils::CryptoBuffer& GetValue() const { return m_value; }
34 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
35 template <typename ValueT = Aws::Utils::CryptoBuffer>
36 void SetValue(ValueT&& value) {
37 m_valueHasBeenSet = true;
38 m_value = std::forward<ValueT>(value);
39 }
40 template <typename ValueT = Aws::Utils::CryptoBuffer>
42 SetValue(std::forward<ValueT>(value));
43 return *this;
44 }
46 private:
48 bool m_valueHasBeenSet = false;
49};
50
51} // namespace Model
52} // namespace EC2
53} // namespace Aws
AWS_EC2_API SecureBlobAttributeValue()=default
AWS_EC2_API SecureBlobAttributeValue & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SecureBlobAttributeValue & WithValue(ValueT &&value)
AWS_EC2_API SecureBlobAttributeValue(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Utils::CryptoBuffer & GetValue() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_ostream< char, std::char_traits< char > > OStream