AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TaxRegistrationWithJurisdiction.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/Jurisdiction.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
40 {
41 public:
42 AWS_TAXSETTINGS_API TaxRegistrationWithJurisdiction();
45 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const AdditionalInfoResponse& GetAdditionalTaxInformation() const{ return m_additionalTaxInformation; }
53 inline bool AdditionalTaxInformationHasBeenSet() const { return m_additionalTaxInformationHasBeenSet; }
54 inline void SetAdditionalTaxInformation(const AdditionalInfoResponse& value) { m_additionalTaxInformationHasBeenSet = true; m_additionalTaxInformation = value; }
55 inline void SetAdditionalTaxInformation(AdditionalInfoResponse&& 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); }
70 inline TaxRegistrationWithJurisdiction& WithCertifiedEmailId(Aws::String&& value) { SetCertifiedEmailId(std::move(value)); return *this;}
71 inline TaxRegistrationWithJurisdiction& WithCertifiedEmailId(const char* value) { SetCertifiedEmailId(value); return *this;}
73
75
78 inline const Jurisdiction& GetJurisdiction() const{ return m_jurisdiction; }
79 inline bool JurisdictionHasBeenSet() const { return m_jurisdictionHasBeenSet; }
80 inline void SetJurisdiction(const Jurisdiction& value) { m_jurisdictionHasBeenSet = true; m_jurisdiction = value; }
81 inline void SetJurisdiction(Jurisdiction&& value) { m_jurisdictionHasBeenSet = true; m_jurisdiction = std::move(value); }
83 inline TaxRegistrationWithJurisdiction& WithJurisdiction(Jurisdiction&& value) { SetJurisdiction(std::move(value)); return *this;}
85
87
90 inline const Aws::String& GetLegalName() const{ return m_legalName; }
91 inline bool LegalNameHasBeenSet() const { return m_legalNameHasBeenSet; }
92 inline void SetLegalName(const Aws::String& value) { m_legalNameHasBeenSet = true; m_legalName = value; }
93 inline void SetLegalName(Aws::String&& value) { m_legalNameHasBeenSet = true; m_legalName = std::move(value); }
94 inline void SetLegalName(const char* value) { m_legalNameHasBeenSet = true; m_legalName.assign(value); }
95 inline TaxRegistrationWithJurisdiction& WithLegalName(const Aws::String& value) { SetLegalName(value); return *this;}
96 inline TaxRegistrationWithJurisdiction& WithLegalName(Aws::String&& value) { SetLegalName(std::move(value)); return *this;}
97 inline TaxRegistrationWithJurisdiction& WithLegalName(const char* value) { SetLegalName(value); return *this;}
99
101
104 inline const Aws::String& GetRegistrationId() const{ return m_registrationId; }
105 inline bool RegistrationIdHasBeenSet() const { return m_registrationIdHasBeenSet; }
106 inline void SetRegistrationId(const Aws::String& value) { m_registrationIdHasBeenSet = true; m_registrationId = value; }
107 inline void SetRegistrationId(Aws::String&& value) { m_registrationIdHasBeenSet = true; m_registrationId = std::move(value); }
108 inline void SetRegistrationId(const char* value) { m_registrationIdHasBeenSet = true; m_registrationId.assign(value); }
110 inline TaxRegistrationWithJurisdiction& WithRegistrationId(Aws::String&& value) { SetRegistrationId(std::move(value)); return *this;}
111 inline TaxRegistrationWithJurisdiction& WithRegistrationId(const char* value) { SetRegistrationId(value); return *this;}
113
115
119 inline const TaxRegistrationType& GetRegistrationType() const{ return m_registrationType; }
120 inline bool RegistrationTypeHasBeenSet() const { return m_registrationTypeHasBeenSet; }
121 inline void SetRegistrationType(const TaxRegistrationType& value) { m_registrationTypeHasBeenSet = true; m_registrationType = value; }
122 inline void SetRegistrationType(TaxRegistrationType&& value) { m_registrationTypeHasBeenSet = true; m_registrationType = std::move(value); }
126
128
135 inline const Sector& GetSector() const{ return m_sector; }
136 inline bool SectorHasBeenSet() const { return m_sectorHasBeenSet; }
137 inline void SetSector(const Sector& value) { m_sectorHasBeenSet = true; m_sector = value; }
138 inline void SetSector(Sector&& value) { m_sectorHasBeenSet = true; m_sector = std::move(value); }
139 inline TaxRegistrationWithJurisdiction& WithSector(const Sector& value) { SetSector(value); return *this;}
140 inline TaxRegistrationWithJurisdiction& WithSector(Sector&& value) { SetSector(std::move(value)); return *this;}
142
144
148 inline const TaxRegistrationStatus& GetStatus() const{ return m_status; }
149 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
150 inline void SetStatus(const TaxRegistrationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
151 inline void SetStatus(TaxRegistrationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
152 inline TaxRegistrationWithJurisdiction& WithStatus(const TaxRegistrationStatus& value) { SetStatus(value); return *this;}
153 inline TaxRegistrationWithJurisdiction& WithStatus(TaxRegistrationStatus&& value) { SetStatus(std::move(value)); return *this;}
155
157
160 inline const Aws::Vector<TaxDocumentMetadata>& GetTaxDocumentMetadatas() const{ return m_taxDocumentMetadatas; }
161 inline bool TaxDocumentMetadatasHasBeenSet() const { return m_taxDocumentMetadatasHasBeenSet; }
162 inline void SetTaxDocumentMetadatas(const Aws::Vector<TaxDocumentMetadata>& value) { m_taxDocumentMetadatasHasBeenSet = true; m_taxDocumentMetadatas = value; }
163 inline void SetTaxDocumentMetadatas(Aws::Vector<TaxDocumentMetadata>&& value) { m_taxDocumentMetadatasHasBeenSet = true; m_taxDocumentMetadatas = std::move(value); }
166 inline TaxRegistrationWithJurisdiction& AddTaxDocumentMetadatas(const TaxDocumentMetadata& value) { m_taxDocumentMetadatasHasBeenSet = true; m_taxDocumentMetadatas.push_back(value); return *this; }
167 inline TaxRegistrationWithJurisdiction& AddTaxDocumentMetadatas(TaxDocumentMetadata&& value) { m_taxDocumentMetadatasHasBeenSet = true; m_taxDocumentMetadatas.push_back(std::move(value)); return *this; }
169 private:
170
171 AdditionalInfoResponse m_additionalTaxInformation;
172 bool m_additionalTaxInformationHasBeenSet = false;
173
174 Aws::String m_certifiedEmailId;
175 bool m_certifiedEmailIdHasBeenSet = false;
176
177 Jurisdiction m_jurisdiction;
178 bool m_jurisdictionHasBeenSet = false;
179
180 Aws::String m_legalName;
181 bool m_legalNameHasBeenSet = false;
182
183 Aws::String m_registrationId;
184 bool m_registrationIdHasBeenSet = false;
185
186 TaxRegistrationType m_registrationType;
187 bool m_registrationTypeHasBeenSet = false;
188
189 Sector m_sector;
190 bool m_sectorHasBeenSet = false;
191
192 TaxRegistrationStatus m_status;
193 bool m_statusHasBeenSet = false;
194
195 Aws::Vector<TaxDocumentMetadata> m_taxDocumentMetadatas;
196 bool m_taxDocumentMetadatasHasBeenSet = false;
197 };
198
199} // namespace Model
200} // namespace TaxSettings
201} // namespace Aws
TaxRegistrationWithJurisdiction & WithCertifiedEmailId(const Aws::String &value)
TaxRegistrationWithJurisdiction & WithRegistrationId(const char *value)
TaxRegistrationWithJurisdiction & WithAdditionalTaxInformation(const AdditionalInfoResponse &value)
TaxRegistrationWithJurisdiction & WithCertifiedEmailId(Aws::String &&value)
TaxRegistrationWithJurisdiction & WithCertifiedEmailId(const char *value)
TaxRegistrationWithJurisdiction & WithTaxDocumentMetadatas(Aws::Vector< TaxDocumentMetadata > &&value)
AWS_TAXSETTINGS_API TaxRegistrationWithJurisdiction & operator=(Aws::Utils::Json::JsonView jsonValue)
TaxRegistrationWithJurisdiction & WithLegalName(const char *value)
TaxRegistrationWithJurisdiction & WithStatus(TaxRegistrationStatus &&value)
TaxRegistrationWithJurisdiction & WithSector(const Sector &value)
AWS_TAXSETTINGS_API TaxRegistrationWithJurisdiction(Aws::Utils::Json::JsonView jsonValue)
TaxRegistrationWithJurisdiction & WithRegistrationType(const TaxRegistrationType &value)
TaxRegistrationWithJurisdiction & WithTaxDocumentMetadatas(const Aws::Vector< TaxDocumentMetadata > &value)
TaxRegistrationWithJurisdiction & WithSector(Sector &&value)
TaxRegistrationWithJurisdiction & WithJurisdiction(Jurisdiction &&value)
TaxRegistrationWithJurisdiction & WithRegistrationId(Aws::String &&value)
TaxRegistrationWithJurisdiction & WithStatus(const TaxRegistrationStatus &value)
TaxRegistrationWithJurisdiction & WithLegalName(Aws::String &&value)
TaxRegistrationWithJurisdiction & WithLegalName(const Aws::String &value)
void SetTaxDocumentMetadatas(Aws::Vector< TaxDocumentMetadata > &&value)
TaxRegistrationWithJurisdiction & WithRegistrationType(TaxRegistrationType &&value)
const Aws::Vector< TaxDocumentMetadata > & GetTaxDocumentMetadatas() const
void SetTaxDocumentMetadatas(const Aws::Vector< TaxDocumentMetadata > &value)
TaxRegistrationWithJurisdiction & AddTaxDocumentMetadatas(const TaxDocumentMetadata &value)
TaxRegistrationWithJurisdiction & WithAdditionalTaxInformation(AdditionalInfoResponse &&value)
TaxRegistrationWithJurisdiction & WithRegistrationId(const Aws::String &value)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
TaxRegistrationWithJurisdiction & AddTaxDocumentMetadatas(TaxDocumentMetadata &&value)
TaxRegistrationWithJurisdiction & WithJurisdiction(const Jurisdiction &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