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 AdditionalTaxInformationT = AdditionalInfoResponse>
49 m_additionalTaxInformationHasBeenSet =
true;
50 m_additionalTaxInformation = std::forward<AdditionalTaxInformationT>(value);
52 template <
typename AdditionalTaxInformationT = AdditionalInfoResponse>
65 template <
typename CertifiedEmailIdT = Aws::String>
67 m_certifiedEmailIdHasBeenSet =
true;
68 m_certifiedEmailId = std::forward<CertifiedEmailIdT>(value);
70 template <
typename CertifiedEmailIdT = Aws::String>
83 template <
typename LegalAddressT = Address>
85 m_legalAddressHasBeenSet =
true;
86 m_legalAddress = std::forward<LegalAddressT>(value);
88 template <
typename LegalAddressT = Address>
101 template <
typename LegalNameT = Aws::String>
103 m_legalNameHasBeenSet =
true;
104 m_legalName = std::forward<LegalNameT>(value);
106 template <
typename LegalNameT = Aws::String>
119 template <
typename RegistrationIdT = Aws::String>
121 m_registrationIdHasBeenSet =
true;
122 m_registrationId = std::forward<RegistrationIdT>(value);
124 template <
typename RegistrationIdT = Aws::String>
138 m_registrationTypeHasBeenSet =
true;
139 m_registrationType = value;
158 m_sectorHasBeenSet =
true;
175 m_statusHasBeenSet =
true;
190 template <
typename TaxDocumentMetadatasT = Aws::Vector<TaxDocumentMetadata>>
192 m_taxDocumentMetadatasHasBeenSet =
true;
193 m_taxDocumentMetadatas = std::forward<TaxDocumentMetadatasT>(value);
195 template <
typename TaxDocumentMetadatasT = Aws::Vector<TaxDocumentMetadata>>
200 template <
typename TaxDocumentMetadatasT = TaxDocumentMetadata>
202 m_taxDocumentMetadatasHasBeenSet =
true;
203 m_taxDocumentMetadatas.emplace_back(std::forward<TaxDocumentMetadatasT>(value));
225 bool m_additionalTaxInformationHasBeenSet =
false;
226 bool m_certifiedEmailIdHasBeenSet =
false;
227 bool m_legalAddressHasBeenSet =
false;
228 bool m_legalNameHasBeenSet =
false;
229 bool m_registrationIdHasBeenSet =
false;
230 bool m_registrationTypeHasBeenSet =
false;
231 bool m_sectorHasBeenSet =
false;
232 bool m_statusHasBeenSet =
false;
233 bool m_taxDocumentMetadatasHasBeenSet =
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