AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
UpdateDomainContactPrivacyRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53domains/Route53DomainsRequest.h>
9#include <aws/route53domains/Route53Domains_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Route53Domains {
15namespace Model {
16
24 public:
25 AWS_ROUTE53DOMAINS_API UpdateDomainContactPrivacyRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateDomainContactPrivacy"; }
32
33 AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override;
34
35 AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
38
41 inline const Aws::String& GetDomainName() const { return m_domainName; }
42 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
43 template <typename DomainNameT = Aws::String>
44 void SetDomainName(DomainNameT&& value) {
45 m_domainNameHasBeenSet = true;
46 m_domainName = std::forward<DomainNameT>(value);
47 }
48 template <typename DomainNameT = Aws::String>
50 SetDomainName(std::forward<DomainNameT>(value));
51 return *this;
52 }
54
56
65 inline bool GetAdminPrivacy() const { return m_adminPrivacy; }
66 inline bool AdminPrivacyHasBeenSet() const { return m_adminPrivacyHasBeenSet; }
67 inline void SetAdminPrivacy(bool value) {
68 m_adminPrivacyHasBeenSet = true;
69 m_adminPrivacy = value;
70 }
72 SetAdminPrivacy(value);
73 return *this;
74 }
76
78
87 inline bool GetRegistrantPrivacy() const { return m_registrantPrivacy; }
88 inline bool RegistrantPrivacyHasBeenSet() const { return m_registrantPrivacyHasBeenSet; }
89 inline void SetRegistrantPrivacy(bool value) {
90 m_registrantPrivacyHasBeenSet = true;
91 m_registrantPrivacy = value;
92 }
95 return *this;
96 }
98
100
109 inline bool GetTechPrivacy() const { return m_techPrivacy; }
110 inline bool TechPrivacyHasBeenSet() const { return m_techPrivacyHasBeenSet; }
111 inline void SetTechPrivacy(bool value) {
112 m_techPrivacyHasBeenSet = true;
113 m_techPrivacy = value;
114 }
116 SetTechPrivacy(value);
117 return *this;
118 }
120
122
131 inline bool GetBillingPrivacy() const { return m_billingPrivacy; }
132 inline bool BillingPrivacyHasBeenSet() const { return m_billingPrivacyHasBeenSet; }
133 inline void SetBillingPrivacy(bool value) {
134 m_billingPrivacyHasBeenSet = true;
135 m_billingPrivacy = value;
136 }
138 SetBillingPrivacy(value);
139 return *this;
140 }
142 private:
143 Aws::String m_domainName;
144
145 bool m_adminPrivacy{false};
146
147 bool m_registrantPrivacy{false};
148
149 bool m_techPrivacy{false};
150
151 bool m_billingPrivacy{false};
152 bool m_domainNameHasBeenSet = false;
153 bool m_adminPrivacyHasBeenSet = false;
154 bool m_registrantPrivacyHasBeenSet = false;
155 bool m_techPrivacyHasBeenSet = false;
156 bool m_billingPrivacyHasBeenSet = false;
157};
158
159} // namespace Model
160} // namespace Route53Domains
161} // namespace Aws
AWS_ROUTE53DOMAINS_API UpdateDomainContactPrivacyRequest()=default
UpdateDomainContactPrivacyRequest & WithDomainName(DomainNameT &&value)
AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String