AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
TaxRegistration.h
1
6#pragma once
7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/appmonetization/model/TaxRegistrationType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AppMonetization {
21namespace Model {
22
30 public:
31 AWS_APPMONETIZATION_API TaxRegistration() = default;
32 AWS_APPMONETIZATION_API TaxRegistration(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APPMONETIZATION_API TaxRegistration& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetCountryCode() const { return m_countryCode; }
41 inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
42 template <typename CountryCodeT = Aws::String>
43 void SetCountryCode(CountryCodeT&& value) {
44 m_countryCodeHasBeenSet = true;
45 m_countryCode = std::forward<CountryCodeT>(value);
46 }
47 template <typename CountryCodeT = Aws::String>
48 TaxRegistration& WithCountryCode(CountryCodeT&& value) {
49 SetCountryCode(std::forward<CountryCodeT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetState() const { return m_state; }
60 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
61 template <typename StateT = Aws::String>
62 void SetState(StateT&& value) {
63 m_stateHasBeenSet = true;
64 m_state = std::forward<StateT>(value);
65 }
66 template <typename StateT = Aws::String>
67 TaxRegistration& WithState(StateT&& value) {
68 SetState(std::forward<StateT>(value));
69 return *this;
70 }
72
74
79 inline const Aws::String& GetCollectionType() const { return m_collectionType; }
80 inline bool CollectionTypeHasBeenSet() const { return m_collectionTypeHasBeenSet; }
81 template <typename CollectionTypeT = Aws::String>
82 void SetCollectionType(CollectionTypeT&& value) {
83 m_collectionTypeHasBeenSet = true;
84 m_collectionType = std::forward<CollectionTypeT>(value);
85 }
86 template <typename CollectionTypeT = Aws::String>
87 TaxRegistration& WithCollectionType(CollectionTypeT&& value) {
88 SetCollectionType(std::forward<CollectionTypeT>(value));
89 return *this;
90 }
92
94
99 inline TaxRegistrationType GetRegistrationType() const { return m_registrationType; }
100 inline bool RegistrationTypeHasBeenSet() const { return m_registrationTypeHasBeenSet; }
102 m_registrationTypeHasBeenSet = true;
103 m_registrationType = value;
104 }
106 SetRegistrationType(value);
107 return *this;
108 }
110
112
116 inline const Aws::String& GetRegistrationId() const { return m_registrationId; }
117 inline bool RegistrationIdHasBeenSet() const { return m_registrationIdHasBeenSet; }
118 template <typename RegistrationIdT = Aws::String>
119 void SetRegistrationId(RegistrationIdT&& value) {
120 m_registrationIdHasBeenSet = true;
121 m_registrationId = std::forward<RegistrationIdT>(value);
122 }
123 template <typename RegistrationIdT = Aws::String>
124 TaxRegistration& WithRegistrationId(RegistrationIdT&& value) {
125 SetRegistrationId(std::forward<RegistrationIdT>(value));
126 return *this;
127 }
129
131
135 inline const Aws::String& GetLocality() const { return m_locality; }
136 inline bool LocalityHasBeenSet() const { return m_localityHasBeenSet; }
137 template <typename LocalityT = Aws::String>
138 void SetLocality(LocalityT&& value) {
139 m_localityHasBeenSet = true;
140 m_locality = std::forward<LocalityT>(value);
141 }
142 template <typename LocalityT = Aws::String>
143 TaxRegistration& WithLocality(LocalityT&& value) {
144 SetLocality(std::forward<LocalityT>(value));
145 return *this;
146 }
148 private:
149 Aws::String m_countryCode;
150
151 Aws::String m_state;
152
153 Aws::String m_collectionType;
154
156
157 Aws::String m_registrationId;
158
159 Aws::String m_locality;
160 bool m_countryCodeHasBeenSet = false;
161 bool m_stateHasBeenSet = false;
162 bool m_collectionTypeHasBeenSet = false;
163 bool m_registrationTypeHasBeenSet = false;
164 bool m_registrationIdHasBeenSet = false;
165 bool m_localityHasBeenSet = false;
166};
167
168} // namespace Model
169} // namespace AppMonetization
170} // namespace Aws
TaxRegistrationType GetRegistrationType() const
const Aws::String & GetCollectionType() const
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
TaxRegistration & WithRegistrationType(TaxRegistrationType value)
TaxRegistration & WithRegistrationId(RegistrationIdT &&value)
TaxRegistration & WithLocality(LocalityT &&value)
TaxRegistration & WithState(StateT &&value)
void SetRegistrationType(TaxRegistrationType value)
AWS_APPMONETIZATION_API TaxRegistration & operator=(Aws::Utils::Json::JsonView jsonValue)
TaxRegistration & WithCountryCode(CountryCodeT &&value)
TaxRegistration & WithCollectionType(CollectionTypeT &&value)
AWS_APPMONETIZATION_API TaxRegistration()=default
AWS_APPMONETIZATION_API TaxRegistration(Aws::Utils::Json::JsonView jsonValue)
void SetRegistrationId(RegistrationIdT &&value)
const Aws::String & GetRegistrationId() const
void SetCollectionType(CollectionTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue