AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SupplementalTaxRegistration.h
1
6#pragma once
7#include <aws/taxsettings/TaxSettings_EXPORTS.h>
8#include <aws/taxsettings/model/Address.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/taxsettings/model/SupplementalTaxRegistrationType.h>
11#include <aws/taxsettings/model/TaxRegistrationStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace TaxSettings
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_TAXSETTINGS_API SupplementalTaxRegistration() = default;
40 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const Address& GetAddress() const { return m_address; }
46 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
47 template<typename AddressT = Address>
48 void SetAddress(AddressT&& value) { m_addressHasBeenSet = true; m_address = std::forward<AddressT>(value); }
49 template<typename AddressT = Address>
50 SupplementalTaxRegistration& WithAddress(AddressT&& value) { SetAddress(std::forward<AddressT>(value)); return *this;}
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) { m_authorityIdHasBeenSet = true; m_authorityId = std::forward<AuthorityIdT>(value); }
61 template<typename AuthorityIdT = Aws::String>
62 SupplementalTaxRegistration& WithAuthorityId(AuthorityIdT&& value) { SetAuthorityId(std::forward<AuthorityIdT>(value)); return *this;}
64
66
69 inline const Aws::String& GetLegalName() const { return m_legalName; }
70 inline bool LegalNameHasBeenSet() const { return m_legalNameHasBeenSet; }
71 template<typename LegalNameT = Aws::String>
72 void SetLegalName(LegalNameT&& value) { m_legalNameHasBeenSet = true; m_legalName = std::forward<LegalNameT>(value); }
73 template<typename LegalNameT = Aws::String>
74 SupplementalTaxRegistration& WithLegalName(LegalNameT&& value) { SetLegalName(std::forward<LegalNameT>(value)); return *this;}
76
78
81 inline const Aws::String& GetRegistrationId() const { return m_registrationId; }
82 inline bool RegistrationIdHasBeenSet() const { return m_registrationIdHasBeenSet; }
83 template<typename RegistrationIdT = Aws::String>
84 void SetRegistrationId(RegistrationIdT&& value) { m_registrationIdHasBeenSet = true; m_registrationId = std::forward<RegistrationIdT>(value); }
85 template<typename RegistrationIdT = Aws::String>
86 SupplementalTaxRegistration& WithRegistrationId(RegistrationIdT&& value) { SetRegistrationId(std::forward<RegistrationIdT>(value)); return *this;}
88
90
93 inline SupplementalTaxRegistrationType GetRegistrationType() const { return m_registrationType; }
94 inline bool RegistrationTypeHasBeenSet() const { return m_registrationTypeHasBeenSet; }
95 inline void SetRegistrationType(SupplementalTaxRegistrationType value) { m_registrationTypeHasBeenSet = true; m_registrationType = value; }
98
100
103 inline TaxRegistrationStatus GetStatus() const { return m_status; }
104 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
105 inline void SetStatus(TaxRegistrationStatus value) { m_statusHasBeenSet = true; m_status = value; }
108 private:
109
110 Address m_address;
111 bool m_addressHasBeenSet = false;
112
113 Aws::String m_authorityId;
114 bool m_authorityIdHasBeenSet = false;
115
116 Aws::String m_legalName;
117 bool m_legalNameHasBeenSet = false;
118
119 Aws::String m_registrationId;
120 bool m_registrationIdHasBeenSet = false;
121
123 bool m_registrationTypeHasBeenSet = false;
124
126 bool m_statusHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace TaxSettings
131} // 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