AWS SDK for C++  1.9.72
AWS SDK for C++
VolumeDetail.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
9 
10 namespace Aws
11 {
12 namespace Utils
13 {
14 namespace Xml
15 {
16  class XmlNode;
17 } // namespace Xml
18 } // namespace Utils
19 namespace EC2
20 {
21 namespace Model
22 {
23 
30  {
31  public:
35 
36  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
37  void OutputToStream(Aws::OStream& oStream, const char* location) const;
38 
39 
43  inline long long GetSize() const{ return m_size; }
44 
48  inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
49 
53  inline void SetSize(long long value) { m_sizeHasBeenSet = true; m_size = value; }
54 
58  inline VolumeDetail& WithSize(long long value) { SetSize(value); return *this;}
59 
60  private:
61 
62  long long m_size;
63  bool m_sizeHasBeenSet;
64  };
65 
66 } // namespace Model
67 } // namespace EC2
68 } // namespace Aws
Aws::EC2::Model::VolumeDetail::SizeHasBeenSet
bool SizeHasBeenSet() const
Definition: VolumeDetail.h:48
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::VolumeDetail
Definition: VolumeDetail.h:30
Aws::EC2::Model::VolumeDetail::VolumeDetail
VolumeDetail()
Aws::EC2::Model::VolumeDetail::WithSize
VolumeDetail & WithSize(long long value)
Definition: VolumeDetail.h:58
AWSStreamFwd.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::VolumeDetail::operator=
VolumeDetail & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::VolumeDetail::SetSize
void SetSize(long long value)
Definition: VolumeDetail.h:53
index
int index
Definition: cJSON.h:181
EC2_EXPORTS.h
Aws::EC2::Model::VolumeDetail::VolumeDetail
VolumeDetail(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::VolumeDetail::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::VolumeDetail::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::VolumeDetail::GetSize
long long GetSize() const
Definition: VolumeDetail.h:43