AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
TaxRegistrationWithJurisdiction.h
1
6#pragma once
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/Jurisdiction.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>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace TaxSettings {
27namespace Model {
28
36 public:
37 AWS_TAXSETTINGS_API TaxRegistrationWithJurisdiction() = default;
40 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const AdditionalInfoResponse& GetAdditionalTaxInformation() const { return m_additionalTaxInformation; }
47 inline bool AdditionalTaxInformationHasBeenSet() const { return m_additionalTaxInformationHasBeenSet; }
48 template <typename AdditionalTaxInformationT = AdditionalInfoResponse>
49 void SetAdditionalTaxInformation(AdditionalTaxInformationT&& value) {
50 m_additionalTaxInformationHasBeenSet = true;
51 m_additionalTaxInformation = std::forward<AdditionalTaxInformationT>(value);
52 }
53 template <typename AdditionalTaxInformationT = AdditionalInfoResponse>
55 SetAdditionalTaxInformation(std::forward<AdditionalTaxInformationT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetCertifiedEmailId() const { return m_certifiedEmailId; }
65 inline bool CertifiedEmailIdHasBeenSet() const { return m_certifiedEmailIdHasBeenSet; }
66 template <typename CertifiedEmailIdT = Aws::String>
67 void SetCertifiedEmailId(CertifiedEmailIdT&& value) {
68 m_certifiedEmailIdHasBeenSet = true;
69 m_certifiedEmailId = std::forward<CertifiedEmailIdT>(value);
70 }
71 template <typename CertifiedEmailIdT = Aws::String>
73 SetCertifiedEmailId(std::forward<CertifiedEmailIdT>(value));
74 return *this;
75 }
77
79
82 inline const Jurisdiction& GetJurisdiction() const { return m_jurisdiction; }
83 inline bool JurisdictionHasBeenSet() const { return m_jurisdictionHasBeenSet; }
84 template <typename JurisdictionT = Jurisdiction>
85 void SetJurisdiction(JurisdictionT&& value) {
86 m_jurisdictionHasBeenSet = true;
87 m_jurisdiction = std::forward<JurisdictionT>(value);
88 }
89 template <typename JurisdictionT = Jurisdiction>
91 SetJurisdiction(std::forward<JurisdictionT>(value));
92 return *this;
93 }
95
97
100 inline const Aws::String& GetLegalName() const { return m_legalName; }
101 inline bool LegalNameHasBeenSet() const { return m_legalNameHasBeenSet; }
102 template <typename LegalNameT = Aws::String>
103 void SetLegalName(LegalNameT&& value) {
104 m_legalNameHasBeenSet = true;
105 m_legalName = std::forward<LegalNameT>(value);
106 }
107 template <typename LegalNameT = Aws::String>
109 SetLegalName(std::forward<LegalNameT>(value));
110 return *this;
111 }
113
115
118 inline const Aws::String& GetRegistrationId() const { return m_registrationId; }
119 inline bool RegistrationIdHasBeenSet() const { return m_registrationIdHasBeenSet; }
120 template <typename RegistrationIdT = Aws::String>
121 void SetRegistrationId(RegistrationIdT&& value) {
122 m_registrationIdHasBeenSet = true;
123 m_registrationId = std::forward<RegistrationIdT>(value);
124 }
125 template <typename RegistrationIdT = Aws::String>
127 SetRegistrationId(std::forward<RegistrationIdT>(value));
128 return *this;
129 }
131
133
137 inline TaxRegistrationType GetRegistrationType() const { return m_registrationType; }
138 inline bool RegistrationTypeHasBeenSet() const { return m_registrationTypeHasBeenSet; }
140 m_registrationTypeHasBeenSet = true;
141 m_registrationType = value;
142 }
144 SetRegistrationType(value);
145 return *this;
146 }
148
150
157 inline Sector GetSector() const { return m_sector; }
158 inline bool SectorHasBeenSet() const { return m_sectorHasBeenSet; }
159 inline void SetSector(Sector value) {
160 m_sectorHasBeenSet = true;
161 m_sector = value;
162 }
164 SetSector(value);
165 return *this;
166 }
168
170
174 inline TaxRegistrationStatus GetStatus() const { return m_status; }
175 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
176 inline void SetStatus(TaxRegistrationStatus value) {
177 m_statusHasBeenSet = true;
178 m_status = value;
179 }
181 SetStatus(value);
182 return *this;
183 }
185
187
190 inline const Aws::Vector<TaxDocumentMetadata>& GetTaxDocumentMetadatas() const { return m_taxDocumentMetadatas; }
191 inline bool TaxDocumentMetadatasHasBeenSet() const { return m_taxDocumentMetadatasHasBeenSet; }
192 template <typename TaxDocumentMetadatasT = Aws::Vector<TaxDocumentMetadata>>
193 void SetTaxDocumentMetadatas(TaxDocumentMetadatasT&& value) {
194 m_taxDocumentMetadatasHasBeenSet = true;
195 m_taxDocumentMetadatas = std::forward<TaxDocumentMetadatasT>(value);
196 }
197 template <typename TaxDocumentMetadatasT = Aws::Vector<TaxDocumentMetadata>>
199 SetTaxDocumentMetadatas(std::forward<TaxDocumentMetadatasT>(value));
200 return *this;
201 }
202 template <typename TaxDocumentMetadatasT = TaxDocumentMetadata>
204 m_taxDocumentMetadatasHasBeenSet = true;
205 m_taxDocumentMetadatas.emplace_back(std::forward<TaxDocumentMetadatasT>(value));
206 return *this;
207 }
209 private:
210 AdditionalInfoResponse m_additionalTaxInformation;
211
212 Aws::String m_certifiedEmailId;
213
214 Jurisdiction m_jurisdiction;
215
216 Aws::String m_legalName;
217
218 Aws::String m_registrationId;
219
221
222 Sector m_sector{Sector::NOT_SET};
223
225
226 Aws::Vector<TaxDocumentMetadata> m_taxDocumentMetadatas;
227 bool m_additionalTaxInformationHasBeenSet = false;
228 bool m_certifiedEmailIdHasBeenSet = false;
229 bool m_jurisdictionHasBeenSet = false;
230 bool m_legalNameHasBeenSet = false;
231 bool m_registrationIdHasBeenSet = false;
232 bool m_registrationTypeHasBeenSet = false;
233 bool m_sectorHasBeenSet = false;
234 bool m_statusHasBeenSet = false;
235 bool m_taxDocumentMetadatasHasBeenSet = false;
236};
237
238} // namespace Model
239} // namespace TaxSettings
240} // namespace Aws
TaxRegistrationWithJurisdiction & AddTaxDocumentMetadatas(TaxDocumentMetadatasT &&value)
AWS_TAXSETTINGS_API TaxRegistrationWithJurisdiction()=default
TaxRegistrationWithJurisdiction & WithRegistrationType(TaxRegistrationType value)
AWS_TAXSETTINGS_API TaxRegistrationWithJurisdiction & operator=(Aws::Utils::Json::JsonView jsonValue)
TaxRegistrationWithJurisdiction & WithCertifiedEmailId(CertifiedEmailIdT &&value)
AWS_TAXSETTINGS_API TaxRegistrationWithJurisdiction(Aws::Utils::Json::JsonView jsonValue)
TaxRegistrationWithJurisdiction & WithTaxDocumentMetadatas(TaxDocumentMetadatasT &&value)
TaxRegistrationWithJurisdiction & WithStatus(TaxRegistrationStatus value)
TaxRegistrationWithJurisdiction & WithAdditionalTaxInformation(AdditionalTaxInformationT &&value)
TaxRegistrationWithJurisdiction & WithLegalName(LegalNameT &&value)
TaxRegistrationWithJurisdiction & WithRegistrationId(RegistrationIdT &&value)
const Aws::Vector< TaxDocumentMetadata > & GetTaxDocumentMetadatas() const
TaxRegistrationWithJurisdiction & WithJurisdiction(JurisdictionT &&value)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() 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