AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateDomainContactPrivacyRequest.h
1
6#pragma once
7#include <aws/route53domains/Route53Domains_EXPORTS.h>
8#include <aws/route53domains/Route53DomainsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Route53Domains
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_ROUTE53DOMAINS_API UpdateDomainContactPrivacyRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateDomainContactPrivacy"; }
35
36 AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override;
37
38 AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const Aws::String& GetDomainName() const { return m_domainName; }
46 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
47 template<typename DomainNameT = Aws::String>
48 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
49 template<typename DomainNameT = Aws::String>
50 UpdateDomainContactPrivacyRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
52
54
63 inline bool GetAdminPrivacy() const { return m_adminPrivacy; }
64 inline bool AdminPrivacyHasBeenSet() const { return m_adminPrivacyHasBeenSet; }
65 inline void SetAdminPrivacy(bool value) { m_adminPrivacyHasBeenSet = true; m_adminPrivacy = value; }
66 inline UpdateDomainContactPrivacyRequest& WithAdminPrivacy(bool value) { SetAdminPrivacy(value); return *this;}
68
70
79 inline bool GetRegistrantPrivacy() const { return m_registrantPrivacy; }
80 inline bool RegistrantPrivacyHasBeenSet() const { return m_registrantPrivacyHasBeenSet; }
81 inline void SetRegistrantPrivacy(bool value) { m_registrantPrivacyHasBeenSet = true; m_registrantPrivacy = value; }
84
86
95 inline bool GetTechPrivacy() const { return m_techPrivacy; }
96 inline bool TechPrivacyHasBeenSet() const { return m_techPrivacyHasBeenSet; }
97 inline void SetTechPrivacy(bool value) { m_techPrivacyHasBeenSet = true; m_techPrivacy = value; }
98 inline UpdateDomainContactPrivacyRequest& WithTechPrivacy(bool value) { SetTechPrivacy(value); return *this;}
100
102
111 inline bool GetBillingPrivacy() const { return m_billingPrivacy; }
112 inline bool BillingPrivacyHasBeenSet() const { return m_billingPrivacyHasBeenSet; }
113 inline void SetBillingPrivacy(bool value) { m_billingPrivacyHasBeenSet = true; m_billingPrivacy = value; }
114 inline UpdateDomainContactPrivacyRequest& WithBillingPrivacy(bool value) { SetBillingPrivacy(value); return *this;}
116 private:
117
118 Aws::String m_domainName;
119 bool m_domainNameHasBeenSet = false;
120
121 bool m_adminPrivacy{false};
122 bool m_adminPrivacyHasBeenSet = false;
123
124 bool m_registrantPrivacy{false};
125 bool m_registrantPrivacyHasBeenSet = false;
126
127 bool m_techPrivacy{false};
128 bool m_techPrivacyHasBeenSet = false;
129
130 bool m_billingPrivacy{false};
131 bool m_billingPrivacyHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace Route53Domains
136} // 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