AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VolumeDetail.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9
10namespace Aws
11{
12namespace Utils
13{
14namespace Xml
15{
16 class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_EC2_API VolumeDetail();
33 AWS_EC2_API VolumeDetail(const Aws::Utils::Xml::XmlNode& xmlNode);
34 AWS_EC2_API VolumeDetail& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
35
36 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
37 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
38
39
41
44 inline long long GetSize() const{ return m_size; }
45 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
46 inline void SetSize(long long value) { m_sizeHasBeenSet = true; m_size = value; }
47 inline VolumeDetail& WithSize(long long value) { SetSize(value); return *this;}
49 private:
50
51 long long m_size;
52 bool m_sizeHasBeenSet = false;
53 };
54
55} // namespace Model
56} // namespace EC2
57} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API VolumeDetail(const Aws::Utils::Xml::XmlNode &xmlNode)
VolumeDetail & WithSize(long long value)
AWS_EC2_API VolumeDetail & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetSize(long long value)
std::basic_ostream< char, std::char_traits< char > > OStream