AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SupplementalTaxRegistrationEntry.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace TaxSettings
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_TAXSETTINGS_API SupplementalTaxRegistrationEntry() = 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 SupplementalTaxRegistrationEntry& WithAddress(AddressT&& value) { SetAddress(std::forward<AddressT>(value)); return *this;}
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) { m_legalNameHasBeenSet = true; m_legalName = std::forward<LegalNameT>(value); }
61 template<typename LegalNameT = Aws::String>
62 SupplementalTaxRegistrationEntry& WithLegalName(LegalNameT&& value) { SetLegalName(std::forward<LegalNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetRegistrationId() const { return m_registrationId; }
70 inline bool RegistrationIdHasBeenSet() const { return m_registrationIdHasBeenSet; }
71 template<typename RegistrationIdT = Aws::String>
72 void SetRegistrationId(RegistrationIdT&& value) { m_registrationIdHasBeenSet = true; m_registrationId = std::forward<RegistrationIdT>(value); }
73 template<typename RegistrationIdT = Aws::String>
74 SupplementalTaxRegistrationEntry& WithRegistrationId(RegistrationIdT&& value) { SetRegistrationId(std::forward<RegistrationIdT>(value)); return *this;}
76
78
81 inline SupplementalTaxRegistrationType GetRegistrationType() const { return m_registrationType; }
82 inline bool RegistrationTypeHasBeenSet() const { return m_registrationTypeHasBeenSet; }
83 inline void SetRegistrationType(SupplementalTaxRegistrationType value) { m_registrationTypeHasBeenSet = true; m_registrationType = value; }
86 private:
87
88 Address m_address;
89 bool m_addressHasBeenSet = false;
90
91 Aws::String m_legalName;
92 bool m_legalNameHasBeenSet = false;
93
94 Aws::String m_registrationId;
95 bool m_registrationIdHasBeenSet = false;
96
98 bool m_registrationTypeHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace TaxSettings
103} // 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