AWS SDK for C++  1.9.107
AWS SDK for C++
UpdateDomainContactPrivacyRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Route53Domains
15 {
16 namespace Model
17 {
18 
26  {
27  public:
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::String SerializePayload() const override;
37 
39 
40 
44  inline const Aws::String& GetDomainName() const{ return m_domainName; }
45 
49  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
50 
54  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
55 
59  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
60 
64  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
65 
69  inline UpdateDomainContactPrivacyRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
70 
74  inline UpdateDomainContactPrivacyRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
75 
79  inline UpdateDomainContactPrivacyRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
80 
81 
90  inline bool GetAdminPrivacy() const{ return m_adminPrivacy; }
91 
100  inline bool AdminPrivacyHasBeenSet() const { return m_adminPrivacyHasBeenSet; }
101 
110  inline void SetAdminPrivacy(bool value) { m_adminPrivacyHasBeenSet = true; m_adminPrivacy = value; }
111 
120  inline UpdateDomainContactPrivacyRequest& WithAdminPrivacy(bool value) { SetAdminPrivacy(value); return *this;}
121 
122 
131  inline bool GetRegistrantPrivacy() const{ return m_registrantPrivacy; }
132 
141  inline bool RegistrantPrivacyHasBeenSet() const { return m_registrantPrivacyHasBeenSet; }
142 
151  inline void SetRegistrantPrivacy(bool value) { m_registrantPrivacyHasBeenSet = true; m_registrantPrivacy = value; }
152 
161  inline UpdateDomainContactPrivacyRequest& WithRegistrantPrivacy(bool value) { SetRegistrantPrivacy(value); return *this;}
162 
163 
172  inline bool GetTechPrivacy() const{ return m_techPrivacy; }
173 
182  inline bool TechPrivacyHasBeenSet() const { return m_techPrivacyHasBeenSet; }
183 
192  inline void SetTechPrivacy(bool value) { m_techPrivacyHasBeenSet = true; m_techPrivacy = value; }
193 
202  inline UpdateDomainContactPrivacyRequest& WithTechPrivacy(bool value) { SetTechPrivacy(value); return *this;}
203 
204  private:
205 
206  Aws::String m_domainName;
207  bool m_domainNameHasBeenSet;
208 
209  bool m_adminPrivacy;
210  bool m_adminPrivacyHasBeenSet;
211 
212  bool m_registrantPrivacy;
213  bool m_registrantPrivacyHasBeenSet;
214 
215  bool m_techPrivacy;
216  bool m_techPrivacyHasBeenSet;
217  };
218 
219 } // namespace Model
220 } // namespace Route53Domains
221 } // namespace Aws
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::WithAdminPrivacy
UpdateDomainContactPrivacyRequest & WithAdminPrivacy(bool value)
Definition: UpdateDomainContactPrivacyRequest.h:120
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::SetRegistrantPrivacy
void SetRegistrantPrivacy(bool value)
Definition: UpdateDomainContactPrivacyRequest.h:151
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::TechPrivacyHasBeenSet
bool TechPrivacyHasBeenSet() const
Definition: UpdateDomainContactPrivacyRequest.h:182
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::WithRegistrantPrivacy
UpdateDomainContactPrivacyRequest & WithRegistrantPrivacy(bool value)
Definition: UpdateDomainContactPrivacyRequest.h:161
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::RegistrantPrivacyHasBeenSet
bool RegistrantPrivacyHasBeenSet() const
Definition: UpdateDomainContactPrivacyRequest.h:141
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest
Definition: UpdateDomainContactPrivacyRequest.h:26
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::GetAdminPrivacy
bool GetAdminPrivacy() const
Definition: UpdateDomainContactPrivacyRequest.h:90
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::WithTechPrivacy
UpdateDomainContactPrivacyRequest & WithTechPrivacy(bool value)
Definition: UpdateDomainContactPrivacyRequest.h:202
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ROUTE53DOMAINS_API
#define AWS_ROUTE53DOMAINS_API
Definition: Route53Domains_EXPORTS.h:28
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: UpdateDomainContactPrivacyRequest.h:59
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::UpdateDomainContactPrivacyRequest
UpdateDomainContactPrivacyRequest()
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: UpdateDomainContactPrivacyRequest.h:44
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::WithDomainName
UpdateDomainContactPrivacyRequest & WithDomainName(const char *value)
Definition: UpdateDomainContactPrivacyRequest.h:79
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::WithDomainName
UpdateDomainContactPrivacyRequest & WithDomainName(const Aws::String &value)
Definition: UpdateDomainContactPrivacyRequest.h:69
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: UpdateDomainContactPrivacyRequest.h:49
AWSString.h
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::SetTechPrivacy
void SetTechPrivacy(bool value)
Definition: UpdateDomainContactPrivacyRequest.h:192
Aws::Route53Domains::Route53DomainsRequest
Definition: Route53DomainsRequest.h:17
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDomainContactPrivacyRequest.h:34
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: UpdateDomainContactPrivacyRequest.h:54
Route53DomainsRequest.h
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::GetRegistrantPrivacy
bool GetRegistrantPrivacy() const
Definition: UpdateDomainContactPrivacyRequest.h:131
Aws
Definition: AccessManagementClient.h:15
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::AdminPrivacyHasBeenSet
bool AdminPrivacyHasBeenSet() const
Definition: UpdateDomainContactPrivacyRequest.h:100
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Route53Domains_EXPORTS.h
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::SetAdminPrivacy
void SetAdminPrivacy(bool value)
Definition: UpdateDomainContactPrivacyRequest.h:110
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::SetDomainName
void SetDomainName(const char *value)
Definition: UpdateDomainContactPrivacyRequest.h:64
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::WithDomainName
UpdateDomainContactPrivacyRequest & WithDomainName(Aws::String &&value)
Definition: UpdateDomainContactPrivacyRequest.h:74
Aws::Route53Domains::Model::UpdateDomainContactPrivacyRequest::GetTechPrivacy
bool GetTechPrivacy() const
Definition: UpdateDomainContactPrivacyRequest.h:172