AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Address.h
1
6#pragma once
7#include <aws/taxsettings/TaxSettings_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace TaxSettings
22{
23namespace Model
24{
25
32 class Address
33 {
34 public:
35 AWS_TAXSETTINGS_API Address();
36 AWS_TAXSETTINGS_API Address(Aws::Utils::Json::JsonView jsonValue);
37 AWS_TAXSETTINGS_API Address& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAddressLine1() const{ return m_addressLine1; }
46 inline bool AddressLine1HasBeenSet() const { return m_addressLine1HasBeenSet; }
47 inline void SetAddressLine1(const Aws::String& value) { m_addressLine1HasBeenSet = true; m_addressLine1 = value; }
48 inline void SetAddressLine1(Aws::String&& value) { m_addressLine1HasBeenSet = true; m_addressLine1 = std::move(value); }
49 inline void SetAddressLine1(const char* value) { m_addressLine1HasBeenSet = true; m_addressLine1.assign(value); }
50 inline Address& WithAddressLine1(const Aws::String& value) { SetAddressLine1(value); return *this;}
51 inline Address& WithAddressLine1(Aws::String&& value) { SetAddressLine1(std::move(value)); return *this;}
52 inline Address& WithAddressLine1(const char* value) { SetAddressLine1(value); return *this;}
54
56
59 inline const Aws::String& GetAddressLine2() const{ return m_addressLine2; }
60 inline bool AddressLine2HasBeenSet() const { return m_addressLine2HasBeenSet; }
61 inline void SetAddressLine2(const Aws::String& value) { m_addressLine2HasBeenSet = true; m_addressLine2 = value; }
62 inline void SetAddressLine2(Aws::String&& value) { m_addressLine2HasBeenSet = true; m_addressLine2 = std::move(value); }
63 inline void SetAddressLine2(const char* value) { m_addressLine2HasBeenSet = true; m_addressLine2.assign(value); }
64 inline Address& WithAddressLine2(const Aws::String& value) { SetAddressLine2(value); return *this;}
65 inline Address& WithAddressLine2(Aws::String&& value) { SetAddressLine2(std::move(value)); return *this;}
66 inline Address& WithAddressLine2(const char* value) { SetAddressLine2(value); return *this;}
68
70
77 inline const Aws::String& GetAddressLine3() const{ return m_addressLine3; }
78 inline bool AddressLine3HasBeenSet() const { return m_addressLine3HasBeenSet; }
79 inline void SetAddressLine3(const Aws::String& value) { m_addressLine3HasBeenSet = true; m_addressLine3 = value; }
80 inline void SetAddressLine3(Aws::String&& value) { m_addressLine3HasBeenSet = true; m_addressLine3 = std::move(value); }
81 inline void SetAddressLine3(const char* value) { m_addressLine3HasBeenSet = true; m_addressLine3.assign(value); }
82 inline Address& WithAddressLine3(const Aws::String& value) { SetAddressLine3(value); return *this;}
83 inline Address& WithAddressLine3(Aws::String&& value) { SetAddressLine3(std::move(value)); return *this;}
84 inline Address& WithAddressLine3(const char* value) { SetAddressLine3(value); return *this;}
86
88
91 inline const Aws::String& GetCity() const{ return m_city; }
92 inline bool CityHasBeenSet() const { return m_cityHasBeenSet; }
93 inline void SetCity(const Aws::String& value) { m_cityHasBeenSet = true; m_city = value; }
94 inline void SetCity(Aws::String&& value) { m_cityHasBeenSet = true; m_city = std::move(value); }
95 inline void SetCity(const char* value) { m_cityHasBeenSet = true; m_city.assign(value); }
96 inline Address& WithCity(const Aws::String& value) { SetCity(value); return *this;}
97 inline Address& WithCity(Aws::String&& value) { SetCity(std::move(value)); return *this;}
98 inline Address& WithCity(const char* value) { SetCity(value); return *this;}
100
102
105 inline const Aws::String& GetCountryCode() const{ return m_countryCode; }
106 inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
107 inline void SetCountryCode(const Aws::String& value) { m_countryCodeHasBeenSet = true; m_countryCode = value; }
108 inline void SetCountryCode(Aws::String&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::move(value); }
109 inline void SetCountryCode(const char* value) { m_countryCodeHasBeenSet = true; m_countryCode.assign(value); }
110 inline Address& WithCountryCode(const Aws::String& value) { SetCountryCode(value); return *this;}
111 inline Address& WithCountryCode(Aws::String&& value) { SetCountryCode(std::move(value)); return *this;}
112 inline Address& WithCountryCode(const char* value) { SetCountryCode(value); return *this;}
114
116
122 inline const Aws::String& GetDistrictOrCounty() const{ return m_districtOrCounty; }
123 inline bool DistrictOrCountyHasBeenSet() const { return m_districtOrCountyHasBeenSet; }
124 inline void SetDistrictOrCounty(const Aws::String& value) { m_districtOrCountyHasBeenSet = true; m_districtOrCounty = value; }
125 inline void SetDistrictOrCounty(Aws::String&& value) { m_districtOrCountyHasBeenSet = true; m_districtOrCounty = std::move(value); }
126 inline void SetDistrictOrCounty(const char* value) { m_districtOrCountyHasBeenSet = true; m_districtOrCounty.assign(value); }
127 inline Address& WithDistrictOrCounty(const Aws::String& value) { SetDistrictOrCounty(value); return *this;}
128 inline Address& WithDistrictOrCounty(Aws::String&& value) { SetDistrictOrCounty(std::move(value)); return *this;}
129 inline Address& WithDistrictOrCounty(const char* value) { SetDistrictOrCounty(value); return *this;}
131
133
136 inline const Aws::String& GetPostalCode() const{ return m_postalCode; }
137 inline bool PostalCodeHasBeenSet() const { return m_postalCodeHasBeenSet; }
138 inline void SetPostalCode(const Aws::String& value) { m_postalCodeHasBeenSet = true; m_postalCode = value; }
139 inline void SetPostalCode(Aws::String&& value) { m_postalCodeHasBeenSet = true; m_postalCode = std::move(value); }
140 inline void SetPostalCode(const char* value) { m_postalCodeHasBeenSet = true; m_postalCode.assign(value); }
141 inline Address& WithPostalCode(const Aws::String& value) { SetPostalCode(value); return *this;}
142 inline Address& WithPostalCode(Aws::String&& value) { SetPostalCode(std::move(value)); return *this;}
143 inline Address& WithPostalCode(const char* value) { SetPostalCode(value); return *this;}
145
147
153 inline const Aws::String& GetStateOrRegion() const{ return m_stateOrRegion; }
154 inline bool StateOrRegionHasBeenSet() const { return m_stateOrRegionHasBeenSet; }
155 inline void SetStateOrRegion(const Aws::String& value) { m_stateOrRegionHasBeenSet = true; m_stateOrRegion = value; }
156 inline void SetStateOrRegion(Aws::String&& value) { m_stateOrRegionHasBeenSet = true; m_stateOrRegion = std::move(value); }
157 inline void SetStateOrRegion(const char* value) { m_stateOrRegionHasBeenSet = true; m_stateOrRegion.assign(value); }
158 inline Address& WithStateOrRegion(const Aws::String& value) { SetStateOrRegion(value); return *this;}
159 inline Address& WithStateOrRegion(Aws::String&& value) { SetStateOrRegion(std::move(value)); return *this;}
160 inline Address& WithStateOrRegion(const char* value) { SetStateOrRegion(value); return *this;}
162 private:
163
164 Aws::String m_addressLine1;
165 bool m_addressLine1HasBeenSet = false;
166
167 Aws::String m_addressLine2;
168 bool m_addressLine2HasBeenSet = false;
169
170 Aws::String m_addressLine3;
171 bool m_addressLine3HasBeenSet = false;
172
173 Aws::String m_city;
174 bool m_cityHasBeenSet = false;
175
176 Aws::String m_countryCode;
177 bool m_countryCodeHasBeenSet = false;
178
179 Aws::String m_districtOrCounty;
180 bool m_districtOrCountyHasBeenSet = false;
181
182 Aws::String m_postalCode;
183 bool m_postalCodeHasBeenSet = false;
184
185 Aws::String m_stateOrRegion;
186 bool m_stateOrRegionHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace TaxSettings
191} // namespace Aws
Address & WithStateOrRegion(Aws::String &&value)
Definition Address.h:159
AWS_TAXSETTINGS_API Address()
Address & WithAddressLine2(Aws::String &&value)
Definition Address.h:65
void SetCity(const char *value)
Definition Address.h:95
void SetCountryCode(const Aws::String &value)
Definition Address.h:107
void SetAddressLine3(const char *value)
Definition Address.h:81
Address & WithCity(Aws::String &&value)
Definition Address.h:97
Address & WithAddressLine1(const Aws::String &value)
Definition Address.h:50
void SetAddressLine3(Aws::String &&value)
Definition Address.h:80
Address & WithAddressLine3(Aws::String &&value)
Definition Address.h:83
void SetCity(const Aws::String &value)
Definition Address.h:93
Address & WithStateOrRegion(const char *value)
Definition Address.h:160
Address & WithCity(const char *value)
Definition Address.h:98
Address & WithCity(const Aws::String &value)
Definition Address.h:96
void SetStateOrRegion(const Aws::String &value)
Definition Address.h:155
Address & WithPostalCode(const Aws::String &value)
Definition Address.h:141
void SetPostalCode(Aws::String &&value)
Definition Address.h:139
Address & WithAddressLine2(const char *value)
Definition Address.h:66
bool StateOrRegionHasBeenSet() const
Definition Address.h:154
void SetDistrictOrCounty(const char *value)
Definition Address.h:126
void SetAddressLine1(const char *value)
Definition Address.h:49
Address & WithAddressLine1(const char *value)
Definition Address.h:52
Address & WithAddressLine3(const Aws::String &value)
Definition Address.h:82
void SetPostalCode(const Aws::String &value)
Definition Address.h:138
Address & WithCountryCode(const Aws::String &value)
Definition Address.h:110
bool AddressLine2HasBeenSet() const
Definition Address.h:60
Address & WithPostalCode(const char *value)
Definition Address.h:143
void SetStateOrRegion(const char *value)
Definition Address.h:157
void SetDistrictOrCounty(Aws::String &&value)
Definition Address.h:125
Address & WithDistrictOrCounty(const Aws::String &value)
Definition Address.h:127
const Aws::String & GetCity() const
Definition Address.h:91
void SetCountryCode(Aws::String &&value)
Definition Address.h:108
void SetAddressLine2(const Aws::String &value)
Definition Address.h:61
void SetAddressLine3(const Aws::String &value)
Definition Address.h:79
Address & WithAddressLine2(const Aws::String &value)
Definition Address.h:64
void SetAddressLine1(Aws::String &&value)
Definition Address.h:48
void SetCity(Aws::String &&value)
Definition Address.h:94
void SetCountryCode(const char *value)
Definition Address.h:109
Address & WithCountryCode(const char *value)
Definition Address.h:112
Address & WithAddressLine3(const char *value)
Definition Address.h:84
bool AddressLine1HasBeenSet() const
Definition Address.h:46
Address & WithDistrictOrCounty(Aws::String &&value)
Definition Address.h:128
const Aws::String & GetAddressLine2() const
Definition Address.h:59
bool DistrictOrCountyHasBeenSet() const
Definition Address.h:123
bool AddressLine3HasBeenSet() const
Definition Address.h:78
void SetDistrictOrCounty(const Aws::String &value)
Definition Address.h:124
AWS_TAXSETTINGS_API Address & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAddressLine3() const
Definition Address.h:77
const Aws::String & GetStateOrRegion() const
Definition Address.h:153
void SetAddressLine2(Aws::String &&value)
Definition Address.h:62
const Aws::String & GetPostalCode() const
Definition Address.h:136
void SetStateOrRegion(Aws::String &&value)
Definition Address.h:156
void SetPostalCode(const char *value)
Definition Address.h:140
Address & WithAddressLine1(Aws::String &&value)
Definition Address.h:51
void SetAddressLine1(const Aws::String &value)
Definition Address.h:47
const Aws::String & GetAddressLine1() const
Definition Address.h:45
Address & WithCountryCode(Aws::String &&value)
Definition Address.h:111
AWS_TAXSETTINGS_API Address(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDistrictOrCounty() const
Definition Address.h:122
void SetAddressLine2(const char *value)
Definition Address.h:63
Address & WithDistrictOrCounty(const char *value)
Definition Address.h:129
Address & WithPostalCode(Aws::String &&value)
Definition Address.h:142
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCountryCode() const
Definition Address.h:105
Address & WithStateOrRegion(const Aws::String &value)
Definition Address.h:158
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue