AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TaxRegistration.h
1
6#pragma once
7#include <aws/taxsettings/TaxSettings_EXPORTS.h>
8#include <aws/taxsettings/model/AdditionalInfoResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/taxsettings/model/Address.h>
11#include <aws/taxsettings/model/TaxRegistrationType.h>
12#include <aws/taxsettings/model/Sector.h>
13#include <aws/taxsettings/model/TaxRegistrationStatus.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/taxsettings/model/TaxDocumentMetadata.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace TaxSettings
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_TAXSETTINGS_API TaxRegistration() = default;
42 AWS_TAXSETTINGS_API TaxRegistration(Aws::Utils::Json::JsonView jsonValue);
43 AWS_TAXSETTINGS_API TaxRegistration& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const AdditionalInfoResponse& GetAdditionalTaxInformation() const { return m_additionalTaxInformation; }
52 inline bool AdditionalTaxInformationHasBeenSet() const { return m_additionalTaxInformationHasBeenSet; }
53 template<typename AdditionalTaxInformationT = AdditionalInfoResponse>
54 void SetAdditionalTaxInformation(AdditionalTaxInformationT&& value) { m_additionalTaxInformationHasBeenSet = true; m_additionalTaxInformation = std::forward<AdditionalTaxInformationT>(value); }
55 template<typename AdditionalTaxInformationT = AdditionalInfoResponse>
56 TaxRegistration& WithAdditionalTaxInformation(AdditionalTaxInformationT&& value) { SetAdditionalTaxInformation(std::forward<AdditionalTaxInformationT>(value)); return *this;}
58
60
63 inline const Aws::String& GetCertifiedEmailId() const { return m_certifiedEmailId; }
64 inline bool CertifiedEmailIdHasBeenSet() const { return m_certifiedEmailIdHasBeenSet; }
65 template<typename CertifiedEmailIdT = Aws::String>
66 void SetCertifiedEmailId(CertifiedEmailIdT&& value) { m_certifiedEmailIdHasBeenSet = true; m_certifiedEmailId = std::forward<CertifiedEmailIdT>(value); }
67 template<typename CertifiedEmailIdT = Aws::String>
68 TaxRegistration& WithCertifiedEmailId(CertifiedEmailIdT&& value) { SetCertifiedEmailId(std::forward<CertifiedEmailIdT>(value)); return *this;}
70
72
75 inline const Address& GetLegalAddress() const { return m_legalAddress; }
76 inline bool LegalAddressHasBeenSet() const { return m_legalAddressHasBeenSet; }
77 template<typename LegalAddressT = Address>
78 void SetLegalAddress(LegalAddressT&& value) { m_legalAddressHasBeenSet = true; m_legalAddress = std::forward<LegalAddressT>(value); }
79 template<typename LegalAddressT = Address>
80 TaxRegistration& WithLegalAddress(LegalAddressT&& value) { SetLegalAddress(std::forward<LegalAddressT>(value)); return *this;}
82
84
87 inline const Aws::String& GetLegalName() const { return m_legalName; }
88 inline bool LegalNameHasBeenSet() const { return m_legalNameHasBeenSet; }
89 template<typename LegalNameT = Aws::String>
90 void SetLegalName(LegalNameT&& value) { m_legalNameHasBeenSet = true; m_legalName = std::forward<LegalNameT>(value); }
91 template<typename LegalNameT = Aws::String>
92 TaxRegistration& WithLegalName(LegalNameT&& value) { SetLegalName(std::forward<LegalNameT>(value)); return *this;}
94
96
99 inline const Aws::String& GetRegistrationId() const { return m_registrationId; }
100 inline bool RegistrationIdHasBeenSet() const { return m_registrationIdHasBeenSet; }
101 template<typename RegistrationIdT = Aws::String>
102 void SetRegistrationId(RegistrationIdT&& value) { m_registrationIdHasBeenSet = true; m_registrationId = std::forward<RegistrationIdT>(value); }
103 template<typename RegistrationIdT = Aws::String>
104 TaxRegistration& WithRegistrationId(RegistrationIdT&& value) { SetRegistrationId(std::forward<RegistrationIdT>(value)); return *this;}
106
108
111 inline TaxRegistrationType GetRegistrationType() const { return m_registrationType; }
112 inline bool RegistrationTypeHasBeenSet() const { return m_registrationTypeHasBeenSet; }
113 inline void SetRegistrationType(TaxRegistrationType value) { m_registrationTypeHasBeenSet = true; m_registrationType = value; }
116
118
125 inline Sector GetSector() const { return m_sector; }
126 inline bool SectorHasBeenSet() const { return m_sectorHasBeenSet; }
127 inline void SetSector(Sector value) { m_sectorHasBeenSet = true; m_sector = value; }
128 inline TaxRegistration& WithSector(Sector value) { SetSector(value); return *this;}
130
132
136 inline TaxRegistrationStatus GetStatus() const { return m_status; }
137 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
138 inline void SetStatus(TaxRegistrationStatus value) { m_statusHasBeenSet = true; m_status = value; }
139 inline TaxRegistration& WithStatus(TaxRegistrationStatus value) { SetStatus(value); return *this;}
141
143
146 inline const Aws::Vector<TaxDocumentMetadata>& GetTaxDocumentMetadatas() const { return m_taxDocumentMetadatas; }
147 inline bool TaxDocumentMetadatasHasBeenSet() const { return m_taxDocumentMetadatasHasBeenSet; }
148 template<typename TaxDocumentMetadatasT = Aws::Vector<TaxDocumentMetadata>>
149 void SetTaxDocumentMetadatas(TaxDocumentMetadatasT&& value) { m_taxDocumentMetadatasHasBeenSet = true; m_taxDocumentMetadatas = std::forward<TaxDocumentMetadatasT>(value); }
150 template<typename TaxDocumentMetadatasT = Aws::Vector<TaxDocumentMetadata>>
151 TaxRegistration& WithTaxDocumentMetadatas(TaxDocumentMetadatasT&& value) { SetTaxDocumentMetadatas(std::forward<TaxDocumentMetadatasT>(value)); return *this;}
152 template<typename TaxDocumentMetadatasT = TaxDocumentMetadata>
153 TaxRegistration& AddTaxDocumentMetadatas(TaxDocumentMetadatasT&& value) { m_taxDocumentMetadatasHasBeenSet = true; m_taxDocumentMetadatas.emplace_back(std::forward<TaxDocumentMetadatasT>(value)); return *this; }
155 private:
156
157 AdditionalInfoResponse m_additionalTaxInformation;
158 bool m_additionalTaxInformationHasBeenSet = false;
159
160 Aws::String m_certifiedEmailId;
161 bool m_certifiedEmailIdHasBeenSet = false;
162
163 Address m_legalAddress;
164 bool m_legalAddressHasBeenSet = false;
165
166 Aws::String m_legalName;
167 bool m_legalNameHasBeenSet = false;
168
169 Aws::String m_registrationId;
170 bool m_registrationIdHasBeenSet = false;
171
173 bool m_registrationTypeHasBeenSet = false;
174
175 Sector m_sector{Sector::NOT_SET};
176 bool m_sectorHasBeenSet = false;
177
179 bool m_statusHasBeenSet = false;
180
181 Aws::Vector<TaxDocumentMetadata> m_taxDocumentMetadatas;
182 bool m_taxDocumentMetadatasHasBeenSet = false;
183 };
184
185} // namespace Model
186} // namespace TaxSettings
187} // namespace Aws
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
TaxRegistration & WithLegalName(LegalNameT &&value)
TaxRegistrationType GetRegistrationType() const
void SetRegistrationType(TaxRegistrationType value)
const AdditionalInfoResponse & GetAdditionalTaxInformation() const
TaxRegistration & WithAdditionalTaxInformation(AdditionalTaxInformationT &&value)
void SetRegistrationId(RegistrationIdT &&value)
void SetTaxDocumentMetadatas(TaxDocumentMetadatasT &&value)
void SetAdditionalTaxInformation(AdditionalTaxInformationT &&value)
const Aws::String & GetCertifiedEmailId() const
TaxRegistration & WithSector(Sector value)
TaxRegistration & AddTaxDocumentMetadatas(TaxDocumentMetadatasT &&value)
void SetStatus(TaxRegistrationStatus value)
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
const Aws::Vector< TaxDocumentMetadata > & GetTaxDocumentMetadatas() const
TaxRegistration & WithRegistrationId(RegistrationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue