AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
AppPaymentRegistration.h
1
6#pragma once
7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/appmonetization/model/AdditionalAppEligibility.h>
9#include <aws/appmonetization/model/AppPaymentRegistrationStatus.h>
10#include <aws/appmonetization/model/BusinessType.h>
11#include <aws/appmonetization/model/DeveloperAddress.h>
12#include <aws/appmonetization/model/PaymentRegistrationStatus.h>
13#include <aws/appmonetization/model/TaxRegistration.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace AppMonetization {
28namespace Model {
29
38 public:
39 AWS_APPMONETIZATION_API AppPaymentRegistration() = default;
40 AWS_APPMONETIZATION_API AppPaymentRegistration(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APPMONETIZATION_API AppPaymentRegistration& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
48 inline const Aws::String& GetAppId() const { return m_appId; }
49 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
50 template <typename AppIdT = Aws::String>
51 void SetAppId(AppIdT&& value) {
52 m_appIdHasBeenSet = true;
53 m_appId = std::forward<AppIdT>(value);
54 }
55 template <typename AppIdT = Aws::String>
57 SetAppId(std::forward<AppIdT>(value));
58 return *this;
59 }
61
63
67 inline AppPaymentRegistrationStatus GetStatus() const { return m_status; }
68 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
70 m_statusHasBeenSet = true;
71 m_status = value;
72 }
74 SetStatus(value);
75 return *this;
76 }
78
80
86 inline const Aws::String& GetPaymentRegistrationId() const { return m_paymentRegistrationId; }
87 inline bool PaymentRegistrationIdHasBeenSet() const { return m_paymentRegistrationIdHasBeenSet; }
88 template <typename PaymentRegistrationIdT = Aws::String>
89 void SetPaymentRegistrationId(PaymentRegistrationIdT&& value) {
90 m_paymentRegistrationIdHasBeenSet = true;
91 m_paymentRegistrationId = std::forward<PaymentRegistrationIdT>(value);
92 }
93 template <typename PaymentRegistrationIdT = Aws::String>
94 AppPaymentRegistration& WithPaymentRegistrationId(PaymentRegistrationIdT&& value) {
95 SetPaymentRegistrationId(std::forward<PaymentRegistrationIdT>(value));
96 return *this;
97 }
99
101
106 inline PaymentRegistrationStatus GetPaymentRegistrationStatus() const { return m_paymentRegistrationStatus; }
107 inline bool PaymentRegistrationStatusHasBeenSet() const { return m_paymentRegistrationStatusHasBeenSet; }
109 m_paymentRegistrationStatusHasBeenSet = true;
110 m_paymentRegistrationStatus = value;
111 }
117
119
123 inline AdditionalAppEligibility GetAdditionalAppEligibility() const { return m_additionalAppEligibility; }
124 inline bool AdditionalAppEligibilityHasBeenSet() const { return m_additionalAppEligibilityHasBeenSet; }
126 m_additionalAppEligibilityHasBeenSet = true;
127 m_additionalAppEligibility = value;
128 }
134
136
139 inline const Aws::String& GetLegalName() const { return m_legalName; }
140 inline bool LegalNameHasBeenSet() const { return m_legalNameHasBeenSet; }
141 template <typename LegalNameT = Aws::String>
142 void SetLegalName(LegalNameT&& value) {
143 m_legalNameHasBeenSet = true;
144 m_legalName = std::forward<LegalNameT>(value);
145 }
146 template <typename LegalNameT = Aws::String>
148 SetLegalName(std::forward<LegalNameT>(value));
149 return *this;
150 }
152
154
157 inline const DeveloperAddress& GetDeveloperAddress() const { return m_developerAddress; }
158 inline bool DeveloperAddressHasBeenSet() const { return m_developerAddressHasBeenSet; }
159 template <typename DeveloperAddressT = DeveloperAddress>
160 void SetDeveloperAddress(DeveloperAddressT&& value) {
161 m_developerAddressHasBeenSet = true;
162 m_developerAddress = std::forward<DeveloperAddressT>(value);
163 }
164 template <typename DeveloperAddressT = DeveloperAddress>
165 AppPaymentRegistration& WithDeveloperAddress(DeveloperAddressT&& value) {
166 SetDeveloperAddress(std::forward<DeveloperAddressT>(value));
167 return *this;
168 }
170
172
175 inline const Aws::String& GetTaxRegistrationNumber() const { return m_taxRegistrationNumber; }
176 inline bool TaxRegistrationNumberHasBeenSet() const { return m_taxRegistrationNumberHasBeenSet; }
177 template <typename TaxRegistrationNumberT = Aws::String>
178 void SetTaxRegistrationNumber(TaxRegistrationNumberT&& value) {
179 m_taxRegistrationNumberHasBeenSet = true;
180 m_taxRegistrationNumber = std::forward<TaxRegistrationNumberT>(value);
181 }
182 template <typename TaxRegistrationNumberT = Aws::String>
183 AppPaymentRegistration& WithTaxRegistrationNumber(TaxRegistrationNumberT&& value) {
184 SetTaxRegistrationNumber(std::forward<TaxRegistrationNumberT>(value));
185 return *this;
186 }
188
190
193 inline BusinessType GetBusinessType() const { return m_businessType; }
194 inline bool BusinessTypeHasBeenSet() const { return m_businessTypeHasBeenSet; }
195 inline void SetBusinessType(BusinessType value) {
196 m_businessTypeHasBeenSet = true;
197 m_businessType = value;
198 }
200 SetBusinessType(value);
201 return *this;
202 }
204
206
209 inline const Aws::String& GetEmail() const { return m_email; }
210 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
211 template <typename EmailT = Aws::String>
212 void SetEmail(EmailT&& value) {
213 m_emailHasBeenSet = true;
214 m_email = std::forward<EmailT>(value);
215 }
216 template <typename EmailT = Aws::String>
218 SetEmail(std::forward<EmailT>(value));
219 return *this;
220 }
222
224
227 inline const Aws::String& GetSupportEmail() const { return m_supportEmail; }
228 inline bool SupportEmailHasBeenSet() const { return m_supportEmailHasBeenSet; }
229 template <typename SupportEmailT = Aws::String>
230 void SetSupportEmail(SupportEmailT&& value) {
231 m_supportEmailHasBeenSet = true;
232 m_supportEmail = std::forward<SupportEmailT>(value);
233 }
234 template <typename SupportEmailT = Aws::String>
235 AppPaymentRegistration& WithSupportEmail(SupportEmailT&& value) {
236 SetSupportEmail(std::forward<SupportEmailT>(value));
237 return *this;
238 }
240
242
246 inline const Aws::String& GetDisplayName() const { return m_displayName; }
247 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
248 template <typename DisplayNameT = Aws::String>
249 void SetDisplayName(DisplayNameT&& value) {
250 m_displayNameHasBeenSet = true;
251 m_displayName = std::forward<DisplayNameT>(value);
252 }
253 template <typename DisplayNameT = Aws::String>
255 SetDisplayName(std::forward<DisplayNameT>(value));
256 return *this;
257 }
259
261
264 inline const Aws::String& GetSupportPhone() const { return m_supportPhone; }
265 inline bool SupportPhoneHasBeenSet() const { return m_supportPhoneHasBeenSet; }
266 template <typename SupportPhoneT = Aws::String>
267 void SetSupportPhone(SupportPhoneT&& value) {
268 m_supportPhoneHasBeenSet = true;
269 m_supportPhone = std::forward<SupportPhoneT>(value);
270 }
271 template <typename SupportPhoneT = Aws::String>
272 AppPaymentRegistration& WithSupportPhone(SupportPhoneT&& value) {
273 SetSupportPhone(std::forward<SupportPhoneT>(value));
274 return *this;
275 }
277
279
282 inline const Aws::Vector<TaxRegistration>& GetTaxRegistrations() const { return m_taxRegistrations; }
283 inline bool TaxRegistrationsHasBeenSet() const { return m_taxRegistrationsHasBeenSet; }
284 template <typename TaxRegistrationsT = Aws::Vector<TaxRegistration>>
285 void SetTaxRegistrations(TaxRegistrationsT&& value) {
286 m_taxRegistrationsHasBeenSet = true;
287 m_taxRegistrations = std::forward<TaxRegistrationsT>(value);
288 }
289 template <typename TaxRegistrationsT = Aws::Vector<TaxRegistration>>
290 AppPaymentRegistration& WithTaxRegistrations(TaxRegistrationsT&& value) {
291 SetTaxRegistrations(std::forward<TaxRegistrationsT>(value));
292 return *this;
293 }
294 template <typename TaxRegistrationsT = TaxRegistration>
295 AppPaymentRegistration& AddTaxRegistrations(TaxRegistrationsT&& value) {
296 m_taxRegistrationsHasBeenSet = true;
297 m_taxRegistrations.emplace_back(std::forward<TaxRegistrationsT>(value));
298 return *this;
299 }
301
303
306 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
307 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
308 template <typename CreatedAtT = Aws::Utils::DateTime>
309 void SetCreatedAt(CreatedAtT&& value) {
310 m_createdAtHasBeenSet = true;
311 m_createdAt = std::forward<CreatedAtT>(value);
312 }
313 template <typename CreatedAtT = Aws::Utils::DateTime>
315 SetCreatedAt(std::forward<CreatedAtT>(value));
316 return *this;
317 }
319
321
324 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
325 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
326 template <typename UpdatedAtT = Aws::Utils::DateTime>
327 void SetUpdatedAt(UpdatedAtT&& value) {
328 m_updatedAtHasBeenSet = true;
329 m_updatedAt = std::forward<UpdatedAtT>(value);
330 }
331 template <typename UpdatedAtT = Aws::Utils::DateTime>
333 SetUpdatedAt(std::forward<UpdatedAtT>(value));
334 return *this;
335 }
337 private:
338 Aws::String m_appId;
339
341
342 Aws::String m_paymentRegistrationId;
343
345
347
348 Aws::String m_legalName;
349
350 DeveloperAddress m_developerAddress;
351
352 Aws::String m_taxRegistrationNumber;
353
354 BusinessType m_businessType{BusinessType::NOT_SET};
355
356 Aws::String m_email;
357
358 Aws::String m_supportEmail;
359
360 Aws::String m_displayName;
361
362 Aws::String m_supportPhone;
363
364 Aws::Vector<TaxRegistration> m_taxRegistrations;
365
366 Aws::Utils::DateTime m_createdAt{};
367
368 Aws::Utils::DateTime m_updatedAt{};
369 bool m_appIdHasBeenSet = false;
370 bool m_statusHasBeenSet = false;
371 bool m_paymentRegistrationIdHasBeenSet = false;
372 bool m_paymentRegistrationStatusHasBeenSet = false;
373 bool m_additionalAppEligibilityHasBeenSet = false;
374 bool m_legalNameHasBeenSet = false;
375 bool m_developerAddressHasBeenSet = false;
376 bool m_taxRegistrationNumberHasBeenSet = false;
377 bool m_businessTypeHasBeenSet = false;
378 bool m_emailHasBeenSet = false;
379 bool m_supportEmailHasBeenSet = false;
380 bool m_displayNameHasBeenSet = false;
381 bool m_supportPhoneHasBeenSet = false;
382 bool m_taxRegistrationsHasBeenSet = false;
383 bool m_createdAtHasBeenSet = false;
384 bool m_updatedAtHasBeenSet = false;
385};
386
387} // namespace Model
388} // namespace AppMonetization
389} // namespace Aws
void SetPaymentRegistrationId(PaymentRegistrationIdT &&value)
AppPaymentRegistration & WithLegalName(LegalNameT &&value)
AppPaymentRegistration & WithEmail(EmailT &&value)
void SetAdditionalAppEligibility(AdditionalAppEligibility value)
AppPaymentRegistration & WithUpdatedAt(UpdatedAtT &&value)
AppPaymentRegistration & WithPaymentRegistrationId(PaymentRegistrationIdT &&value)
AWS_APPMONETIZATION_API AppPaymentRegistration()=default
AppPaymentRegistration & WithCreatedAt(CreatedAtT &&value)
void SetStatus(AppPaymentRegistrationStatus value)
void SetTaxRegistrationNumber(TaxRegistrationNumberT &&value)
AWS_APPMONETIZATION_API AppPaymentRegistration & operator=(Aws::Utils::Json::JsonView jsonValue)
AppPaymentRegistration & WithStatus(AppPaymentRegistrationStatus value)
PaymentRegistrationStatus GetPaymentRegistrationStatus() const
AppPaymentRegistration & WithTaxRegistrationNumber(TaxRegistrationNumberT &&value)
AppPaymentRegistration & WithBusinessType(BusinessType value)
AppPaymentRegistration & AddTaxRegistrations(TaxRegistrationsT &&value)
AppPaymentRegistration & WithTaxRegistrations(TaxRegistrationsT &&value)
AppPaymentRegistration & WithPaymentRegistrationStatus(PaymentRegistrationStatus value)
AppPaymentRegistration & WithDeveloperAddress(DeveloperAddressT &&value)
const Aws::Vector< TaxRegistration > & GetTaxRegistrations() const
AppPaymentRegistration & WithSupportEmail(SupportEmailT &&value)
AppPaymentRegistration & WithAdditionalAppEligibility(AdditionalAppEligibility value)
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AppPaymentRegistration & WithAppId(AppIdT &&value)
AppPaymentRegistration & WithDisplayName(DisplayNameT &&value)
AppPaymentRegistration & WithSupportPhone(SupportPhoneT &&value)
AWS_APPMONETIZATION_API AppPaymentRegistration(Aws::Utils::Json::JsonView jsonValue)
void SetPaymentRegistrationStatus(PaymentRegistrationStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue