AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 SupplementalTaxRegistrationEntry& WithAddress(const Address& value) { SetAddress(value); return *this;}
50 inline SupplementalTaxRegistrationEntry& WithAddress(Address&& value) { SetAddress(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetLegalName() const{ return m_legalName; }
58 inline bool LegalNameHasBeenSet() const { return m_legalNameHasBeenSet; }
59 inline void SetLegalName(const Aws::String& value) { m_legalNameHasBeenSet = true; m_legalName = value; }
60 inline void SetLegalName(Aws::String&& value) { m_legalNameHasBeenSet = true; m_legalName = std::move(value); }
61 inline void SetLegalName(const char* value) { m_legalNameHasBeenSet = true; m_legalName.assign(value); }
62 inline SupplementalTaxRegistrationEntry& WithLegalName(const Aws::String& value) { SetLegalName(value); return *this;}
63 inline SupplementalTaxRegistrationEntry& WithLegalName(Aws::String&& value) { SetLegalName(std::move(value)); return *this;}
64 inline SupplementalTaxRegistrationEntry& WithLegalName(const char* value) { SetLegalName(value); return *this;}
66
68
71 inline const Aws::String& GetRegistrationId() const{ return m_registrationId; }
72 inline bool RegistrationIdHasBeenSet() const { return m_registrationIdHasBeenSet; }
73 inline void SetRegistrationId(const Aws::String& value) { m_registrationIdHasBeenSet = true; m_registrationId = value; }
74 inline void SetRegistrationId(Aws::String&& value) { m_registrationIdHasBeenSet = true; m_registrationId = std::move(value); }
75 inline void SetRegistrationId(const char* value) { m_registrationIdHasBeenSet = true; m_registrationId.assign(value); }
77 inline SupplementalTaxRegistrationEntry& WithRegistrationId(Aws::String&& value) { SetRegistrationId(std::move(value)); return *this;}
78 inline SupplementalTaxRegistrationEntry& WithRegistrationId(const char* value) { SetRegistrationId(value); return *this;}
80
82
85 inline const SupplementalTaxRegistrationType& GetRegistrationType() const{ return m_registrationType; }
86 inline bool RegistrationTypeHasBeenSet() const { return m_registrationTypeHasBeenSet; }
87 inline void SetRegistrationType(const SupplementalTaxRegistrationType& value) { m_registrationTypeHasBeenSet = true; m_registrationType = value; }
88 inline void SetRegistrationType(SupplementalTaxRegistrationType&& value) { m_registrationTypeHasBeenSet = true; m_registrationType = std::move(value); }
92 private:
93
94 Address m_address;
95 bool m_addressHasBeenSet = false;
96
97 Aws::String m_legalName;
98 bool m_legalNameHasBeenSet = false;
99
100 Aws::String m_registrationId;
101 bool m_registrationIdHasBeenSet = false;
102
103 SupplementalTaxRegistrationType m_registrationType;
104 bool m_registrationTypeHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace TaxSettings
109} // namespace Aws
void SetRegistrationId(Aws::String &&value)
AWS_TAXSETTINGS_API SupplementalTaxRegistrationEntry()
bool LegalNameHasBeenSet() const
const Address & GetAddress() const
SupplementalTaxRegistrationEntry & WithLegalName(const Aws::String &value)
void SetAddress(Address &&value)
bool AddressHasBeenSet() const
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRegistrationType(SupplementalTaxRegistrationType &&value)
SupplementalTaxRegistrationEntry & WithRegistrationType(const SupplementalTaxRegistrationType &value)
SupplementalTaxRegistrationEntry & WithRegistrationType(SupplementalTaxRegistrationType &&value)
SupplementalTaxRegistrationEntry & WithLegalName(const char *value)
void SetLegalName(Aws::String &&value)
const SupplementalTaxRegistrationType & GetRegistrationType() const
AWS_TAXSETTINGS_API SupplementalTaxRegistrationEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRegistrationId() const
SupplementalTaxRegistrationEntry & WithRegistrationId(const char *value)
void SetRegistrationId(const char *value)
void SetLegalName(const char *value)
SupplementalTaxRegistrationEntry & WithLegalName(Aws::String &&value)
const Aws::String & GetLegalName() const
void SetLegalName(const Aws::String &value)
SupplementalTaxRegistrationEntry & WithAddress(Address &&value)
AWS_TAXSETTINGS_API SupplementalTaxRegistrationEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
SupplementalTaxRegistrationEntry & WithAddress(const Address &value)
void SetRegistrationType(const SupplementalTaxRegistrationType &value)
bool RegistrationTypeHasBeenSet() const
void SetAddress(const Address &value)
SupplementalTaxRegistrationEntry & WithRegistrationId(const Aws::String &value)
void SetRegistrationId(const Aws::String &value)
SupplementalTaxRegistrationEntry & WithRegistrationId(Aws::String &&value)
bool RegistrationIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue