AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkInterfaceCount.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
31 {
32 public:
33 AWS_EC2_API NetworkInterfaceCount();
36
37 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
39
40
42
46 inline int GetMin() const{ return m_min; }
47 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
48 inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; }
49 inline NetworkInterfaceCount& WithMin(int value) { SetMin(value); return *this;}
51
53
57 inline int GetMax() const{ return m_max; }
58 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
59 inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; }
60 inline NetworkInterfaceCount& WithMax(int value) { SetMax(value); return *this;}
62 private:
63
64 int m_min;
65 bool m_minHasBeenSet = false;
66
67 int m_max;
68 bool m_maxHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace EC2
73} // namespace Aws
NetworkInterfaceCount & WithMax(int value)
AWS_EC2_API NetworkInterfaceCount(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API NetworkInterfaceCount & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
NetworkInterfaceCount & WithMin(int value)
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