AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
48 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
49 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
50 inline UpdateDomainContactPrivacyRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
51 inline UpdateDomainContactPrivacyRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
52 inline UpdateDomainContactPrivacyRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
54
56
65 inline bool GetAdminPrivacy() const{ return m_adminPrivacy; }
66 inline bool AdminPrivacyHasBeenSet() const { return m_adminPrivacyHasBeenSet; }
67 inline void SetAdminPrivacy(bool value) { m_adminPrivacyHasBeenSet = true; m_adminPrivacy = value; }
68 inline UpdateDomainContactPrivacyRequest& WithAdminPrivacy(bool value) { SetAdminPrivacy(value); return *this;}
70
72
81 inline bool GetRegistrantPrivacy() const{ return m_registrantPrivacy; }
82 inline bool RegistrantPrivacyHasBeenSet() const { return m_registrantPrivacyHasBeenSet; }
83 inline void SetRegistrantPrivacy(bool value) { m_registrantPrivacyHasBeenSet = true; m_registrantPrivacy = value; }
86
88
97 inline bool GetTechPrivacy() const{ return m_techPrivacy; }
98 inline bool TechPrivacyHasBeenSet() const { return m_techPrivacyHasBeenSet; }
99 inline void SetTechPrivacy(bool value) { m_techPrivacyHasBeenSet = true; m_techPrivacy = value; }
100 inline UpdateDomainContactPrivacyRequest& WithTechPrivacy(bool value) { SetTechPrivacy(value); return *this;}
102
104
113 inline bool GetBillingPrivacy() const{ return m_billingPrivacy; }
114 inline bool BillingPrivacyHasBeenSet() const { return m_billingPrivacyHasBeenSet; }
115 inline void SetBillingPrivacy(bool value) { m_billingPrivacyHasBeenSet = true; m_billingPrivacy = value; }
116 inline UpdateDomainContactPrivacyRequest& WithBillingPrivacy(bool value) { SetBillingPrivacy(value); return *this;}
118 private:
119
120 Aws::String m_domainName;
121 bool m_domainNameHasBeenSet = false;
122
123 bool m_adminPrivacy;
124 bool m_adminPrivacyHasBeenSet = false;
125
126 bool m_registrantPrivacy;
127 bool m_registrantPrivacyHasBeenSet = false;
128
129 bool m_techPrivacy;
130 bool m_techPrivacyHasBeenSet = false;
131
132 bool m_billingPrivacy;
133 bool m_billingPrivacyHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace Route53Domains
138} // namespace Aws
UpdateDomainContactPrivacyRequest & WithDomainName(const char *value)
UpdateDomainContactPrivacyRequest & WithDomainName(const Aws::String &value)
AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override
UpdateDomainContactPrivacyRequest & WithDomainName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String