AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DisassociateHostedZoneRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53globalresolver/Route53GlobalResolverRequest.h>
9#include <aws/route53globalresolver/Route53GlobalResolver_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Route53GlobalResolver {
15namespace Model {
16
20 public:
21 AWS_ROUTE53GLOBALRESOLVER_API DisassociateHostedZoneRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DisassociateHostedZone"; }
28
29 AWS_ROUTE53GLOBALRESOLVER_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetHostedZoneId() const { return m_hostedZoneId; }
36 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
37 template <typename HostedZoneIdT = Aws::String>
38 void SetHostedZoneId(HostedZoneIdT&& value) {
39 m_hostedZoneIdHasBeenSet = true;
40 m_hostedZoneId = std::forward<HostedZoneIdT>(value);
41 }
42 template <typename HostedZoneIdT = Aws::String>
44 SetHostedZoneId(std::forward<HostedZoneIdT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
55 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
56 template <typename ResourceArnT = Aws::String>
57 void SetResourceArn(ResourceArnT&& value) {
58 m_resourceArnHasBeenSet = true;
59 m_resourceArn = std::forward<ResourceArnT>(value);
60 }
61 template <typename ResourceArnT = Aws::String>
63 SetResourceArn(std::forward<ResourceArnT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_hostedZoneId;
69
70 Aws::String m_resourceArn;
71 bool m_hostedZoneIdHasBeenSet = false;
72 bool m_resourceArnHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace Route53GlobalResolver
77} // namespace Aws
AWS_ROUTE53GLOBALRESOLVER_API DisassociateHostedZoneRequest()=default
DisassociateHostedZoneRequest & WithResourceArn(ResourceArnT &&value)
AWS_ROUTE53GLOBALRESOLVER_API Aws::String SerializePayload() const override
DisassociateHostedZoneRequest & WithHostedZoneId(HostedZoneIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String