AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
SupplementalTaxRegistrationEntry.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
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace TaxSettings {
22namespace Model {
23
31 public:
32 AWS_TAXSETTINGS_API SupplementalTaxRegistrationEntry() = 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& GetLegalName() const { return m_legalName; }
58 inline bool LegalNameHasBeenSet() const { return m_legalNameHasBeenSet; }
59 template <typename LegalNameT = Aws::String>
60 void SetLegalName(LegalNameT&& value) {
61 m_legalNameHasBeenSet = true;
62 m_legalName = std::forward<LegalNameT>(value);
63 }
64 template <typename LegalNameT = Aws::String>
66 SetLegalName(std::forward<LegalNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetRegistrationId() const { return m_registrationId; }
76 inline bool RegistrationIdHasBeenSet() const { return m_registrationIdHasBeenSet; }
77 template <typename RegistrationIdT = Aws::String>
78 void SetRegistrationId(RegistrationIdT&& value) {
79 m_registrationIdHasBeenSet = true;
80 m_registrationId = std::forward<RegistrationIdT>(value);
81 }
82 template <typename RegistrationIdT = Aws::String>
84 SetRegistrationId(std::forward<RegistrationIdT>(value));
85 return *this;
86 }
88
90
93 inline SupplementalTaxRegistrationType GetRegistrationType() const { return m_registrationType; }
94 inline bool RegistrationTypeHasBeenSet() const { return m_registrationTypeHasBeenSet; }
96 m_registrationTypeHasBeenSet = true;
97 m_registrationType = value;
98 }
100 SetRegistrationType(value);
101 return *this;
102 }
104 private:
105 Address m_address;
106
107 Aws::String m_legalName;
108
109 Aws::String m_registrationId;
110
112 bool m_addressHasBeenSet = false;
113 bool m_legalNameHasBeenSet = false;
114 bool m_registrationIdHasBeenSet = false;
115 bool m_registrationTypeHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace TaxSettings
120} // namespace Aws
SupplementalTaxRegistrationType GetRegistrationType() const
bool LegalNameHasBeenSet() const
const Address & GetAddress() const
void SetRegistrationId(RegistrationIdT &&value)
void SetAddress(AddressT &&value)
bool AddressHasBeenSet() const
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TAXSETTINGS_API SupplementalTaxRegistrationEntry()=default
void SetRegistrationType(SupplementalTaxRegistrationType value)
void SetLegalName(LegalNameT &&value)
SupplementalTaxRegistrationEntry & WithLegalName(LegalNameT &&value)
AWS_TAXSETTINGS_API SupplementalTaxRegistrationEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRegistrationId() const
const Aws::String & GetLegalName() const
SupplementalTaxRegistrationEntry & WithRegistrationId(RegistrationIdT &&value)
AWS_TAXSETTINGS_API SupplementalTaxRegistrationEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RegistrationTypeHasBeenSet() const
SupplementalTaxRegistrationEntry & WithAddress(AddressT &&value)
SupplementalTaxRegistrationEntry & WithRegistrationType(SupplementalTaxRegistrationType value)
bool RegistrationIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue