AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAddress(const Address& value) { m_addressHasBeenSet = true; m_address = value; }
48 inline void SetAddress(Address&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
49 inline SupplementalTaxRegistration& WithAddress(const Address& value) { SetAddress(value); return *this;}
50 inline SupplementalTaxRegistration& WithAddress(Address&& value) { SetAddress(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetAuthorityId() const{ return m_authorityId; }
58 inline bool AuthorityIdHasBeenSet() const { return m_authorityIdHasBeenSet; }
59 inline void SetAuthorityId(const Aws::String& value) { m_authorityIdHasBeenSet = true; m_authorityId = value; }
60 inline void SetAuthorityId(Aws::String&& value) { m_authorityIdHasBeenSet = true; m_authorityId = std::move(value); }
61 inline void SetAuthorityId(const char* value) { m_authorityIdHasBeenSet = true; m_authorityId.assign(value); }
62 inline SupplementalTaxRegistration& WithAuthorityId(const Aws::String& value) { SetAuthorityId(value); return *this;}
63 inline SupplementalTaxRegistration& WithAuthorityId(Aws::String&& value) { SetAuthorityId(std::move(value)); return *this;}
64 inline SupplementalTaxRegistration& WithAuthorityId(const char* value) { SetAuthorityId(value); return *this;}
66
68
71 inline const Aws::String& GetLegalName() const{ return m_legalName; }
72 inline bool LegalNameHasBeenSet() const { return m_legalNameHasBeenSet; }
73 inline void SetLegalName(const Aws::String& value) { m_legalNameHasBeenSet = true; m_legalName = value; }
74 inline void SetLegalName(Aws::String&& value) { m_legalNameHasBeenSet = true; m_legalName = std::move(value); }
75 inline void SetLegalName(const char* value) { m_legalNameHasBeenSet = true; m_legalName.assign(value); }
76 inline SupplementalTaxRegistration& WithLegalName(const Aws::String& value) { SetLegalName(value); return *this;}
77 inline SupplementalTaxRegistration& WithLegalName(Aws::String&& value) { SetLegalName(std::move(value)); return *this;}
78 inline SupplementalTaxRegistration& WithLegalName(const char* value) { SetLegalName(value); return *this;}
80
82
85 inline const Aws::String& GetRegistrationId() const{ return m_registrationId; }
86 inline bool RegistrationIdHasBeenSet() const { return m_registrationIdHasBeenSet; }
87 inline void SetRegistrationId(const Aws::String& value) { m_registrationIdHasBeenSet = true; m_registrationId = value; }
88 inline void SetRegistrationId(Aws::String&& value) { m_registrationIdHasBeenSet = true; m_registrationId = std::move(value); }
89 inline void SetRegistrationId(const char* value) { m_registrationIdHasBeenSet = true; m_registrationId.assign(value); }
90 inline SupplementalTaxRegistration& WithRegistrationId(const Aws::String& value) { SetRegistrationId(value); return *this;}
91 inline SupplementalTaxRegistration& WithRegistrationId(Aws::String&& value) { SetRegistrationId(std::move(value)); return *this;}
92 inline SupplementalTaxRegistration& WithRegistrationId(const char* value) { SetRegistrationId(value); return *this;}
94
96
99 inline const SupplementalTaxRegistrationType& GetRegistrationType() const{ return m_registrationType; }
100 inline bool RegistrationTypeHasBeenSet() const { return m_registrationTypeHasBeenSet; }
101 inline void SetRegistrationType(const SupplementalTaxRegistrationType& value) { m_registrationTypeHasBeenSet = true; m_registrationType = value; }
102 inline void SetRegistrationType(SupplementalTaxRegistrationType&& value) { m_registrationTypeHasBeenSet = true; m_registrationType = std::move(value); }
106
108
111 inline const TaxRegistrationStatus& GetStatus() const{ return m_status; }
112 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
113 inline void SetStatus(const TaxRegistrationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
114 inline void SetStatus(TaxRegistrationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
115 inline SupplementalTaxRegistration& WithStatus(const TaxRegistrationStatus& value) { SetStatus(value); return *this;}
116 inline SupplementalTaxRegistration& WithStatus(TaxRegistrationStatus&& value) { SetStatus(std::move(value)); return *this;}
118 private:
119
120 Address m_address;
121 bool m_addressHasBeenSet = false;
122
123 Aws::String m_authorityId;
124 bool m_authorityIdHasBeenSet = false;
125
126 Aws::String m_legalName;
127 bool m_legalNameHasBeenSet = false;
128
129 Aws::String m_registrationId;
130 bool m_registrationIdHasBeenSet = false;
131
132 SupplementalTaxRegistrationType m_registrationType;
133 bool m_registrationTypeHasBeenSet = false;
134
135 TaxRegistrationStatus m_status;
136 bool m_statusHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace TaxSettings
141} // namespace Aws
AWS_TAXSETTINGS_API SupplementalTaxRegistration(Aws::Utils::Json::JsonView jsonValue)
SupplementalTaxRegistration & WithStatus(TaxRegistrationStatus &&value)
SupplementalTaxRegistration & WithAuthorityId(const char *value)
SupplementalTaxRegistration & WithRegistrationId(Aws::String &&value)
SupplementalTaxRegistration & WithAuthorityId(Aws::String &&value)
SupplementalTaxRegistration & WithAddress(Address &&value)
void SetRegistrationType(SupplementalTaxRegistrationType &&value)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
SupplementalTaxRegistration & WithAuthorityId(const Aws::String &value)
SupplementalTaxRegistration & WithRegistrationType(const SupplementalTaxRegistrationType &value)
SupplementalTaxRegistration & WithAddress(const Address &value)
SupplementalTaxRegistration & WithStatus(const TaxRegistrationStatus &value)
SupplementalTaxRegistration & WithRegistrationId(const Aws::String &value)
const SupplementalTaxRegistrationType & GetRegistrationType() const
SupplementalTaxRegistration & WithRegistrationId(const char *value)
SupplementalTaxRegistration & WithLegalName(const char *value)
SupplementalTaxRegistration & WithRegistrationType(SupplementalTaxRegistrationType &&value)
void SetRegistrationType(const SupplementalTaxRegistrationType &value)
SupplementalTaxRegistration & WithLegalName(const Aws::String &value)
AWS_TAXSETTINGS_API SupplementalTaxRegistration & operator=(Aws::Utils::Json::JsonView jsonValue)
SupplementalTaxRegistration & WithLegalName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue