AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetHostedZoneLimitResult.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/HostedZoneLimit.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 GetHostedZoneLimitResult() = default;
36
38
44 inline const HostedZoneLimit& GetLimit() const { return m_limit; }
45 template <typename LimitT = HostedZoneLimit>
46 void SetLimit(LimitT&& value) {
47 m_limitHasBeenSet = true;
48 m_limit = std::forward<LimitT>(value);
49 }
50 template <typename LimitT = HostedZoneLimit>
52 SetLimit(std::forward<LimitT>(value));
53 return *this;
54 }
56
58
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 GetHostedZoneLimitResult& 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>
85 SetRequestId(std::forward<RequestIdT>(value));
86 return *this;
87 }
89 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
90
91 private:
92 HostedZoneLimit m_limit;
93
94 long long m_count{0};
95
96 Aws::String m_requestId;
97 Aws::Http::HttpResponseCode m_HttpResponseCode;
98 bool m_limitHasBeenSet = false;
99 bool m_countHasBeenSet = false;
100 bool m_requestIdHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace Route53
105} // namespace Aws
GetHostedZoneLimitResult & WithLimit(LimitT &&value)
GetHostedZoneLimitResult & WithRequestId(RequestIdT &&value)
AWS_ROUTE53_API GetHostedZoneLimitResult()=default
AWS_ROUTE53_API GetHostedZoneLimitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetHostedZoneLimitResult & WithCount(long long value)
AWS_ROUTE53_API GetHostedZoneLimitResult & 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