AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
UpdateAppPaymentRegistrationRequest.h
1
6#pragma once
7#include <aws/appmonetization/AppMonetizationRequest.h>
8#include <aws/appmonetization/AppMonetization_EXPORTS.h>
9#include <aws/appmonetization/model/DeveloperAddress.h>
10#include <aws/appmonetization/model/RequestScope.h>
11#include <aws/appmonetization/model/TaxRegistration.h>
12#include <aws/core/utils/Array.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Http {
20class URI;
21} // namespace Http
22namespace AppMonetization {
23namespace Model {
24
38 public:
39 AWS_APPMONETIZATION_API UpdateAppPaymentRegistrationRequest() = default;
40
41 // Service request name is the Operation name which will send this request out,
42 // each operation should has unique request name, so that we can get operation's name from this request.
43 // Note: this is not true for response, multiple operations may have the same response name,
44 // so we can not get operation's name from response.
45 inline virtual const char* GetServiceRequestName() const override { return "UpdateAppPaymentRegistration"; }
46
47 AWS_APPMONETIZATION_API Aws::String SerializePayload() const override;
48
49 AWS_APPMONETIZATION_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
50
52
55 inline const Aws::String& GetAppId() const { return m_appId; }
56 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
57 template <typename AppIdT = Aws::String>
58 void SetAppId(AppIdT&& value) {
59 m_appIdHasBeenSet = true;
60 m_appId = std::forward<AppIdT>(value);
61 }
62 template <typename AppIdT = Aws::String>
64 SetAppId(std::forward<AppIdT>(value));
65 return *this;
66 }
68
70
75 inline const Aws::String& GetPaymentRegistrationId() const { return m_paymentRegistrationId; }
76 inline bool PaymentRegistrationIdHasBeenSet() const { return m_paymentRegistrationIdHasBeenSet; }
77 template <typename PaymentRegistrationIdT = Aws::String>
78 void SetPaymentRegistrationId(PaymentRegistrationIdT&& value) {
79 m_paymentRegistrationIdHasBeenSet = true;
80 m_paymentRegistrationId = std::forward<PaymentRegistrationIdT>(value);
81 }
82 template <typename PaymentRegistrationIdT = Aws::String>
84 SetPaymentRegistrationId(std::forward<PaymentRegistrationIdT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetLegalName() const { return m_legalName; }
94 inline bool LegalNameHasBeenSet() const { return m_legalNameHasBeenSet; }
95 template <typename LegalNameT = Aws::String>
96 void SetLegalName(LegalNameT&& value) {
97 m_legalNameHasBeenSet = true;
98 m_legalName = std::forward<LegalNameT>(value);
99 }
100 template <typename LegalNameT = Aws::String>
102 SetLegalName(std::forward<LegalNameT>(value));
103 return *this;
104 }
106
108
111 inline const DeveloperAddress& GetDeveloperAddress() const { return m_developerAddress; }
112 inline bool DeveloperAddressHasBeenSet() const { return m_developerAddressHasBeenSet; }
113 template <typename DeveloperAddressT = DeveloperAddress>
114 void SetDeveloperAddress(DeveloperAddressT&& value) {
115 m_developerAddressHasBeenSet = true;
116 m_developerAddress = std::forward<DeveloperAddressT>(value);
117 }
118 template <typename DeveloperAddressT = DeveloperAddress>
120 SetDeveloperAddress(std::forward<DeveloperAddressT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetTaxRegistrationNumber() const { return m_taxRegistrationNumber; }
130 inline bool TaxRegistrationNumberHasBeenSet() const { return m_taxRegistrationNumberHasBeenSet; }
131 template <typename TaxRegistrationNumberT = Aws::String>
132 void SetTaxRegistrationNumber(TaxRegistrationNumberT&& value) {
133 m_taxRegistrationNumberHasBeenSet = true;
134 m_taxRegistrationNumber = std::forward<TaxRegistrationNumberT>(value);
135 }
136 template <typename TaxRegistrationNumberT = Aws::String>
138 SetTaxRegistrationNumber(std::forward<TaxRegistrationNumberT>(value));
139 return *this;
140 }
142
144
148 inline const Aws::String& GetEmail() const { return m_email; }
149 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
150 template <typename EmailT = Aws::String>
151 void SetEmail(EmailT&& value) {
152 m_emailHasBeenSet = true;
153 m_email = std::forward<EmailT>(value);
154 }
155 template <typename EmailT = Aws::String>
157 SetEmail(std::forward<EmailT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::String& GetSupportEmail() const { return m_supportEmail; }
167 inline bool SupportEmailHasBeenSet() const { return m_supportEmailHasBeenSet; }
168 template <typename SupportEmailT = Aws::String>
169 void SetSupportEmail(SupportEmailT&& value) {
170 m_supportEmailHasBeenSet = true;
171 m_supportEmail = std::forward<SupportEmailT>(value);
172 }
173 template <typename SupportEmailT = Aws::String>
175 SetSupportEmail(std::forward<SupportEmailT>(value));
176 return *this;
177 }
179
181
185 inline const Aws::String& GetDisplayName() const { return m_displayName; }
186 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
187 template <typename DisplayNameT = Aws::String>
188 void SetDisplayName(DisplayNameT&& value) {
189 m_displayNameHasBeenSet = true;
190 m_displayName = std::forward<DisplayNameT>(value);
191 }
192 template <typename DisplayNameT = Aws::String>
194 SetDisplayName(std::forward<DisplayNameT>(value));
195 return *this;
196 }
198
200
203 inline const Aws::String& GetSupportPhone() const { return m_supportPhone; }
204 inline bool SupportPhoneHasBeenSet() const { return m_supportPhoneHasBeenSet; }
205 template <typename SupportPhoneT = Aws::String>
206 void SetSupportPhone(SupportPhoneT&& value) {
207 m_supportPhoneHasBeenSet = true;
208 m_supportPhone = std::forward<SupportPhoneT>(value);
209 }
210 template <typename SupportPhoneT = Aws::String>
212 SetSupportPhone(std::forward<SupportPhoneT>(value));
213 return *this;
214 }
216
218
223 inline const Aws::Utils::CryptoBuffer& GetInvoiceLogo() const { return m_invoiceLogo; }
224 inline bool InvoiceLogoHasBeenSet() const { return m_invoiceLogoHasBeenSet; }
225 template <typename InvoiceLogoT = Aws::Utils::CryptoBuffer>
226 void SetInvoiceLogo(InvoiceLogoT&& value) {
227 m_invoiceLogoHasBeenSet = true;
228 m_invoiceLogo = std::forward<InvoiceLogoT>(value);
229 }
230 template <typename InvoiceLogoT = Aws::Utils::CryptoBuffer>
232 SetInvoiceLogo(std::forward<InvoiceLogoT>(value));
233 return *this;
234 }
236
238
241 inline const Aws::Vector<TaxRegistration>& GetTaxRegistrations() const { return m_taxRegistrations; }
242 inline bool TaxRegistrationsHasBeenSet() const { return m_taxRegistrationsHasBeenSet; }
243 template <typename TaxRegistrationsT = Aws::Vector<TaxRegistration>>
244 void SetTaxRegistrations(TaxRegistrationsT&& value) {
245 m_taxRegistrationsHasBeenSet = true;
246 m_taxRegistrations = std::forward<TaxRegistrationsT>(value);
247 }
248 template <typename TaxRegistrationsT = Aws::Vector<TaxRegistration>>
250 SetTaxRegistrations(std::forward<TaxRegistrationsT>(value));
251 return *this;
252 }
253 template <typename TaxRegistrationsT = TaxRegistration>
255 m_taxRegistrationsHasBeenSet = true;
256 m_taxRegistrations.emplace_back(std::forward<TaxRegistrationsT>(value));
257 return *this;
258 }
260
262
265 inline RequestScope GetScope() const { return m_scope; }
266 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
267 inline void SetScope(RequestScope value) {
268 m_scopeHasBeenSet = true;
269 m_scope = value;
270 }
272 SetScope(value);
273 return *this;
274 }
276 private:
277 Aws::String m_appId;
278
279 Aws::String m_paymentRegistrationId;
280
281 Aws::String m_legalName;
282
283 DeveloperAddress m_developerAddress;
284
285 Aws::String m_taxRegistrationNumber;
286
287 Aws::String m_email;
288
289 Aws::String m_supportEmail;
290
291 Aws::String m_displayName;
292
293 Aws::String m_supportPhone;
294
295 Aws::Utils::CryptoBuffer m_invoiceLogo{};
296
297 Aws::Vector<TaxRegistration> m_taxRegistrations;
298
300 bool m_appIdHasBeenSet = false;
301 bool m_paymentRegistrationIdHasBeenSet = false;
302 bool m_legalNameHasBeenSet = false;
303 bool m_developerAddressHasBeenSet = false;
304 bool m_taxRegistrationNumberHasBeenSet = false;
305 bool m_emailHasBeenSet = false;
306 bool m_supportEmailHasBeenSet = false;
307 bool m_displayNameHasBeenSet = false;
308 bool m_supportPhoneHasBeenSet = false;
309 bool m_invoiceLogoHasBeenSet = false;
310 bool m_taxRegistrationsHasBeenSet = false;
311 bool m_scopeHasBeenSet = false;
312};
313
314} // namespace Model
315} // namespace AppMonetization
316} // namespace Aws
UpdateAppPaymentRegistrationRequest & WithTaxRegistrationNumber(TaxRegistrationNumberT &&value)
UpdateAppPaymentRegistrationRequest & WithInvoiceLogo(InvoiceLogoT &&value)
UpdateAppPaymentRegistrationRequest & WithPaymentRegistrationId(PaymentRegistrationIdT &&value)
UpdateAppPaymentRegistrationRequest & WithScope(RequestScope value)
UpdateAppPaymentRegistrationRequest & WithDeveloperAddress(DeveloperAddressT &&value)
UpdateAppPaymentRegistrationRequest & WithDisplayName(DisplayNameT &&value)
AWS_APPMONETIZATION_API UpdateAppPaymentRegistrationRequest()=default
UpdateAppPaymentRegistrationRequest & WithSupportPhone(SupportPhoneT &&value)
UpdateAppPaymentRegistrationRequest & WithLegalName(LegalNameT &&value)
UpdateAppPaymentRegistrationRequest & AddTaxRegistrations(TaxRegistrationsT &&value)
UpdateAppPaymentRegistrationRequest & WithTaxRegistrations(TaxRegistrationsT &&value)
UpdateAppPaymentRegistrationRequest & WithSupportEmail(SupportEmailT &&value)
AWS_APPMONETIZATION_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_APPMONETIZATION_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector