7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/taxsettings/TaxSettings_EXPORTS.h>
10#include <aws/taxsettings/model/AdditionalInfoResponse.h>
11#include <aws/taxsettings/model/Address.h>
12#include <aws/taxsettings/model/Sector.h>
13#include <aws/taxsettings/model/TaxDocumentMetadata.h>
14#include <aws/taxsettings/model/TaxRegistrationStatus.h>
15#include <aws/taxsettings/model/TaxRegistrationType.h>
26namespace TaxSettings {
47 template <
typename RegistrationIdT = Aws::String>
49 m_registrationIdHasBeenSet =
true;
50 m_registrationId = std::forward<RegistrationIdT>(value);
52 template <
typename RegistrationIdT = Aws::String>
66 m_registrationTypeHasBeenSet =
true;
67 m_registrationType = value;
81 template <
typename LegalNameT = Aws::String>
83 m_legalNameHasBeenSet =
true;
84 m_legalName = std::forward<LegalNameT>(value);
86 template <
typename LegalNameT = Aws::String>
101 m_statusHasBeenSet =
true;
121 m_sectorHasBeenSet =
true;
136 template <
typename TaxDocumentMetadatasT = Aws::Vector<TaxDocumentMetadata>>
138 m_taxDocumentMetadatasHasBeenSet =
true;
139 m_taxDocumentMetadatas = std::forward<TaxDocumentMetadatasT>(value);
141 template <
typename TaxDocumentMetadatasT = Aws::Vector<TaxDocumentMetadata>>
146 template <
typename TaxDocumentMetadatasT = TaxDocumentMetadata>
148 m_taxDocumentMetadatasHasBeenSet =
true;
149 m_taxDocumentMetadatas.emplace_back(std::forward<TaxDocumentMetadatasT>(value));
160 template <
typename CertifiedEmailIdT = Aws::String>
162 m_certifiedEmailIdHasBeenSet =
true;
163 m_certifiedEmailId = std::forward<CertifiedEmailIdT>(value);
165 template <
typename CertifiedEmailIdT = Aws::String>
178 template <
typename AdditionalTaxInformationT = AdditionalInfoResponse>
180 m_additionalTaxInformationHasBeenSet =
true;
181 m_additionalTaxInformation = std::forward<AdditionalTaxInformationT>(value);
183 template <
typename AdditionalTaxInformationT = AdditionalInfoResponse>
196 template <
typename LegalAddressT = Address>
198 m_legalAddressHasBeenSet =
true;
199 m_legalAddress = std::forward<LegalAddressT>(value);
201 template <
typename LegalAddressT = Address>
222 AdditionalInfoResponse m_additionalTaxInformation;
224 Address m_legalAddress;
225 bool m_registrationIdHasBeenSet =
false;
226 bool m_registrationTypeHasBeenSet =
false;
227 bool m_legalNameHasBeenSet =
false;
228 bool m_statusHasBeenSet =
false;
229 bool m_sectorHasBeenSet =
false;
230 bool m_taxDocumentMetadatasHasBeenSet =
false;
231 bool m_certifiedEmailIdHasBeenSet =
false;
232 bool m_additionalTaxInformationHasBeenSet =
false;
233 bool m_legalAddressHasBeenSet =
false;
bool RegistrationIdHasBeenSet() const
TaxRegistration & WithTaxDocumentMetadatas(TaxDocumentMetadatasT &&value)
AWS_TAXSETTINGS_API TaxRegistration(Aws::Utils::Json::JsonView jsonValue)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCertifiedEmailId(CertifiedEmailIdT &&value)
TaxRegistration & WithRegistrationType(TaxRegistrationType value)
const Aws::String & GetRegistrationId() const
TaxRegistration & WithStatus(TaxRegistrationStatus value)
TaxRegistrationStatus GetStatus() const
bool CertifiedEmailIdHasBeenSet() const
TaxRegistration & WithLegalName(LegalNameT &&value)
bool AdditionalTaxInformationHasBeenSet() const
TaxRegistrationType GetRegistrationType() const
void SetRegistrationType(TaxRegistrationType value)
const Address & GetLegalAddress() const
const AdditionalInfoResponse & GetAdditionalTaxInformation() const
TaxRegistration & WithAdditionalTaxInformation(AdditionalTaxInformationT &&value)
void SetRegistrationId(RegistrationIdT &&value)
void SetTaxDocumentMetadatas(TaxDocumentMetadatasT &&value)
bool TaxDocumentMetadatasHasBeenSet() const
void SetAdditionalTaxInformation(AdditionalTaxInformationT &&value)
const Aws::String & GetCertifiedEmailId() const
TaxRegistration & WithSector(Sector value)
bool LegalAddressHasBeenSet() const
TaxRegistration & AddTaxDocumentMetadatas(TaxDocumentMetadatasT &&value)
void SetStatus(TaxRegistrationStatus value)
void SetLegalName(LegalNameT &&value)
void SetSector(Sector value)
bool LegalNameHasBeenSet() const
const Aws::String & GetLegalName() const
TaxRegistration & WithLegalAddress(LegalAddressT &&value)
TaxRegistration & WithCertifiedEmailId(CertifiedEmailIdT &&value)
AWS_TAXSETTINGS_API TaxRegistration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLegalAddress(LegalAddressT &&value)
AWS_TAXSETTINGS_API TaxRegistration()=default
bool StatusHasBeenSet() const
const Aws::Vector< TaxDocumentMetadata > & GetTaxDocumentMetadatas() const
bool SectorHasBeenSet() const
TaxRegistration & WithRegistrationId(RegistrationIdT &&value)
bool RegistrationTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue