AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
GetHostedZoneLimitRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53/Route53Request.h>
9#include <aws/route53/Route53_EXPORTS.h>
10#include <aws/route53/model/HostedZoneLimitType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Route53 {
16namespace Model {
17
25 public:
26 AWS_ROUTE53_API GetHostedZoneLimitRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "GetHostedZoneLimit"; }
33
34 AWS_ROUTE53_API Aws::String SerializePayload() const override;
35
37
44 inline HostedZoneLimitType GetType() const { return m_type; }
45 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
46 inline void SetType(HostedZoneLimitType value) {
47 m_typeHasBeenSet = true;
48 m_type = value;
49 }
51 SetType(value);
52 return *this;
53 }
55
57
60 inline const Aws::String& GetHostedZoneId() const { return m_hostedZoneId; }
61 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
62 template <typename HostedZoneIdT = Aws::String>
63 void SetHostedZoneId(HostedZoneIdT&& value) {
64 m_hostedZoneIdHasBeenSet = true;
65 m_hostedZoneId = std::forward<HostedZoneIdT>(value);
66 }
67 template <typename HostedZoneIdT = Aws::String>
69 SetHostedZoneId(std::forward<HostedZoneIdT>(value));
70 return *this;
71 }
73 private:
75
76 Aws::String m_hostedZoneId;
77 bool m_typeHasBeenSet = false;
78 bool m_hostedZoneIdHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Route53
83} // namespace Aws
AWS_ROUTE53_API GetHostedZoneLimitRequest()=default
GetHostedZoneLimitRequest & WithHostedZoneId(HostedZoneIdT &&value)
GetHostedZoneLimitRequest & WithType(HostedZoneLimitType value)
AWS_ROUTE53_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String