AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Xml {
15class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace Route53 {
19namespace Model {
20
28 public:
29 AWS_ROUTE53_API AccountLimit() = default;
30 AWS_ROUTE53_API AccountLimit(const Aws::Utils::Xml::XmlNode& xmlNode);
31 AWS_ROUTE53_API AccountLimit& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
32
33 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
34
36
51 inline AccountLimitType GetType() const { return m_type; }
52 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
53 inline void SetType(AccountLimitType value) {
54 m_typeHasBeenSet = true;
55 m_type = value;
56 }
58 SetType(value);
59 return *this;
60 }
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) {
71 m_valueHasBeenSet = true;
72 m_value = value;
73 }
74 inline AccountLimit& WithValue(long long value) {
75 SetValue(value);
76 return *this;
77 }
79 private:
81
82 long long m_value{0};
83 bool m_typeHasBeenSet = false;
84 bool m_valueHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace Route53
89} // 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)