AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
GetAccountLimitResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53/Route53_EXPORTS.h>
9#include <aws/route53/model/AccountLimit.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace Route53 {
23namespace Model {
31 public:
32 AWS_ROUTE53_API GetAccountLimitResult() = default;
35
37
43 inline const AccountLimit& GetLimit() const { return m_limit; }
44 template <typename LimitT = AccountLimit>
45 void SetLimit(LimitT&& value) {
46 m_limitHasBeenSet = true;
47 m_limit = std::forward<LimitT>(value);
48 }
49 template <typename LimitT = AccountLimit>
51 SetLimit(std::forward<LimitT>(value));
52 return *this;
53 }
55
57
64 inline long long GetCount() const { return m_count; }
65 inline void SetCount(long long value) {
66 m_countHasBeenSet = true;
67 m_count = value;
68 }
69 inline GetAccountLimitResult& WithCount(long long value) {
70 SetCount(value);
71 return *this;
72 }
74
76
77 inline const Aws::String& GetRequestId() const { return m_requestId; }
78 template <typename RequestIdT = Aws::String>
79 void SetRequestId(RequestIdT&& value) {
80 m_requestIdHasBeenSet = true;
81 m_requestId = std::forward<RequestIdT>(value);
82 }
83 template <typename RequestIdT = Aws::String>
84 GetAccountLimitResult& WithRequestId(RequestIdT&& value) {
85 SetRequestId(std::forward<RequestIdT>(value));
86 return *this;
87 }
89 private:
90 AccountLimit m_limit;
91 bool m_limitHasBeenSet = false;
92
93 long long m_count{0};
94 bool m_countHasBeenSet = false;
95
96 Aws::String m_requestId;
97 bool m_requestIdHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Route53
102} // namespace Aws
AWS_ROUTE53_API GetAccountLimitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetAccountLimitResult & WithRequestId(RequestIdT &&value)
GetAccountLimitResult & WithLimit(LimitT &&value)
GetAccountLimitResult & WithCount(long long value)
AWS_ROUTE53_API GetAccountLimitResult()=default
AWS_ROUTE53_API GetAccountLimitResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument