AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
UpdateDomainContactRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53domains/Route53DomainsRequest.h>
9#include <aws/route53domains/Route53Domains_EXPORTS.h>
10#include <aws/route53domains/model/Consent.h>
11#include <aws/route53domains/model/ContactDetail.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Route53Domains {
17namespace Model {
18
26 public:
27 AWS_ROUTE53DOMAINS_API UpdateDomainContactRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateDomainContact"; }
34
35 AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override;
36
37 AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
40
43 inline const Aws::String& GetDomainName() const { return m_domainName; }
44 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
45 template <typename DomainNameT = Aws::String>
46 void SetDomainName(DomainNameT&& value) {
47 m_domainNameHasBeenSet = true;
48 m_domainName = std::forward<DomainNameT>(value);
49 }
50 template <typename DomainNameT = Aws::String>
52 SetDomainName(std::forward<DomainNameT>(value));
53 return *this;
54 }
56
58
61 inline const ContactDetail& GetAdminContact() const { return m_adminContact; }
62 inline bool AdminContactHasBeenSet() const { return m_adminContactHasBeenSet; }
63 template <typename AdminContactT = ContactDetail>
64 void SetAdminContact(AdminContactT&& value) {
65 m_adminContactHasBeenSet = true;
66 m_adminContact = std::forward<AdminContactT>(value);
67 }
68 template <typename AdminContactT = ContactDetail>
70 SetAdminContact(std::forward<AdminContactT>(value));
71 return *this;
72 }
74
76
79 inline const ContactDetail& GetRegistrantContact() const { return m_registrantContact; }
80 inline bool RegistrantContactHasBeenSet() const { return m_registrantContactHasBeenSet; }
81 template <typename RegistrantContactT = ContactDetail>
82 void SetRegistrantContact(RegistrantContactT&& value) {
83 m_registrantContactHasBeenSet = true;
84 m_registrantContact = std::forward<RegistrantContactT>(value);
85 }
86 template <typename RegistrantContactT = ContactDetail>
88 SetRegistrantContact(std::forward<RegistrantContactT>(value));
89 return *this;
90 }
92
94
97 inline const ContactDetail& GetTechContact() const { return m_techContact; }
98 inline bool TechContactHasBeenSet() const { return m_techContactHasBeenSet; }
99 template <typename TechContactT = ContactDetail>
100 void SetTechContact(TechContactT&& value) {
101 m_techContactHasBeenSet = true;
102 m_techContact = std::forward<TechContactT>(value);
103 }
104 template <typename TechContactT = ContactDetail>
106 SetTechContact(std::forward<TechContactT>(value));
107 return *this;
108 }
110
112
116 inline const Consent& GetConsent() const { return m_consent; }
117 inline bool ConsentHasBeenSet() const { return m_consentHasBeenSet; }
118 template <typename ConsentT = Consent>
119 void SetConsent(ConsentT&& value) {
120 m_consentHasBeenSet = true;
121 m_consent = std::forward<ConsentT>(value);
122 }
123 template <typename ConsentT = Consent>
125 SetConsent(std::forward<ConsentT>(value));
126 return *this;
127 }
129
131
134 inline const ContactDetail& GetBillingContact() const { return m_billingContact; }
135 inline bool BillingContactHasBeenSet() const { return m_billingContactHasBeenSet; }
136 template <typename BillingContactT = ContactDetail>
137 void SetBillingContact(BillingContactT&& value) {
138 m_billingContactHasBeenSet = true;
139 m_billingContact = std::forward<BillingContactT>(value);
140 }
141 template <typename BillingContactT = ContactDetail>
143 SetBillingContact(std::forward<BillingContactT>(value));
144 return *this;
145 }
147 private:
148 Aws::String m_domainName;
149
150 ContactDetail m_adminContact;
151
152 ContactDetail m_registrantContact;
153
154 ContactDetail m_techContact;
155
156 Consent m_consent;
157
158 ContactDetail m_billingContact;
159 bool m_domainNameHasBeenSet = false;
160 bool m_adminContactHasBeenSet = false;
161 bool m_registrantContactHasBeenSet = false;
162 bool m_techContactHasBeenSet = false;
163 bool m_consentHasBeenSet = false;
164 bool m_billingContactHasBeenSet = false;
165};
166
167} // namespace Model
168} // namespace Route53Domains
169} // namespace Aws
UpdateDomainContactRequest & WithConsent(ConsentT &&value)
AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDomainContactRequest & WithBillingContact(BillingContactT &&value)
UpdateDomainContactRequest & WithDomainName(DomainNameT &&value)
AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override
AWS_ROUTE53DOMAINS_API UpdateDomainContactRequest()=default
UpdateDomainContactRequest & WithAdminContact(AdminContactT &&value)
UpdateDomainContactRequest & WithTechContact(TechContactT &&value)
UpdateDomainContactRequest & WithRegistrantContact(RegistrantContactT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String