AWS SDK for C++

AWS SDK for C++ Version 1.11.829

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
41 inline const Aws::String& GetRegistrationId() const { return m_registrationId; }
42 inline bool RegistrationIdHasBeenSet() const { return m_registrationIdHasBeenSet; }
43 template <typename RegistrationIdT = Aws::String>
44 void SetRegistrationId(RegistrationIdT&& value) {
45 m_registrationIdHasBeenSet = true;
46 m_registrationId = std::forward<RegistrationIdT>(value);
47 }
48 template <typename RegistrationIdT = Aws::String>
50 SetRegistrationId(std::forward<RegistrationIdT>(value));
51 return *this;
52 }
54
56
59 inline SupplementalTaxRegistrationType GetRegistrationType() const { return m_registrationType; }
60 inline bool RegistrationTypeHasBeenSet() const { return m_registrationTypeHasBeenSet; }
62 m_registrationTypeHasBeenSet = true;
63 m_registrationType = value;
64 }
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
91 inline const Address& GetAddress() const { return m_address; }
92 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
93 template <typename AddressT = Address>
94 void SetAddress(AddressT&& value) {
95 m_addressHasBeenSet = true;
96 m_address = std::forward<AddressT>(value);
97 }
98 template <typename AddressT = Address>
100 SetAddress(std::forward<AddressT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetAuthorityId() const { return m_authorityId; }
110 inline bool AuthorityIdHasBeenSet() const { return m_authorityIdHasBeenSet; }
111 template <typename AuthorityIdT = Aws::String>
112 void SetAuthorityId(AuthorityIdT&& value) {
113 m_authorityIdHasBeenSet = true;
114 m_authorityId = std::forward<AuthorityIdT>(value);
115 }
116 template <typename AuthorityIdT = Aws::String>
118 SetAuthorityId(std::forward<AuthorityIdT>(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 Aws::String m_registrationId;
140
142
143 Aws::String m_legalName;
144
145 Address m_address;
146
147 Aws::String m_authorityId;
148
150 bool m_registrationIdHasBeenSet = false;
151 bool m_registrationTypeHasBeenSet = false;
152 bool m_legalNameHasBeenSet = false;
153 bool m_addressHasBeenSet = false;
154 bool m_authorityIdHasBeenSet = 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)
SupplementalTaxRegistrationType GetRegistrationType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue