AWS SDK for C++  1.8.71
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 
38  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
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
UpdateDomainContactPrivacyRequest & WithDomainName(const char *value)
UpdateDomainContactPrivacyRequest & WithDomainName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
#define AWS_ROUTE53DOMAINS_API
UpdateDomainContactPrivacyRequest & WithDomainName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97