AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
GetHostedZoneLimitResult.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/HostedZoneLimit.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 GetHostedZoneLimitResult() = default;
35
37
43 inline const HostedZoneLimit& GetLimit() const { return m_limit; }
44 template <typename LimitT = HostedZoneLimit>
45 void SetLimit(LimitT&& value) {
46 m_limitHasBeenSet = true;
47 m_limit = std::forward<LimitT>(value);
48 }
49 template <typename LimitT = HostedZoneLimit>
51 SetLimit(std::forward<LimitT>(value));
52 return *this;
53 }
55
57
63 inline long long GetCount() const { return m_count; }
64 inline void SetCount(long long value) {
65 m_countHasBeenSet = true;
66 m_count = value;
67 }
68 inline GetHostedZoneLimitResult& WithCount(long long value) {
69 SetCount(value);
70 return *this;
71 }
73
75
76 inline const Aws::String& GetRequestId() const { return m_requestId; }
77 template <typename RequestIdT = Aws::String>
78 void SetRequestId(RequestIdT&& value) {
79 m_requestIdHasBeenSet = true;
80 m_requestId = std::forward<RequestIdT>(value);
81 }
82 template <typename RequestIdT = Aws::String>
84 SetRequestId(std::forward<RequestIdT>(value));
85 return *this;
86 }
88 private:
89 HostedZoneLimit m_limit;
90 bool m_limitHasBeenSet = false;
91
92 long long m_count{0};
93 bool m_countHasBeenSet = false;
94
95 Aws::String m_requestId;
96 bool m_requestIdHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Route53
101} // 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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument