AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VCpuCountRange.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 VCpuCountRange();
33 AWS_EC2_API VCpuCountRange(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
45 inline int GetMin() const{ return m_min; }
46 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
47 inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; }
48 inline VCpuCountRange& WithMin(int value) { SetMin(value); return *this;}
50
52
56 inline int GetMax() const{ return m_max; }
57 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
58 inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; }
59 inline VCpuCountRange& WithMax(int value) { SetMax(value); return *this;}
61 private:
62
63 int m_min;
64 bool m_minHasBeenSet = false;
65
66 int m_max;
67 bool m_maxHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace EC2
72} // namespace Aws
AWS_EC2_API VCpuCountRange(const Aws::Utils::Xml::XmlNode &xmlNode)
VCpuCountRange & WithMax(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VCpuCountRange & WithMin(int value)
AWS_EC2_API VCpuCountRange & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_ostream< char, std::char_traits< char > > OStream