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/elasticloadbalancing/ElasticLoadBalancing_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 ElasticLoadBalancing
22{
23namespace Model
24{
25
32 class Limit
33 {
34 public:
35 AWS_ELASTICLOADBALANCING_API Limit();
36 AWS_ELASTICLOADBALANCING_API Limit(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICLOADBALANCING_API Limit& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline Limit& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline Limit& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline Limit& WithName(const char* value) { SetName(value); return *this;}
58
60
63 inline const Aws::String& GetMax() const{ return m_max; }
64 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
65 inline void SetMax(const Aws::String& value) { m_maxHasBeenSet = true; m_max = value; }
66 inline void SetMax(Aws::String&& value) { m_maxHasBeenSet = true; m_max = std::move(value); }
67 inline void SetMax(const char* value) { m_maxHasBeenSet = true; m_max.assign(value); }
68 inline Limit& WithMax(const Aws::String& value) { SetMax(value); return *this;}
69 inline Limit& WithMax(Aws::String&& value) { SetMax(std::move(value)); return *this;}
70 inline Limit& WithMax(const char* value) { SetMax(value); return *this;}
72 private:
73
74 Aws::String m_name;
75 bool m_nameHasBeenSet = false;
76
77 Aws::String m_max;
78 bool m_maxHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace ElasticLoadBalancing
83} // namespace Aws
void SetName(Aws::String &&value)
Definition Limit.h:52
Limit & WithMax(const char *value)
Definition Limit.h:70
void SetMax(const Aws::String &value)
Definition Limit.h:65
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Limit & WithName(Aws::String &&value)
Definition Limit.h:55
AWS_ELASTICLOADBALANCING_API Limit & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCING_API Limit()
Limit & WithMax(const Aws::String &value)
Definition Limit.h:68
void SetMax(const char *value)
Definition Limit.h:67
Limit & WithName(const char *value)
Definition Limit.h:56
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Limit & WithMax(Aws::String &&value)
Definition Limit.h:69
AWS_ELASTICLOADBALANCING_API Limit(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetName(const Aws::String &value)
Definition Limit.h:51
Limit & WithName(const Aws::String &value)
Definition Limit.h:54
const Aws::String & GetMax() const
Definition Limit.h:63
void SetMax(Aws::String &&value)
Definition Limit.h:66
const Aws::String & GetName() const
Definition Limit.h:49
void SetName(const char *value)
Definition Limit.h:53
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream