AWS SDK for C++  1.8.154
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 
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
Aws::Route53Domains::Model::UpdateDomainContactRequest::SetRegistrantContact
void SetRegistrantContact(ContactDetail &&value)
Definition: UpdateDomainContactRequest.h:132
Aws::Route53Domains::Model::UpdateDomainContactRequest
Definition: UpdateDomainContactRequest.h:27
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Route53Domains::Model::UpdateDomainContactRequest::WithDomainName
UpdateDomainContactRequest & WithDomainName(Aws::String &&value)
Definition: UpdateDomainContactRequest.h:75
Aws::Route53Domains::Model::UpdateDomainContactRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: UpdateDomainContactRequest.h:50
Aws::Route53Domains::Model::UpdateDomainContactRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: UpdateDomainContactRequest.h:45
Aws::Route53Domains::Model::UpdateDomainContactRequest::AdminContactHasBeenSet
bool AdminContactHasBeenSet() const
Definition: UpdateDomainContactRequest.h:91
AWS_ROUTE53DOMAINS_API
#define AWS_ROUTE53DOMAINS_API
Definition: Route53Domains_EXPORTS.h:28
Aws::Route53Domains::Model::UpdateDomainContactRequest::WithTechContact
UpdateDomainContactRequest & WithTechContact(const ContactDetail &value)
Definition: UpdateDomainContactRequest.h:168
Aws::Route53Domains::Model::UpdateDomainContactRequest::WithTechContact
UpdateDomainContactRequest & WithTechContact(ContactDetail &&value)
Definition: UpdateDomainContactRequest.h:173
Aws::Route53Domains::Model::ContactDetail
Definition: ContactDetail.h:36
Aws::Route53Domains::Model::UpdateDomainContactRequest::SetDomainName
void SetDomainName(const char *value)
Definition: UpdateDomainContactRequest.h:65
Aws::Route53Domains::Model::UpdateDomainContactRequest::GetAdminContact
const ContactDetail & GetAdminContact() const
Definition: UpdateDomainContactRequest.h:86
Aws::Route53Domains::Model::UpdateDomainContactRequest::WithDomainName
UpdateDomainContactRequest & WithDomainName(const char *value)
Definition: UpdateDomainContactRequest.h:80
Aws::Route53Domains::Model::UpdateDomainContactRequest::GetTechContact
const ContactDetail & GetTechContact() const
Definition: UpdateDomainContactRequest.h:148
Aws::Route53Domains::Model::UpdateDomainContactRequest::WithDomainName
UpdateDomainContactRequest & WithDomainName(const Aws::String &value)
Definition: UpdateDomainContactRequest.h:70
Aws::Route53Domains::Model::UpdateDomainContactRequest::SetRegistrantContact
void SetRegistrantContact(const ContactDetail &value)
Definition: UpdateDomainContactRequest.h:127
Aws::Route53Domains::Model::UpdateDomainContactRequest::UpdateDomainContactRequest
UpdateDomainContactRequest()
Aws::Route53Domains::Model::UpdateDomainContactRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: UpdateDomainContactRequest.h:60
Aws::Route53Domains::Model::UpdateDomainContactRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Route53Domains::Model::UpdateDomainContactRequest::SetAdminContact
void SetAdminContact(const ContactDetail &value)
Definition: UpdateDomainContactRequest.h:96
Aws::Route53Domains::Model::UpdateDomainContactRequest::WithRegistrantContact
UpdateDomainContactRequest & WithRegistrantContact(ContactDetail &&value)
Definition: UpdateDomainContactRequest.h:142
AWSString.h
ContactDetail.h
Aws::Route53Domains::Model::UpdateDomainContactRequest::SetAdminContact
void SetAdminContact(ContactDetail &&value)
Definition: UpdateDomainContactRequest.h:101
Aws::Route53Domains::Model::UpdateDomainContactRequest::RegistrantContactHasBeenSet
bool RegistrantContactHasBeenSet() const
Definition: UpdateDomainContactRequest.h:122
Aws::Route53Domains::Route53DomainsRequest
Definition: Route53DomainsRequest.h:17
Aws::Route53Domains::Model::UpdateDomainContactRequest::WithAdminContact
UpdateDomainContactRequest & WithAdminContact(ContactDetail &&value)
Definition: UpdateDomainContactRequest.h:111
Aws::Route53Domains::Model::UpdateDomainContactRequest::TechContactHasBeenSet
bool TechContactHasBeenSet() const
Definition: UpdateDomainContactRequest.h:153
Aws::Route53Domains::Model::UpdateDomainContactRequest::SetTechContact
void SetTechContact(ContactDetail &&value)
Definition: UpdateDomainContactRequest.h:163
Aws::Route53Domains::Model::UpdateDomainContactRequest::WithAdminContact
UpdateDomainContactRequest & WithAdminContact(const ContactDetail &value)
Definition: UpdateDomainContactRequest.h:106
Route53DomainsRequest.h
Aws::Route53Domains::Model::UpdateDomainContactRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::Route53Domains::Model::UpdateDomainContactRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDomainContactRequest.h:35
Aws::Route53Domains::Model::UpdateDomainContactRequest::WithRegistrantContact
UpdateDomainContactRequest & WithRegistrantContact(const ContactDetail &value)
Definition: UpdateDomainContactRequest.h:137
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Route53Domains_EXPORTS.h
Aws::Route53Domains::Model::UpdateDomainContactRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: UpdateDomainContactRequest.h:55
Aws::Route53Domains::Model::UpdateDomainContactRequest::GetRegistrantContact
const ContactDetail & GetRegistrantContact() const
Definition: UpdateDomainContactRequest.h:117
Aws::Route53Domains::Model::UpdateDomainContactRequest::SetTechContact
void SetTechContact(const ContactDetail &value)
Definition: UpdateDomainContactRequest.h:158