7#include <aws/taxsettings/TaxSettings_EXPORTS.h>
8#include <aws/taxsettings/model/Address.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/taxsettings/model/SupplementalTaxRegistrationType.h>
11#include <aws/taxsettings/model/TaxRegistrationStatus.h>
47 template<
typename AddressT = Address>
48 void SetAddress(AddressT&& value) { m_addressHasBeenSet =
true; m_address = std::forward<AddressT>(value); }
49 template<
typename AddressT = Address>
59 template<
typename AuthorityIdT = Aws::String>
60 void SetAuthorityId(AuthorityIdT&& value) { m_authorityIdHasBeenSet =
true; m_authorityId = std::forward<AuthorityIdT>(value); }
61 template<
typename AuthorityIdT = Aws::String>
71 template<
typename LegalNameT = Aws::String>
72 void SetLegalName(LegalNameT&& value) { m_legalNameHasBeenSet =
true; m_legalName = std::forward<LegalNameT>(value); }
73 template<
typename LegalNameT = Aws::String>
83 template<
typename RegistrationIdT = Aws::String>
84 void SetRegistrationId(RegistrationIdT&& value) { m_registrationIdHasBeenSet =
true; m_registrationId = std::forward<RegistrationIdT>(value); }
85 template<
typename RegistrationIdT = Aws::String>
111 bool m_addressHasBeenSet =
false;
114 bool m_authorityIdHasBeenSet =
false;
117 bool m_legalNameHasBeenSet =
false;
120 bool m_registrationIdHasBeenSet =
false;
123 bool m_registrationTypeHasBeenSet =
false;
126 bool m_statusHasBeenSet =
false;
SupplementalTaxRegistration & WithAddress(AddressT &&value)
SupplementalTaxRegistration & WithLegalName(LegalNameT &&value)
AWS_TAXSETTINGS_API SupplementalTaxRegistration(Aws::Utils::Json::JsonView jsonValue)
SupplementalTaxRegistration & WithStatus(TaxRegistrationStatus value)
bool AuthorityIdHasBeenSet() const
void SetStatus(TaxRegistrationStatus value)
void SetAddress(AddressT &&value)
SupplementalTaxRegistration & WithRegistrationType(SupplementalTaxRegistrationType value)
void SetAuthorityId(AuthorityIdT &&value)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
bool RegistrationTypeHasBeenSet() const
const Aws::String & GetLegalName() const
const Aws::String & GetRegistrationId() const
SupplementalTaxRegistration & WithRegistrationId(RegistrationIdT &&value)
bool AddressHasBeenSet() const
void SetRegistrationType(SupplementalTaxRegistrationType value)
const Address & GetAddress() const
void SetLegalName(LegalNameT &&value)
AWS_TAXSETTINGS_API SupplementalTaxRegistration()=default
SupplementalTaxRegistration & WithAuthorityId(AuthorityIdT &&value)
TaxRegistrationStatus GetStatus() const
bool LegalNameHasBeenSet() const
bool RegistrationIdHasBeenSet() const
void SetRegistrationId(RegistrationIdT &&value)
AWS_TAXSETTINGS_API SupplementalTaxRegistration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAuthorityId() const
SupplementalTaxRegistrationType GetRegistrationType() const
bool StatusHasBeenSet() const
SupplementalTaxRegistrationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue