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 {
41 template <
typename AddressT = Address>
43 m_addressHasBeenSet =
true;
44 m_address = std::forward<AddressT>(value);
46 template <
typename AddressT = Address>
59 template <
typename AuthorityIdT = Aws::String>
61 m_authorityIdHasBeenSet =
true;
62 m_authorityId = std::forward<AuthorityIdT>(value);
64 template <
typename AuthorityIdT = Aws::String>
77 template <
typename LegalNameT = Aws::String>
79 m_legalNameHasBeenSet =
true;
80 m_legalName = std::forward<LegalNameT>(value);
82 template <
typename LegalNameT = Aws::String>
95 template <
typename RegistrationIdT = Aws::String>
97 m_registrationIdHasBeenSet =
true;
98 m_registrationId = std::forward<RegistrationIdT>(value);
100 template <
typename RegistrationIdT = Aws::String>
114 m_registrationTypeHasBeenSet =
true;
115 m_registrationType = value;
130 m_statusHasBeenSet =
true;
150 bool m_addressHasBeenSet =
false;
151 bool m_authorityIdHasBeenSet =
false;
152 bool m_legalNameHasBeenSet =
false;
153 bool m_registrationIdHasBeenSet =
false;
154 bool m_registrationTypeHasBeenSet =
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