AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Limit.h
1
6#pragma once
7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace ElasticLoadBalancingv2
22{
23namespace Model
24{
25
39 class Limit
40 {
41 public:
42 AWS_ELASTICLOADBALANCINGV2_API Limit();
43 AWS_ELASTICLOADBALANCINGV2_API Limit(const Aws::Utils::Xml::XmlNode& xmlNode);
44 AWS_ELASTICLOADBALANCINGV2_API Limit& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
45
46 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
47 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
48
49
51
70 inline const Aws::String& GetName() const{ return m_name; }
71 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
72 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
73 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
74 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
75 inline Limit& WithName(const Aws::String& value) { SetName(value); return *this;}
76 inline Limit& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 inline Limit& WithName(const char* value) { SetName(value); return *this;}
79
81
84 inline const Aws::String& GetMax() const{ return m_max; }
85 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
86 inline void SetMax(const Aws::String& value) { m_maxHasBeenSet = true; m_max = value; }
87 inline void SetMax(Aws::String&& value) { m_maxHasBeenSet = true; m_max = std::move(value); }
88 inline void SetMax(const char* value) { m_maxHasBeenSet = true; m_max.assign(value); }
89 inline Limit& WithMax(const Aws::String& value) { SetMax(value); return *this;}
90 inline Limit& WithMax(Aws::String&& value) { SetMax(std::move(value)); return *this;}
91 inline Limit& WithMax(const char* value) { SetMax(value); return *this;}
93 private:
94
95 Aws::String m_name;
96 bool m_nameHasBeenSet = false;
97
98 Aws::String m_max;
99 bool m_maxHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace ElasticLoadBalancingv2
104} // namespace Aws
Limit & WithName(const char *value)
Definition Limit.h:77
Limit & WithMax(const Aws::String &value)
Definition Limit.h:89
Limit & WithName(const Aws::String &value)
Definition Limit.h:75
AWS_ELASTICLOADBALANCINGV2_API Limit(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetMax() const
Definition Limit.h:84
Limit & WithMax(Aws::String &&value)
Definition Limit.h:90
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICLOADBALANCINGV2_API Limit & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetName(const char *value)
Definition Limit.h:74
const Aws::String & GetName() const
Definition Limit.h:70
void SetMax(Aws::String &&value)
Definition Limit.h:87
void SetName(Aws::String &&value)
Definition Limit.h:73
AWS_ELASTICLOADBALANCINGV2_API Limit()
Limit & WithMax(const char *value)
Definition Limit.h:91
void SetMax(const char *value)
Definition Limit.h:88
void SetName(const Aws::String &value)
Definition Limit.h:72
Limit & WithName(Aws::String &&value)
Definition Limit.h:76
void SetMax(const Aws::String &value)
Definition Limit.h:86
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream