AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateHostedZoneFeaturesRequest.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
11#include <utility>
12
13namespace Aws {
14namespace Route53 {
15namespace Model {
16
20 public:
21 AWS_ROUTE53_API UpdateHostedZoneFeaturesRequest() = 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 "UpdateHostedZoneFeatures"; }
28
29 AWS_ROUTE53_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetHostedZoneId() const { return m_hostedZoneId; }
37 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
38 template <typename HostedZoneIdT = Aws::String>
39 void SetHostedZoneId(HostedZoneIdT&& value) {
40 m_hostedZoneIdHasBeenSet = true;
41 m_hostedZoneId = std::forward<HostedZoneIdT>(value);
42 }
43 template <typename HostedZoneIdT = Aws::String>
45 SetHostedZoneId(std::forward<HostedZoneIdT>(value));
46 return *this;
47 }
49
51
56 inline bool GetEnableAcceleratedRecovery() const { return m_enableAcceleratedRecovery; }
57 inline bool EnableAcceleratedRecoveryHasBeenSet() const { return m_enableAcceleratedRecoveryHasBeenSet; }
58 inline void SetEnableAcceleratedRecovery(bool value) {
59 m_enableAcceleratedRecoveryHasBeenSet = true;
60 m_enableAcceleratedRecovery = value;
61 }
64 return *this;
65 }
67 private:
68 Aws::String m_hostedZoneId;
69
70 bool m_enableAcceleratedRecovery{false};
71 bool m_hostedZoneIdHasBeenSet = false;
72 bool m_enableAcceleratedRecoveryHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace Route53
77} // namespace Aws
AWS_ROUTE53_API UpdateHostedZoneFeaturesRequest()=default
AWS_ROUTE53_API Aws::String SerializePayload() const override
UpdateHostedZoneFeaturesRequest & WithHostedZoneId(HostedZoneIdT &&value)
UpdateHostedZoneFeaturesRequest & WithEnableAcceleratedRecovery(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String