AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
SupplementalTaxRegistration.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/Address.h>
10#include <aws/taxsettings/model/SupplementalTaxRegistrationType.h>
11#include <aws/taxsettings/model/TaxRegistrationStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace TaxSettings {
23namespace Model {
24
31 public:
32 AWS_TAXSETTINGS_API SupplementalTaxRegistration() = default;
35 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
39 inline const Address& GetAddress() const { return m_address; }
40 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
41 template <typename AddressT = Address>
42 void SetAddress(AddressT&& value) {
43 m_addressHasBeenSet = true;
44 m_address = std::forward<AddressT>(value);
45 }
46 template <typename AddressT = Address>
48 SetAddress(std::forward<AddressT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetAuthorityId() const { return m_authorityId; }
58 inline bool AuthorityIdHasBeenSet() const { return m_authorityIdHasBeenSet; }
59 template <typename AuthorityIdT = Aws::String>
60 void SetAuthorityId(AuthorityIdT&& value) {
61 m_authorityIdHasBeenSet = true;
62 m_authorityId = std::forward<AuthorityIdT>(value);
63 }
64 template <typename AuthorityIdT = Aws::String>
66 SetAuthorityId(std::forward<AuthorityIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetLegalName() const { return m_legalName; }
76 inline bool LegalNameHasBeenSet() const { return m_legalNameHasBeenSet; }
77 template <typename LegalNameT = Aws::String>
78 void SetLegalName(LegalNameT&& value) {
79 m_legalNameHasBeenSet = true;
80 m_legalName = std::forward<LegalNameT>(value);
81 }
82 template <typename LegalNameT = Aws::String>
84 SetLegalName(std::forward<LegalNameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetRegistrationId() const { return m_registrationId; }
94 inline bool RegistrationIdHasBeenSet() const { return m_registrationIdHasBeenSet; }
95 template <typename RegistrationIdT = Aws::String>
96 void SetRegistrationId(RegistrationIdT&& value) {
97 m_registrationIdHasBeenSet = true;
98 m_registrationId = std::forward<RegistrationIdT>(value);
99 }
100 template <typename RegistrationIdT = Aws::String>
102 SetRegistrationId(std::forward<RegistrationIdT>(value));
103 return *this;
104 }
106
108
111 inline SupplementalTaxRegistrationType GetRegistrationType() const { return m_registrationType; }
112 inline bool RegistrationTypeHasBeenSet() const { return m_registrationTypeHasBeenSet; }
114 m_registrationTypeHasBeenSet = true;
115 m_registrationType = value;
116 }
118 SetRegistrationType(value);
119 return *this;
120 }
122
124
127 inline TaxRegistrationStatus GetStatus() const { return m_status; }
128 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
129 inline void SetStatus(TaxRegistrationStatus value) {
130 m_statusHasBeenSet = true;
131 m_status = value;
132 }
134 SetStatus(value);
135 return *this;
136 }
138 private:
139 Address m_address;
140
141 Aws::String m_authorityId;
142
143 Aws::String m_legalName;
144
145 Aws::String m_registrationId;
146
148
150 bool m_addressHasBeenSet = false;
151 bool m_authorityIdHasBeenSet = false;
152 bool m_legalNameHasBeenSet = false;
153 bool m_registrationIdHasBeenSet = false;
154 bool m_registrationTypeHasBeenSet = false;
155 bool m_statusHasBeenSet = false;
156};
157
158} // namespace Model
159} // namespace TaxSettings
160} // namespace Aws
SupplementalTaxRegistration & WithAddress(AddressT &&value)
SupplementalTaxRegistration & WithLegalName(LegalNameT &&value)
AWS_TAXSETTINGS_API SupplementalTaxRegistration(Aws::Utils::Json::JsonView jsonValue)
SupplementalTaxRegistration & WithStatus(TaxRegistrationStatus value)
SupplementalTaxRegistration & WithRegistrationType(SupplementalTaxRegistrationType value)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
SupplementalTaxRegistration & WithRegistrationId(RegistrationIdT &&value)
void SetRegistrationType(SupplementalTaxRegistrationType value)
AWS_TAXSETTINGS_API SupplementalTaxRegistration()=default
SupplementalTaxRegistration & WithAuthorityId(AuthorityIdT &&value)
AWS_TAXSETTINGS_API SupplementalTaxRegistration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue