AWS SDK for C++

AWS SDK for C++ Version 1.11.829

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
44 inline const Aws::String& GetRegistrationId() const { return m_registrationId; }
45 inline bool RegistrationIdHasBeenSet() const { return m_registrationIdHasBeenSet; }
46 template <typename RegistrationIdT = Aws::String>
47 void SetRegistrationId(RegistrationIdT&& value) {
48 m_registrationIdHasBeenSet = true;
49 m_registrationId = std::forward<RegistrationIdT>(value);
50 }
51 template <typename RegistrationIdT = Aws::String>
52 TaxRegistrationEntry& WithRegistrationId(RegistrationIdT&& value) {
53 SetRegistrationId(std::forward<RegistrationIdT>(value));
54 return *this;
55 }
57
59
63 inline TaxRegistrationType GetRegistrationType() const { return m_registrationType; }
64 inline bool RegistrationTypeHasBeenSet() const { return m_registrationTypeHasBeenSet; }
66 m_registrationTypeHasBeenSet = true;
67 m_registrationType = value;
68 }
71 return *this;
72 }
74
76
81 inline const Aws::String& GetLegalName() const { return m_legalName; }
82 inline bool LegalNameHasBeenSet() const { return m_legalNameHasBeenSet; }
83 template <typename LegalNameT = Aws::String>
84 void SetLegalName(LegalNameT&& value) {
85 m_legalNameHasBeenSet = true;
86 m_legalName = std::forward<LegalNameT>(value);
87 }
88 template <typename LegalNameT = Aws::String>
89 TaxRegistrationEntry& WithLegalName(LegalNameT&& value) {
90 SetLegalName(std::forward<LegalNameT>(value));
91 return *this;
92 }
94
96
102 inline const Address& GetLegalAddress() const { return m_legalAddress; }
103 inline bool LegalAddressHasBeenSet() const { return m_legalAddressHasBeenSet; }
104 template <typename LegalAddressT = Address>
105 void SetLegalAddress(LegalAddressT&& value) {
106 m_legalAddressHasBeenSet = true;
107 m_legalAddress = std::forward<LegalAddressT>(value);
108 }
109 template <typename LegalAddressT = Address>
110 TaxRegistrationEntry& WithLegalAddress(LegalAddressT&& value) {
111 SetLegalAddress(std::forward<LegalAddressT>(value));
112 return *this;
113 }
115
117
124 inline Sector GetSector() const { return m_sector; }
125 inline bool SectorHasBeenSet() const { return m_sectorHasBeenSet; }
126 inline void SetSector(Sector value) {
127 m_sectorHasBeenSet = true;
128 m_sector = value;
129 }
131 SetSector(value);
132 return *this;
133 }
135
137
142 inline const AdditionalInfoRequest& GetAdditionalTaxInformation() const { return m_additionalTaxInformation; }
143 inline bool AdditionalTaxInformationHasBeenSet() const { return m_additionalTaxInformationHasBeenSet; }
144 template <typename AdditionalTaxInformationT = AdditionalInfoRequest>
145 void SetAdditionalTaxInformation(AdditionalTaxInformationT&& value) {
146 m_additionalTaxInformationHasBeenSet = true;
147 m_additionalTaxInformation = std::forward<AdditionalTaxInformationT>(value);
148 }
149 template <typename AdditionalTaxInformationT = AdditionalInfoRequest>
150 TaxRegistrationEntry& WithAdditionalTaxInformation(AdditionalTaxInformationT&& value) {
151 SetAdditionalTaxInformation(std::forward<AdditionalTaxInformationT>(value));
152 return *this;
153 }
155
157
163 inline const VerificationDetails& GetVerificationDetails() const { return m_verificationDetails; }
164 inline bool VerificationDetailsHasBeenSet() const { return m_verificationDetailsHasBeenSet; }
165 template <typename VerificationDetailsT = VerificationDetails>
166 void SetVerificationDetails(VerificationDetailsT&& value) {
167 m_verificationDetailsHasBeenSet = true;
168 m_verificationDetails = std::forward<VerificationDetailsT>(value);
169 }
170 template <typename VerificationDetailsT = VerificationDetails>
171 TaxRegistrationEntry& WithVerificationDetails(VerificationDetailsT&& value) {
172 SetVerificationDetails(std::forward<VerificationDetailsT>(value));
173 return *this;
174 }
176
178
181 inline const Aws::String& GetCertifiedEmailId() const { return m_certifiedEmailId; }
182 inline bool CertifiedEmailIdHasBeenSet() const { return m_certifiedEmailIdHasBeenSet; }
183 template <typename CertifiedEmailIdT = Aws::String>
184 void SetCertifiedEmailId(CertifiedEmailIdT&& value) {
185 m_certifiedEmailIdHasBeenSet = true;
186 m_certifiedEmailId = std::forward<CertifiedEmailIdT>(value);
187 }
188 template <typename CertifiedEmailIdT = Aws::String>
189 TaxRegistrationEntry& WithCertifiedEmailId(CertifiedEmailIdT&& value) {
190 SetCertifiedEmailId(std::forward<CertifiedEmailIdT>(value));
191 return *this;
192 }
194 private:
195 Aws::String m_registrationId;
196
198
199 Aws::String m_legalName;
200
201 Address m_legalAddress;
202
203 Sector m_sector{Sector::NOT_SET};
204
205 AdditionalInfoRequest m_additionalTaxInformation;
206
207 VerificationDetails m_verificationDetails;
208
209 Aws::String m_certifiedEmailId;
210 bool m_registrationIdHasBeenSet = false;
211 bool m_registrationTypeHasBeenSet = false;
212 bool m_legalNameHasBeenSet = false;
213 bool m_legalAddressHasBeenSet = false;
214 bool m_sectorHasBeenSet = false;
215 bool m_additionalTaxInformationHasBeenSet = false;
216 bool m_verificationDetailsHasBeenSet = false;
217 bool m_certifiedEmailIdHasBeenSet = 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