AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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