AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetAccountLimitResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53/Route53_EXPORTS.h>
10#include <aws/route53/model/AccountLimit.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace Route53 {
24namespace Model {
32 public:
33 AWS_ROUTE53_API GetAccountLimitResult() = default;
36
38
44 inline const AccountLimit& GetLimit() const { return m_limit; }
45 template <typename LimitT = AccountLimit>
46 void SetLimit(LimitT&& value) {
47 m_limitHasBeenSet = true;
48 m_limit = std::forward<LimitT>(value);
49 }
50 template <typename LimitT = AccountLimit>
52 SetLimit(std::forward<LimitT>(value));
53 return *this;
54 }
56
58
65 inline long long GetCount() const { return m_count; }
66 inline void SetCount(long long value) {
67 m_countHasBeenSet = true;
68 m_count = value;
69 }
70 inline GetAccountLimitResult& WithCount(long long value) {
71 SetCount(value);
72 return *this;
73 }
75
77
78 inline const Aws::String& GetRequestId() const { return m_requestId; }
79 template <typename RequestIdT = Aws::String>
80 void SetRequestId(RequestIdT&& value) {
81 m_requestIdHasBeenSet = true;
82 m_requestId = std::forward<RequestIdT>(value);
83 }
84 template <typename RequestIdT = Aws::String>
85 GetAccountLimitResult& WithRequestId(RequestIdT&& value) {
86 SetRequestId(std::forward<RequestIdT>(value));
87 return *this;
88 }
90 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
91
92 private:
93 AccountLimit m_limit;
94
95 long long m_count{0};
96
97 Aws::String m_requestId;
98 Aws::Http::HttpResponseCode m_HttpResponseCode;
99 bool m_limitHasBeenSet = false;
100 bool m_countHasBeenSet = false;
101 bool m_requestIdHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace Route53
106} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument