AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
UpdateHostedZoneTierRequest.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/HostedZoneTier.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Route53 {
16namespace Model {
17
21 public:
22 AWS_ROUTE53_API UpdateHostedZoneTierRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateHostedZoneTier"; }
29
30 AWS_ROUTE53_API Aws::String SerializePayload() const override;
31
33
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
57 inline HostedZoneTier GetHostedZoneTier() const { return m_hostedZoneTier; }
58 inline bool HostedZoneTierHasBeenSet() const { return m_hostedZoneTierHasBeenSet; }
59 inline void SetHostedZoneTier(HostedZoneTier value) {
60 m_hostedZoneTierHasBeenSet = true;
61 m_hostedZoneTier = value;
62 }
64 SetHostedZoneTier(value);
65 return *this;
66 }
68
70
75 inline bool GetDryRun() const { return m_dryRun; }
76 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
77 inline void SetDryRun(bool value) {
78 m_dryRunHasBeenSet = true;
79 m_dryRun = value;
80 }
82 SetDryRun(value);
83 return *this;
84 }
86 private:
87 Aws::String m_hostedZoneId;
88
90
91 bool m_dryRun{false};
92 bool m_hostedZoneIdHasBeenSet = false;
93 bool m_hostedZoneTierHasBeenSet = false;
94 bool m_dryRunHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace Route53
99} // namespace Aws
UpdateHostedZoneTierRequest & WithHostedZoneTier(HostedZoneTier value)
AWS_ROUTE53_API UpdateHostedZoneTierRequest()=default
AWS_ROUTE53_API Aws::String SerializePayload() const override
UpdateHostedZoneTierRequest & WithHostedZoneId(HostedZoneIdT &&value)
UpdateHostedZoneTierRequest & WithDryRun(bool value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String