AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AccountLimit.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/model/AccountLimitType.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace Route53
21{
22namespace Model
23{
24
32 {
33 public:
34 AWS_ROUTE53_API AccountLimit() = default;
35 AWS_ROUTE53_API AccountLimit(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_ROUTE53_API AccountLimit& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
57 inline AccountLimitType GetType() const { return m_type; }
58 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
59 inline void SetType(AccountLimitType value) { m_typeHasBeenSet = true; m_type = value; }
60 inline AccountLimit& WithType(AccountLimitType value) { SetType(value); return *this;}
62
64
68 inline long long GetValue() const { return m_value; }
69 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
70 inline void SetValue(long long value) { m_valueHasBeenSet = true; m_value = value; }
71 inline AccountLimit& WithValue(long long value) { SetValue(value); return *this;}
73 private:
74
76 bool m_typeHasBeenSet = false;
77
78 long long m_value{0};
79 bool m_valueHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Route53
84} // namespace Aws
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AccountLimitType GetType() const
void SetType(AccountLimitType value)
AWS_ROUTE53_API AccountLimit & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AccountLimit & WithValue(long long value)
AWS_ROUTE53_API AccountLimit(const Aws::Utils::Xml::XmlNode &xmlNode)
AccountLimit & WithType(AccountLimitType value)
AWS_ROUTE53_API AccountLimit()=default
void SetValue(long long value)