AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAdditionalTaxInformation(const AdditionalInfoResponse& value) { m_additionalTaxInformationHasBeenSet = true; m_additionalTaxInformation = value; }
54 inline void SetAdditionalTaxInformation(AdditionalInfoResponse&& value) { m_additionalTaxInformationHasBeenSet = true; m_additionalTaxInformation = std::move(value); }
58
60
63 inline const Aws::String& GetCertifiedEmailId() const{ return m_certifiedEmailId; }
64 inline bool CertifiedEmailIdHasBeenSet() const { return m_certifiedEmailIdHasBeenSet; }
65 inline void SetCertifiedEmailId(const Aws::String& value) { m_certifiedEmailIdHasBeenSet = true; m_certifiedEmailId = value; }
66 inline void SetCertifiedEmailId(Aws::String&& value) { m_certifiedEmailIdHasBeenSet = true; m_certifiedEmailId = std::move(value); }
67 inline void SetCertifiedEmailId(const char* value) { m_certifiedEmailIdHasBeenSet = true; m_certifiedEmailId.assign(value); }
68 inline TaxRegistration& WithCertifiedEmailId(const Aws::String& value) { SetCertifiedEmailId(value); return *this;}
69 inline TaxRegistration& WithCertifiedEmailId(Aws::String&& value) { SetCertifiedEmailId(std::move(value)); return *this;}
70 inline TaxRegistration& WithCertifiedEmailId(const char* value) { SetCertifiedEmailId(value); return *this;}
72
74
77 inline const Address& GetLegalAddress() const{ return m_legalAddress; }
78 inline bool LegalAddressHasBeenSet() const { return m_legalAddressHasBeenSet; }
79 inline void SetLegalAddress(const Address& value) { m_legalAddressHasBeenSet = true; m_legalAddress = value; }
80 inline void SetLegalAddress(Address&& value) { m_legalAddressHasBeenSet = true; m_legalAddress = std::move(value); }
81 inline TaxRegistration& WithLegalAddress(const Address& value) { SetLegalAddress(value); return *this;}
82 inline TaxRegistration& WithLegalAddress(Address&& value) { SetLegalAddress(std::move(value)); return *this;}
84
86
89 inline const Aws::String& GetLegalName() const{ return m_legalName; }
90 inline bool LegalNameHasBeenSet() const { return m_legalNameHasBeenSet; }
91 inline void SetLegalName(const Aws::String& value) { m_legalNameHasBeenSet = true; m_legalName = value; }
92 inline void SetLegalName(Aws::String&& value) { m_legalNameHasBeenSet = true; m_legalName = std::move(value); }
93 inline void SetLegalName(const char* value) { m_legalNameHasBeenSet = true; m_legalName.assign(value); }
94 inline TaxRegistration& WithLegalName(const Aws::String& value) { SetLegalName(value); return *this;}
95 inline TaxRegistration& WithLegalName(Aws::String&& value) { SetLegalName(std::move(value)); return *this;}
96 inline TaxRegistration& WithLegalName(const char* value) { SetLegalName(value); return *this;}
98
100
103 inline const Aws::String& GetRegistrationId() const{ return m_registrationId; }
104 inline bool RegistrationIdHasBeenSet() const { return m_registrationIdHasBeenSet; }
105 inline void SetRegistrationId(const Aws::String& value) { m_registrationIdHasBeenSet = true; m_registrationId = value; }
106 inline void SetRegistrationId(Aws::String&& value) { m_registrationIdHasBeenSet = true; m_registrationId = std::move(value); }
107 inline void SetRegistrationId(const char* value) { m_registrationIdHasBeenSet = true; m_registrationId.assign(value); }
108 inline TaxRegistration& WithRegistrationId(const Aws::String& value) { SetRegistrationId(value); return *this;}
109 inline TaxRegistration& WithRegistrationId(Aws::String&& value) { SetRegistrationId(std::move(value)); return *this;}
110 inline TaxRegistration& WithRegistrationId(const char* value) { SetRegistrationId(value); return *this;}
112
114
118 inline const TaxRegistrationType& GetRegistrationType() const{ return m_registrationType; }
119 inline bool RegistrationTypeHasBeenSet() const { return m_registrationTypeHasBeenSet; }
120 inline void SetRegistrationType(const TaxRegistrationType& value) { m_registrationTypeHasBeenSet = true; m_registrationType = value; }
121 inline void SetRegistrationType(TaxRegistrationType&& value) { m_registrationTypeHasBeenSet = true; m_registrationType = std::move(value); }
123 inline TaxRegistration& WithRegistrationType(TaxRegistrationType&& value) { SetRegistrationType(std::move(value)); return *this;}
125
127
134 inline const Sector& GetSector() const{ return m_sector; }
135 inline bool SectorHasBeenSet() const { return m_sectorHasBeenSet; }
136 inline void SetSector(const Sector& value) { m_sectorHasBeenSet = true; m_sector = value; }
137 inline void SetSector(Sector&& value) { m_sectorHasBeenSet = true; m_sector = std::move(value); }
138 inline TaxRegistration& WithSector(const Sector& value) { SetSector(value); return *this;}
139 inline TaxRegistration& WithSector(Sector&& value) { SetSector(std::move(value)); return *this;}
141
143
147 inline const TaxRegistrationStatus& GetStatus() const{ return m_status; }
148 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
149 inline void SetStatus(const TaxRegistrationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
150 inline void SetStatus(TaxRegistrationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
151 inline TaxRegistration& WithStatus(const TaxRegistrationStatus& value) { SetStatus(value); return *this;}
152 inline TaxRegistration& WithStatus(TaxRegistrationStatus&& value) { SetStatus(std::move(value)); return *this;}
154
156
159 inline const Aws::Vector<TaxDocumentMetadata>& GetTaxDocumentMetadatas() const{ return m_taxDocumentMetadatas; }
160 inline bool TaxDocumentMetadatasHasBeenSet() const { return m_taxDocumentMetadatasHasBeenSet; }
161 inline void SetTaxDocumentMetadatas(const Aws::Vector<TaxDocumentMetadata>& value) { m_taxDocumentMetadatasHasBeenSet = true; m_taxDocumentMetadatas = value; }
162 inline void SetTaxDocumentMetadatas(Aws::Vector<TaxDocumentMetadata>&& value) { m_taxDocumentMetadatasHasBeenSet = true; m_taxDocumentMetadatas = std::move(value); }
165 inline TaxRegistration& AddTaxDocumentMetadatas(const TaxDocumentMetadata& value) { m_taxDocumentMetadatasHasBeenSet = true; m_taxDocumentMetadatas.push_back(value); return *this; }
166 inline TaxRegistration& AddTaxDocumentMetadatas(TaxDocumentMetadata&& value) { m_taxDocumentMetadatasHasBeenSet = true; m_taxDocumentMetadatas.push_back(std::move(value)); return *this; }
168 private:
169
170 AdditionalInfoResponse m_additionalTaxInformation;
171 bool m_additionalTaxInformationHasBeenSet = false;
172
173 Aws::String m_certifiedEmailId;
174 bool m_certifiedEmailIdHasBeenSet = false;
175
176 Address m_legalAddress;
177 bool m_legalAddressHasBeenSet = false;
178
179 Aws::String m_legalName;
180 bool m_legalNameHasBeenSet = false;
181
182 Aws::String m_registrationId;
183 bool m_registrationIdHasBeenSet = false;
184
185 TaxRegistrationType m_registrationType;
186 bool m_registrationTypeHasBeenSet = false;
187
188 Sector m_sector;
189 bool m_sectorHasBeenSet = false;
190
191 TaxRegistrationStatus m_status;
192 bool m_statusHasBeenSet = false;
193
194 Aws::Vector<TaxDocumentMetadata> m_taxDocumentMetadatas;
195 bool m_taxDocumentMetadatasHasBeenSet = false;
196 };
197
198} // namespace Model
199} // namespace TaxSettings
200} // namespace Aws
void SetStatus(TaxRegistrationStatus &&value)
const TaxRegistrationStatus & GetStatus() const
TaxRegistration & WithAdditionalTaxInformation(AdditionalInfoResponse &&value)
void SetStatus(const TaxRegistrationStatus &value)
TaxRegistration & WithAdditionalTaxInformation(const AdditionalInfoResponse &value)
AWS_TAXSETTINGS_API TaxRegistration(Aws::Utils::Json::JsonView jsonValue)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRegistrationId() const
TaxRegistration & WithLegalName(Aws::String &&value)
TaxRegistration & WithLegalAddress(Address &&value)
TaxRegistration & WithLegalName(const char *value)
TaxRegistration & WithTaxDocumentMetadatas(Aws::Vector< TaxDocumentMetadata > &&value)
TaxRegistration & WithRegistrationType(const TaxRegistrationType &value)
const AdditionalInfoResponse & GetAdditionalTaxInformation() const
void SetRegistrationId(const Aws::String &value)
TaxRegistration & WithCertifiedEmailId(const char *value)
TaxRegistration & AddTaxDocumentMetadatas(TaxDocumentMetadata &&value)
TaxRegistration & WithTaxDocumentMetadatas(const Aws::Vector< TaxDocumentMetadata > &value)
const TaxRegistrationType & GetRegistrationType() const
const Aws::String & GetCertifiedEmailId() const
void SetTaxDocumentMetadatas(const Aws::Vector< TaxDocumentMetadata > &value)
void SetCertifiedEmailId(const char *value)
TaxRegistration & WithCertifiedEmailId(Aws::String &&value)
TaxRegistration & WithRegistrationId(const char *value)
TaxRegistration & WithCertifiedEmailId(const Aws::String &value)
void SetLegalAddress(const Address &value)
const Aws::String & GetLegalName() const
void SetAdditionalTaxInformation(AdditionalInfoResponse &&value)
TaxRegistration & WithRegistrationId(Aws::String &&value)
TaxRegistration & AddTaxDocumentMetadatas(const TaxDocumentMetadata &value)
TaxRegistration & WithLegalAddress(const Address &value)
void SetRegistrationType(const TaxRegistrationType &value)
TaxRegistration & WithRegistrationType(TaxRegistrationType &&value)
TaxRegistration & WithRegistrationId(const Aws::String &value)
void SetRegistrationType(TaxRegistrationType &&value)
TaxRegistration & WithStatus(TaxRegistrationStatus &&value)
void SetTaxDocumentMetadatas(Aws::Vector< TaxDocumentMetadata > &&value)
TaxRegistration & WithSector(const Sector &value)
TaxRegistration & WithSector(Sector &&value)
AWS_TAXSETTINGS_API TaxRegistration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLegalName(const Aws::String &value)
void SetCertifiedEmailId(Aws::String &&value)
const Aws::Vector< TaxDocumentMetadata > & GetTaxDocumentMetadatas() const
void SetAdditionalTaxInformation(const AdditionalInfoResponse &value)
TaxRegistration & WithStatus(const TaxRegistrationStatus &value)
void SetRegistrationId(Aws::String &&value)
TaxRegistration & WithLegalName(const Aws::String &value)
void SetCertifiedEmailId(const Aws::String &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