AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TaxRegistrationEntry.h
1
6#pragma once
7#include <aws/taxsettings/TaxSettings_EXPORTS.h>
8#include <aws/taxsettings/model/AdditionalInfoRequest.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/VerificationDetails.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace TaxSettings
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_TAXSETTINGS_API TaxRegistrationEntry();
41 AWS_TAXSETTINGS_API TaxRegistrationEntry(Aws::Utils::Json::JsonView jsonValue);
43 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
52 inline const AdditionalInfoRequest& GetAdditionalTaxInformation() const{ return m_additionalTaxInformation; }
53 inline bool AdditionalTaxInformationHasBeenSet() const { return m_additionalTaxInformationHasBeenSet; }
54 inline void SetAdditionalTaxInformation(const AdditionalInfoRequest& value) { m_additionalTaxInformationHasBeenSet = true; m_additionalTaxInformation = value; }
55 inline void SetAdditionalTaxInformation(AdditionalInfoRequest&& value) { m_additionalTaxInformationHasBeenSet = true; m_additionalTaxInformation = std::move(value); }
59
61
64 inline const Aws::String& GetCertifiedEmailId() const{ return m_certifiedEmailId; }
65 inline bool CertifiedEmailIdHasBeenSet() const { return m_certifiedEmailIdHasBeenSet; }
66 inline void SetCertifiedEmailId(const Aws::String& value) { m_certifiedEmailIdHasBeenSet = true; m_certifiedEmailId = value; }
67 inline void SetCertifiedEmailId(Aws::String&& value) { m_certifiedEmailIdHasBeenSet = true; m_certifiedEmailId = std::move(value); }
68 inline void SetCertifiedEmailId(const char* value) { m_certifiedEmailIdHasBeenSet = true; m_certifiedEmailId.assign(value); }
69 inline TaxRegistrationEntry& WithCertifiedEmailId(const Aws::String& value) { SetCertifiedEmailId(value); return *this;}
70 inline TaxRegistrationEntry& WithCertifiedEmailId(Aws::String&& value) { SetCertifiedEmailId(std::move(value)); return *this;}
71 inline TaxRegistrationEntry& WithCertifiedEmailId(const char* value) { SetCertifiedEmailId(value); return *this;}
73
75
81 inline const Address& GetLegalAddress() const{ return m_legalAddress; }
82 inline bool LegalAddressHasBeenSet() const { return m_legalAddressHasBeenSet; }
83 inline void SetLegalAddress(const Address& value) { m_legalAddressHasBeenSet = true; m_legalAddress = value; }
84 inline void SetLegalAddress(Address&& value) { m_legalAddressHasBeenSet = true; m_legalAddress = std::move(value); }
85 inline TaxRegistrationEntry& WithLegalAddress(const Address& value) { SetLegalAddress(value); return *this;}
86 inline TaxRegistrationEntry& WithLegalAddress(Address&& value) { SetLegalAddress(std::move(value)); return *this;}
88
90
95 inline const Aws::String& GetLegalName() const{ return m_legalName; }
96 inline bool LegalNameHasBeenSet() const { return m_legalNameHasBeenSet; }
97 inline void SetLegalName(const Aws::String& value) { m_legalNameHasBeenSet = true; m_legalName = value; }
98 inline void SetLegalName(Aws::String&& value) { m_legalNameHasBeenSet = true; m_legalName = std::move(value); }
99 inline void SetLegalName(const char* value) { m_legalNameHasBeenSet = true; m_legalName.assign(value); }
100 inline TaxRegistrationEntry& WithLegalName(const Aws::String& value) { SetLegalName(value); return *this;}
101 inline TaxRegistrationEntry& WithLegalName(Aws::String&& value) { SetLegalName(std::move(value)); return *this;}
102 inline TaxRegistrationEntry& WithLegalName(const char* value) { SetLegalName(value); return *this;}
104
106
109 inline const Aws::String& GetRegistrationId() const{ return m_registrationId; }
110 inline bool RegistrationIdHasBeenSet() const { return m_registrationIdHasBeenSet; }
111 inline void SetRegistrationId(const Aws::String& value) { m_registrationIdHasBeenSet = true; m_registrationId = value; }
112 inline void SetRegistrationId(Aws::String&& value) { m_registrationIdHasBeenSet = true; m_registrationId = std::move(value); }
113 inline void SetRegistrationId(const char* value) { m_registrationIdHasBeenSet = true; m_registrationId.assign(value); }
114 inline TaxRegistrationEntry& WithRegistrationId(const Aws::String& value) { SetRegistrationId(value); return *this;}
115 inline TaxRegistrationEntry& WithRegistrationId(Aws::String&& value) { SetRegistrationId(std::move(value)); return *this;}
116 inline TaxRegistrationEntry& WithRegistrationId(const char* value) { SetRegistrationId(value); return *this;}
118
120
124 inline const TaxRegistrationType& GetRegistrationType() const{ return m_registrationType; }
125 inline bool RegistrationTypeHasBeenSet() const { return m_registrationTypeHasBeenSet; }
126 inline void SetRegistrationType(const TaxRegistrationType& value) { m_registrationTypeHasBeenSet = true; m_registrationType = value; }
127 inline void SetRegistrationType(TaxRegistrationType&& value) { m_registrationTypeHasBeenSet = true; m_registrationType = std::move(value); }
129 inline TaxRegistrationEntry& WithRegistrationType(TaxRegistrationType&& value) { SetRegistrationType(std::move(value)); return *this;}
131
133
140 inline const Sector& GetSector() const{ return m_sector; }
141 inline bool SectorHasBeenSet() const { return m_sectorHasBeenSet; }
142 inline void SetSector(const Sector& value) { m_sectorHasBeenSet = true; m_sector = value; }
143 inline void SetSector(Sector&& value) { m_sectorHasBeenSet = true; m_sector = std::move(value); }
144 inline TaxRegistrationEntry& WithSector(const Sector& value) { SetSector(value); return *this;}
145 inline TaxRegistrationEntry& WithSector(Sector&& value) { SetSector(std::move(value)); return *this;}
147
149
155 inline const VerificationDetails& GetVerificationDetails() const{ return m_verificationDetails; }
156 inline bool VerificationDetailsHasBeenSet() const { return m_verificationDetailsHasBeenSet; }
157 inline void SetVerificationDetails(const VerificationDetails& value) { m_verificationDetailsHasBeenSet = true; m_verificationDetails = value; }
158 inline void SetVerificationDetails(VerificationDetails&& value) { m_verificationDetailsHasBeenSet = true; m_verificationDetails = std::move(value); }
162 private:
163
164 AdditionalInfoRequest m_additionalTaxInformation;
165 bool m_additionalTaxInformationHasBeenSet = false;
166
167 Aws::String m_certifiedEmailId;
168 bool m_certifiedEmailIdHasBeenSet = false;
169
170 Address m_legalAddress;
171 bool m_legalAddressHasBeenSet = false;
172
173 Aws::String m_legalName;
174 bool m_legalNameHasBeenSet = false;
175
176 Aws::String m_registrationId;
177 bool m_registrationIdHasBeenSet = false;
178
179 TaxRegistrationType m_registrationType;
180 bool m_registrationTypeHasBeenSet = false;
181
182 Sector m_sector;
183 bool m_sectorHasBeenSet = false;
184
185 VerificationDetails m_verificationDetails;
186 bool m_verificationDetailsHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace TaxSettings
191} // namespace Aws
const Address & GetLegalAddress() const
void SetRegistrationType(const TaxRegistrationType &value)
bool LegalNameHasBeenSet() const
AWS_TAXSETTINGS_API TaxRegistrationEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLegalAddress(const Address &value)
TaxRegistrationEntry & WithRegistrationType(TaxRegistrationType &&value)
TaxRegistrationEntry & WithVerificationDetails(const VerificationDetails &value)
const Aws::String & GetCertifiedEmailId() const
void SetAdditionalTaxInformation(const AdditionalInfoRequest &value)
void SetVerificationDetails(const VerificationDetails &value)
void SetAdditionalTaxInformation(AdditionalInfoRequest &&value)
TaxRegistrationEntry & WithCertifiedEmailId(const char *value)
void SetRegistrationId(Aws::String &&value)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
TaxRegistrationEntry & WithRegistrationId(const char *value)
void SetCertifiedEmailId(const char *value)
const Sector & GetSector() const
TaxRegistrationEntry & WithLegalAddress(const Address &value)
TaxRegistrationEntry & WithRegistrationId(const Aws::String &value)
TaxRegistrationEntry & WithCertifiedEmailId(Aws::String &&value)
const TaxRegistrationType & GetRegistrationType() const
bool AdditionalTaxInformationHasBeenSet() const
const AdditionalInfoRequest & GetAdditionalTaxInformation() const
void SetRegistrationId(const char *value)
void SetCertifiedEmailId(const Aws::String &value)
void SetVerificationDetails(VerificationDetails &&value)
void SetLegalName(const Aws::String &value)
bool CertifiedEmailIdHasBeenSet() const
const Aws::String & GetRegistrationId() const
AWS_TAXSETTINGS_API TaxRegistrationEntry(Aws::Utils::Json::JsonView jsonValue)
void SetRegistrationType(TaxRegistrationType &&value)
bool RegistrationIdHasBeenSet() const
TaxRegistrationEntry & WithSector(const Sector &value)
AWS_TAXSETTINGS_API TaxRegistrationEntry()
bool RegistrationTypeHasBeenSet() const
TaxRegistrationEntry & WithRegistrationType(const TaxRegistrationType &value)
TaxRegistrationEntry & WithSector(Sector &&value)
void SetRegistrationId(const Aws::String &value)
TaxRegistrationEntry & WithLegalAddress(Address &&value)
bool LegalAddressHasBeenSet() const
void SetCertifiedEmailId(Aws::String &&value)
TaxRegistrationEntry & WithAdditionalTaxInformation(const AdditionalInfoRequest &value)
void SetLegalName(Aws::String &&value)
void SetSector(const Sector &value)
TaxRegistrationEntry & WithCertifiedEmailId(const Aws::String &value)
TaxRegistrationEntry & WithLegalName(Aws::String &&value)
void SetLegalName(const char *value)
void SetLegalAddress(Address &&value)
TaxRegistrationEntry & WithRegistrationId(Aws::String &&value)
TaxRegistrationEntry & WithVerificationDetails(VerificationDetails &&value)
const Aws::String & GetLegalName() const
void SetSector(Sector &&value)
const VerificationDetails & GetVerificationDetails() const
bool VerificationDetailsHasBeenSet() const
TaxRegistrationEntry & WithLegalName(const Aws::String &value)
bool SectorHasBeenSet() const
TaxRegistrationEntry & WithLegalName(const char *value)
TaxRegistrationEntry & WithAdditionalTaxInformation(AdditionalInfoRequest &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue