AWS SDK for C++  1.8.71
AWS SDK for C++
UpdateDomainContactRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Route53Domains
16 {
17 namespace Model
18 {
19 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "UpdateDomainContact"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40 
41 
45  inline const Aws::String& GetDomainName() const{ return m_domainName; }
46 
50  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
51 
55  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
56 
60  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
61 
65  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
66 
70  inline UpdateDomainContactRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
71 
75  inline UpdateDomainContactRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
76 
80  inline UpdateDomainContactRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
81 
82 
86  inline const ContactDetail& GetAdminContact() const{ return m_adminContact; }
87 
91  inline bool AdminContactHasBeenSet() const { return m_adminContactHasBeenSet; }
92 
96  inline void SetAdminContact(const ContactDetail& value) { m_adminContactHasBeenSet = true; m_adminContact = value; }
97 
101  inline void SetAdminContact(ContactDetail&& value) { m_adminContactHasBeenSet = true; m_adminContact = std::move(value); }
102 
106  inline UpdateDomainContactRequest& WithAdminContact(const ContactDetail& value) { SetAdminContact(value); return *this;}
107 
111  inline UpdateDomainContactRequest& WithAdminContact(ContactDetail&& value) { SetAdminContact(std::move(value)); return *this;}
112 
113 
117  inline const ContactDetail& GetRegistrantContact() const{ return m_registrantContact; }
118 
122  inline bool RegistrantContactHasBeenSet() const { return m_registrantContactHasBeenSet; }
123 
127  inline void SetRegistrantContact(const ContactDetail& value) { m_registrantContactHasBeenSet = true; m_registrantContact = value; }
128 
132  inline void SetRegistrantContact(ContactDetail&& value) { m_registrantContactHasBeenSet = true; m_registrantContact = std::move(value); }
133 
137  inline UpdateDomainContactRequest& WithRegistrantContact(const ContactDetail& value) { SetRegistrantContact(value); return *this;}
138 
142  inline UpdateDomainContactRequest& WithRegistrantContact(ContactDetail&& value) { SetRegistrantContact(std::move(value)); return *this;}
143 
144 
148  inline const ContactDetail& GetTechContact() const{ return m_techContact; }
149 
153  inline bool TechContactHasBeenSet() const { return m_techContactHasBeenSet; }
154 
158  inline void SetTechContact(const ContactDetail& value) { m_techContactHasBeenSet = true; m_techContact = value; }
159 
163  inline void SetTechContact(ContactDetail&& value) { m_techContactHasBeenSet = true; m_techContact = std::move(value); }
164 
168  inline UpdateDomainContactRequest& WithTechContact(const ContactDetail& value) { SetTechContact(value); return *this;}
169 
173  inline UpdateDomainContactRequest& WithTechContact(ContactDetail&& value) { SetTechContact(std::move(value)); return *this;}
174 
175  private:
176 
177  Aws::String m_domainName;
178  bool m_domainNameHasBeenSet;
179 
180  ContactDetail m_adminContact;
181  bool m_adminContactHasBeenSet;
182 
183  ContactDetail m_registrantContact;
184  bool m_registrantContactHasBeenSet;
185 
186  ContactDetail m_techContact;
187  bool m_techContactHasBeenSet;
188  };
189 
190 } // namespace Model
191 } // namespace Route53Domains
192 } // namespace Aws
UpdateDomainContactRequest & WithDomainName(const Aws::String &value)
UpdateDomainContactRequest & WithDomainName(Aws::String &&value)
UpdateDomainContactRequest & WithRegistrantContact(ContactDetail &&value)
UpdateDomainContactRequest & WithTechContact(const ContactDetail &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
UpdateDomainContactRequest & WithAdminContact(const ContactDetail &value)
#define AWS_ROUTE53DOMAINS_API
UpdateDomainContactRequest & WithDomainName(const char *value)
UpdateDomainContactRequest & WithRegistrantContact(const ContactDetail &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdateDomainContactRequest & WithTechContact(ContactDetail &&value)
UpdateDomainContactRequest & WithAdminContact(ContactDetail &&value)