AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
TaxRegistrationEntry.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/taxsettings/TaxSettings_EXPORTS.h>
9#include <aws/taxsettings/model/AdditionalInfoRequest.h>
10#include <aws/taxsettings/model/Address.h>
11#include <aws/taxsettings/model/Sector.h>
12#include <aws/taxsettings/model/TaxRegistrationType.h>
13#include <aws/taxsettings/model/VerificationDetails.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace TaxSettings {
25namespace Model {
26
34 public:
35 AWS_TAXSETTINGS_API TaxRegistrationEntry() = default;
36 AWS_TAXSETTINGS_API TaxRegistrationEntry(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
46 inline const AdditionalInfoRequest& GetAdditionalTaxInformation() const { return m_additionalTaxInformation; }
47 inline bool AdditionalTaxInformationHasBeenSet() const { return m_additionalTaxInformationHasBeenSet; }
48 template <typename AdditionalTaxInformationT = AdditionalInfoRequest>
49 void SetAdditionalTaxInformation(AdditionalTaxInformationT&& value) {
50 m_additionalTaxInformationHasBeenSet = true;
51 m_additionalTaxInformation = std::forward<AdditionalTaxInformationT>(value);
52 }
53 template <typename AdditionalTaxInformationT = AdditionalInfoRequest>
54 TaxRegistrationEntry& WithAdditionalTaxInformation(AdditionalTaxInformationT&& value) {
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>
72 TaxRegistrationEntry& WithCertifiedEmailId(CertifiedEmailIdT&& value) {
73 SetCertifiedEmailId(std::forward<CertifiedEmailIdT>(value));
74 return *this;
75 }
77
79
85 inline const Address& GetLegalAddress() const { return m_legalAddress; }
86 inline bool LegalAddressHasBeenSet() const { return m_legalAddressHasBeenSet; }
87 template <typename LegalAddressT = Address>
88 void SetLegalAddress(LegalAddressT&& value) {
89 m_legalAddressHasBeenSet = true;
90 m_legalAddress = std::forward<LegalAddressT>(value);
91 }
92 template <typename LegalAddressT = Address>
93 TaxRegistrationEntry& WithLegalAddress(LegalAddressT&& value) {
94 SetLegalAddress(std::forward<LegalAddressT>(value));
95 return *this;
96 }
98
100
105 inline const Aws::String& GetLegalName() const { return m_legalName; }
106 inline bool LegalNameHasBeenSet() const { return m_legalNameHasBeenSet; }
107 template <typename LegalNameT = Aws::String>
108 void SetLegalName(LegalNameT&& value) {
109 m_legalNameHasBeenSet = true;
110 m_legalName = std::forward<LegalNameT>(value);
111 }
112 template <typename LegalNameT = Aws::String>
113 TaxRegistrationEntry& WithLegalName(LegalNameT&& value) {
114 SetLegalName(std::forward<LegalNameT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::String& GetRegistrationId() const { return m_registrationId; }
124 inline bool RegistrationIdHasBeenSet() const { return m_registrationIdHasBeenSet; }
125 template <typename RegistrationIdT = Aws::String>
126 void SetRegistrationId(RegistrationIdT&& value) {
127 m_registrationIdHasBeenSet = true;
128 m_registrationId = std::forward<RegistrationIdT>(value);
129 }
130 template <typename RegistrationIdT = Aws::String>
131 TaxRegistrationEntry& WithRegistrationId(RegistrationIdT&& value) {
132 SetRegistrationId(std::forward<RegistrationIdT>(value));
133 return *this;
134 }
136
138
142 inline TaxRegistrationType GetRegistrationType() const { return m_registrationType; }
143 inline bool RegistrationTypeHasBeenSet() const { return m_registrationTypeHasBeenSet; }
145 m_registrationTypeHasBeenSet = true;
146 m_registrationType = value;
147 }
149 SetRegistrationType(value);
150 return *this;
151 }
153
155
162 inline Sector GetSector() const { return m_sector; }
163 inline bool SectorHasBeenSet() const { return m_sectorHasBeenSet; }
164 inline void SetSector(Sector value) {
165 m_sectorHasBeenSet = true;
166 m_sector = value;
167 }
169 SetSector(value);
170 return *this;
171 }
173
175
181 inline const VerificationDetails& GetVerificationDetails() const { return m_verificationDetails; }
182 inline bool VerificationDetailsHasBeenSet() const { return m_verificationDetailsHasBeenSet; }
183 template <typename VerificationDetailsT = VerificationDetails>
184 void SetVerificationDetails(VerificationDetailsT&& value) {
185 m_verificationDetailsHasBeenSet = true;
186 m_verificationDetails = std::forward<VerificationDetailsT>(value);
187 }
188 template <typename VerificationDetailsT = VerificationDetails>
189 TaxRegistrationEntry& WithVerificationDetails(VerificationDetailsT&& value) {
190 SetVerificationDetails(std::forward<VerificationDetailsT>(value));
191 return *this;
192 }
194 private:
195 AdditionalInfoRequest m_additionalTaxInformation;
196
197 Aws::String m_certifiedEmailId;
198
199 Address m_legalAddress;
200
201 Aws::String m_legalName;
202
203 Aws::String m_registrationId;
204
206
207 Sector m_sector{Sector::NOT_SET};
208
209 VerificationDetails m_verificationDetails;
210 bool m_additionalTaxInformationHasBeenSet = false;
211 bool m_certifiedEmailIdHasBeenSet = false;
212 bool m_legalAddressHasBeenSet = false;
213 bool m_legalNameHasBeenSet = false;
214 bool m_registrationIdHasBeenSet = false;
215 bool m_registrationTypeHasBeenSet = false;
216 bool m_sectorHasBeenSet = false;
217 bool m_verificationDetailsHasBeenSet = false;
218};
219
220} // namespace Model
221} // namespace TaxSettings
222} // namespace Aws
const Address & GetLegalAddress() const
bool LegalNameHasBeenSet() const
AWS_TAXSETTINGS_API TaxRegistrationEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCertifiedEmailId() const
TaxRegistrationEntry & WithCertifiedEmailId(CertifiedEmailIdT &&value)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLegalAddress(LegalAddressT &&value)
void SetLegalName(LegalNameT &&value)
TaxRegistrationType GetRegistrationType() const
bool AdditionalTaxInformationHasBeenSet() const
void SetRegistrationId(RegistrationIdT &&value)
const AdditionalInfoRequest & GetAdditionalTaxInformation() const
void SetAdditionalTaxInformation(AdditionalTaxInformationT &&value)
bool CertifiedEmailIdHasBeenSet() const
TaxRegistrationEntry & WithLegalAddress(LegalAddressT &&value)
TaxRegistrationEntry & WithRegistrationType(TaxRegistrationType value)
AWS_TAXSETTINGS_API TaxRegistrationEntry()=default
const Aws::String & GetRegistrationId() const
AWS_TAXSETTINGS_API TaxRegistrationEntry(Aws::Utils::Json::JsonView jsonValue)
Sector GetSector() const
bool RegistrationIdHasBeenSet() const
void SetVerificationDetails(VerificationDetailsT &&value)
bool RegistrationTypeHasBeenSet() const
TaxRegistrationEntry & WithRegistrationId(RegistrationIdT &&value)
bool LegalAddressHasBeenSet() const
void SetSector(Sector value)
TaxRegistrationEntry & WithAdditionalTaxInformation(AdditionalTaxInformationT &&value)
const Aws::String & GetLegalName() const
TaxRegistrationEntry & WithLegalName(LegalNameT &&value)
TaxRegistrationEntry & WithSector(Sector value)
void SetRegistrationType(TaxRegistrationType value)
const VerificationDetails & GetVerificationDetails() const
TaxRegistrationEntry & WithVerificationDetails(VerificationDetailsT &&value)
bool VerificationDetailsHasBeenSet() const
void SetCertifiedEmailId(CertifiedEmailIdT &&value)
bool SectorHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue