AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Storage.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/S3Storage.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
32 class Storage
33 {
34 public:
35 AWS_EC2_API Storage();
36 AWS_EC2_API Storage(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_EC2_API Storage& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const S3Storage& GetS3() const{ return m_s3; }
48 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
49 inline void SetS3(const S3Storage& value) { m_s3HasBeenSet = true; m_s3 = value; }
50 inline void SetS3(S3Storage&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); }
51 inline Storage& WithS3(const S3Storage& value) { SetS3(value); return *this;}
52 inline Storage& WithS3(S3Storage&& value) { SetS3(std::move(value)); return *this;}
54 private:
55
56 S3Storage m_s3;
57 bool m_s3HasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace EC2
62} // namespace Aws
bool S3HasBeenSet() const
Definition Storage.h:48
void SetS3(const S3Storage &value)
Definition Storage.h:49
AWS_EC2_API Storage & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API Storage(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetS3(S3Storage &&value)
Definition Storage.h:50
Storage & WithS3(const S3Storage &value)
Definition Storage.h:51
Storage & WithS3(S3Storage &&value)
Definition Storage.h:52
const S3Storage & GetS3() const
Definition Storage.h:47
std::basic_ostream< char, std::char_traits< char > > OStream