7#include <aws/appmonetization/AppMonetizationRequest.h>
8#include <aws/appmonetization/AppMonetization_EXPORTS.h>
9#include <aws/appmonetization/model/BusinessType.h>
10#include <aws/appmonetization/model/DeveloperAddress.h>
11#include <aws/appmonetization/model/RequestScope.h>
12#include <aws/appmonetization/model/TaxRegistration.h>
13#include <aws/core/utils/Array.h>
14#include <aws/core/utils/UUID.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
24namespace AppMonetization {
54 template <
typename AppIdT = Aws::String>
56 m_appIdHasBeenSet =
true;
57 m_appId = std::forward<AppIdT>(value);
59 template <
typename AppIdT = Aws::String>
61 SetAppId(std::forward<AppIdT>(value));
72 template <
typename LegalNameT = Aws::String>
74 m_legalNameHasBeenSet =
true;
75 m_legalName = std::forward<LegalNameT>(value);
77 template <
typename LegalNameT = Aws::String>
90 template <
typename DeveloperAddressT = DeveloperAddress>
92 m_developerAddressHasBeenSet =
true;
93 m_developerAddress = std::forward<DeveloperAddressT>(value);
95 template <
typename DeveloperAddressT = DeveloperAddress>
108 template <
typename TaxRegistrationNumberT = Aws::String>
110 m_taxRegistrationNumberHasBeenSet =
true;
111 m_taxRegistrationNumber = std::forward<TaxRegistrationNumberT>(value);
113 template <
typename TaxRegistrationNumberT = Aws::String>
127 m_businessTypeHasBeenSet =
true;
128 m_businessType = value;
144 template <
typename EmailT = Aws::String>
146 m_emailHasBeenSet =
true;
147 m_email = std::forward<EmailT>(value);
149 template <
typename EmailT = Aws::String>
151 SetEmail(std::forward<EmailT>(value));
162 template <
typename SupportEmailT = Aws::String>
164 m_supportEmailHasBeenSet =
true;
165 m_supportEmail = std::forward<SupportEmailT>(value);
167 template <
typename SupportEmailT = Aws::String>
181 template <
typename DisplayNameT = Aws::String>
183 m_displayNameHasBeenSet =
true;
184 m_displayName = std::forward<DisplayNameT>(value);
186 template <
typename DisplayNameT = Aws::String>
199 template <
typename SupportPhoneT = Aws::String>
201 m_supportPhoneHasBeenSet =
true;
202 m_supportPhone = std::forward<SupportPhoneT>(value);
204 template <
typename SupportPhoneT = Aws::String>
219 template <
typename InvoiceLogoT = Aws::Utils::CryptoBuffer>
221 m_invoiceLogoHasBeenSet =
true;
222 m_invoiceLogo = std::forward<InvoiceLogoT>(value);
224 template <
typename InvoiceLogoT = Aws::Utils::CryptoBuffer>
237 template <
typename TaxRegistrationsT = Aws::Vector<TaxRegistration>>
239 m_taxRegistrationsHasBeenSet =
true;
240 m_taxRegistrations = std::forward<TaxRegistrationsT>(value);
242 template <
typename TaxRegistrationsT = Aws::Vector<TaxRegistration>>
247 template <
typename TaxRegistrationsT = TaxRegistration>
249 m_taxRegistrationsHasBeenSet =
true;
250 m_taxRegistrations.emplace_back(std::forward<TaxRegistrationsT>(value));
262 template <
typename ReturnUrlT = Aws::String>
264 m_returnUrlHasBeenSet =
true;
265 m_returnUrl = std::forward<ReturnUrlT>(value);
267 template <
typename ReturnUrlT = Aws::String>
281 template <
typename RefreshUrlT = Aws::String>
283 m_refreshUrlHasBeenSet =
true;
284 m_refreshUrl = std::forward<RefreshUrlT>(value);
286 template <
typename RefreshUrlT = Aws::String>
300 template <
typename ClientTokenT = Aws::String>
302 m_clientTokenHasBeenSet =
true;
303 m_clientToken = std::forward<ClientTokenT>(value);
305 template <
typename ClientTokenT = Aws::String>
319 m_scopeHasBeenSet =
true;
357 bool m_appIdHasBeenSet =
false;
358 bool m_legalNameHasBeenSet =
false;
359 bool m_developerAddressHasBeenSet =
false;
360 bool m_taxRegistrationNumberHasBeenSet =
false;
361 bool m_businessTypeHasBeenSet =
false;
362 bool m_emailHasBeenSet =
false;
363 bool m_supportEmailHasBeenSet =
false;
364 bool m_displayNameHasBeenSet =
false;
365 bool m_supportPhoneHasBeenSet =
false;
366 bool m_invoiceLogoHasBeenSet =
false;
367 bool m_taxRegistrationsHasBeenSet =
false;
368 bool m_returnUrlHasBeenSet =
false;
369 bool m_refreshUrlHasBeenSet =
false;
370 bool m_clientTokenHasBeenSet =
true;
371 bool m_scopeHasBeenSet =
false;
bool EmailHasBeenSet() const
bool ScopeHasBeenSet() const
AWS_APPMONETIZATION_API CreateAppPaymentRegistrationRequest()=default
bool InvoiceLogoHasBeenSet() const
CreateAppPaymentRegistrationRequest & WithInvoiceLogo(InvoiceLogoT &&value)
bool ReturnUrlHasBeenSet() const
AWS_APPMONETIZATION_API Aws::String SerializePayload() const override
const Aws::String & GetEmail() const
const Aws::String & GetTaxRegistrationNumber() const
RequestScope GetScope() const
void SetInvoiceLogo(InvoiceLogoT &&value)
CreateAppPaymentRegistrationRequest & WithSupportEmail(SupportEmailT &&value)
bool SupportPhoneHasBeenSet() const
CreateAppPaymentRegistrationRequest & WithClientToken(ClientTokenT &&value)
bool TaxRegistrationNumberHasBeenSet() const
const Aws::String & GetReturnUrl() const
bool DisplayNameHasBeenSet() const
const Aws::String & GetSupportEmail() const
CreateAppPaymentRegistrationRequest & WithBusinessType(BusinessType value)
const DeveloperAddress & GetDeveloperAddress() const
void SetBusinessType(BusinessType value)
void SetDisplayName(DisplayNameT &&value)
CreateAppPaymentRegistrationRequest & AddTaxRegistrations(TaxRegistrationsT &&value)
void SetScope(RequestScope value)
bool DeveloperAddressHasBeenSet() const
const Aws::String & GetDisplayName() const
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
const Aws::Vector< TaxRegistration > & GetTaxRegistrations() const
CreateAppPaymentRegistrationRequest & WithRefreshUrl(RefreshUrlT &&value)
bool ClientTokenHasBeenSet() const
CreateAppPaymentRegistrationRequest & WithTaxRegistrationNumber(TaxRegistrationNumberT &&value)
void SetTaxRegistrations(TaxRegistrationsT &&value)
CreateAppPaymentRegistrationRequest & WithEmail(EmailT &&value)
CreateAppPaymentRegistrationRequest & WithLegalName(LegalNameT &&value)
CreateAppPaymentRegistrationRequest & WithDeveloperAddress(DeveloperAddressT &&value)
void SetEmail(EmailT &&value)
bool AppIdHasBeenSet() const
CreateAppPaymentRegistrationRequest & WithAppId(AppIdT &&value)
CreateAppPaymentRegistrationRequest & WithScope(RequestScope value)
void SetRefreshUrl(RefreshUrlT &&value)
const Aws::Utils::CryptoBuffer & GetInvoiceLogo() const
CreateAppPaymentRegistrationRequest & WithReturnUrl(ReturnUrlT &&value)
bool SupportEmailHasBeenSet() const
bool TaxRegistrationsHasBeenSet() const
const Aws::String & GetRefreshUrl() const
void SetDeveloperAddress(DeveloperAddressT &&value)
CreateAppPaymentRegistrationRequest & WithTaxRegistrations(TaxRegistrationsT &&value)
void SetLegalName(LegalNameT &&value)
CreateAppPaymentRegistrationRequest & WithSupportPhone(SupportPhoneT &&value)
bool RefreshUrlHasBeenSet() const
const Aws::String & GetSupportPhone() const
BusinessType GetBusinessType() const
AWS_APPMONETIZATION_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
void SetSupportPhone(SupportPhoneT &&value)
const Aws::String & GetLegalName() const
const Aws::String & GetAppId() const
void SetReturnUrl(ReturnUrlT &&value)
void SetSupportEmail(SupportEmailT &&value)
CreateAppPaymentRegistrationRequest & WithDisplayName(DisplayNameT &&value)
void SetTaxRegistrationNumber(TaxRegistrationNumberT &&value)
void SetAppId(AppIdT &&value)
bool BusinessTypeHasBeenSet() const
bool LegalNameHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector