7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/taxsettings/TaxSettings_EXPORTS.h>
9#include <aws/taxsettings/model/Address.h>
10#include <aws/taxsettings/model/SupplementalTaxRegistrationType.h>
11#include <aws/taxsettings/model/TaxRegistrationStatus.h>
22namespace TaxSettings {
43 template <
typename RegistrationIdT = Aws::String>
45 m_registrationIdHasBeenSet =
true;
46 m_registrationId = std::forward<RegistrationIdT>(value);
48 template <
typename RegistrationIdT = Aws::String>
62 m_registrationTypeHasBeenSet =
true;
63 m_registrationType = value;
77 template <
typename LegalNameT = Aws::String>
79 m_legalNameHasBeenSet =
true;
80 m_legalName = std::forward<LegalNameT>(value);
82 template <
typename LegalNameT = Aws::String>
93 template <
typename AddressT = Address>
95 m_addressHasBeenSet =
true;
96 m_address = std::forward<AddressT>(value);
98 template <
typename AddressT = Address>
111 template <
typename AuthorityIdT = Aws::String>
113 m_authorityIdHasBeenSet =
true;
114 m_authorityId = std::forward<AuthorityIdT>(value);
116 template <
typename AuthorityIdT = Aws::String>
130 m_statusHasBeenSet =
true;
150 bool m_registrationIdHasBeenSet =
false;
151 bool m_registrationTypeHasBeenSet =
false;
152 bool m_legalNameHasBeenSet =
false;
153 bool m_addressHasBeenSet =
false;
154 bool m_authorityIdHasBeenSet =
false;
155 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