AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const AccountLimitType& GetType() const{ return m_type; }
58 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
59 inline void SetType(const AccountLimitType& value) { m_typeHasBeenSet = true; m_type = value; }
60 inline void SetType(AccountLimitType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
61 inline AccountLimit& WithType(const AccountLimitType& value) { SetType(value); return *this;}
62 inline AccountLimit& WithType(AccountLimitType&& value) { SetType(std::move(value)); return *this;}
64
66
70 inline long long GetValue() const{ return m_value; }
71 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
72 inline void SetValue(long long value) { m_valueHasBeenSet = true; m_value = value; }
73 inline AccountLimit& WithValue(long long value) { SetValue(value); return *this;}
75 private:
76
77 AccountLimitType m_type;
78 bool m_typeHasBeenSet = false;
79
80 long long m_value;
81 bool m_valueHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Route53
86} // namespace Aws
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetType(const AccountLimitType &value)
const AccountLimitType & GetType() const
AccountLimit & WithType(const 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)
void SetType(AccountLimitType &&value)
void SetValue(long long value)