AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AcceleratorCountRequest.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
33 {
34 public:
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
48 inline int GetMin() const{ return m_min; }
49 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
50 inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; }
51 inline AcceleratorCountRequest& WithMin(int value) { SetMin(value); return *this;}
53
55
60 inline int GetMax() const{ return m_max; }
61 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
62 inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; }
63 inline AcceleratorCountRequest& WithMax(int value) { SetMax(value); return *this;}
65 private:
66
67 int m_min;
68 bool m_minHasBeenSet = false;
69
70 int m_max;
71 bool m_maxHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace EC2
76} // namespace Aws
AWS_EC2_API AcceleratorCountRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AcceleratorCountRequest & WithMax(int value)
AcceleratorCountRequest & WithMin(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API AcceleratorCountRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream