AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAddress.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_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 CustomerProfiles
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CUSTOMERPROFILES_API UpdateAddress();
36 AWS_CUSTOMERPROFILES_API UpdateAddress(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CUSTOMERPROFILES_API UpdateAddress& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAddress1() const{ return m_address1; }
46 inline bool Address1HasBeenSet() const { return m_address1HasBeenSet; }
47 inline void SetAddress1(const Aws::String& value) { m_address1HasBeenSet = true; m_address1 = value; }
48 inline void SetAddress1(Aws::String&& value) { m_address1HasBeenSet = true; m_address1 = std::move(value); }
49 inline void SetAddress1(const char* value) { m_address1HasBeenSet = true; m_address1.assign(value); }
50 inline UpdateAddress& WithAddress1(const Aws::String& value) { SetAddress1(value); return *this;}
51 inline UpdateAddress& WithAddress1(Aws::String&& value) { SetAddress1(std::move(value)); return *this;}
52 inline UpdateAddress& WithAddress1(const char* value) { SetAddress1(value); return *this;}
54
56
59 inline const Aws::String& GetAddress2() const{ return m_address2; }
60 inline bool Address2HasBeenSet() const { return m_address2HasBeenSet; }
61 inline void SetAddress2(const Aws::String& value) { m_address2HasBeenSet = true; m_address2 = value; }
62 inline void SetAddress2(Aws::String&& value) { m_address2HasBeenSet = true; m_address2 = std::move(value); }
63 inline void SetAddress2(const char* value) { m_address2HasBeenSet = true; m_address2.assign(value); }
64 inline UpdateAddress& WithAddress2(const Aws::String& value) { SetAddress2(value); return *this;}
65 inline UpdateAddress& WithAddress2(Aws::String&& value) { SetAddress2(std::move(value)); return *this;}
66 inline UpdateAddress& WithAddress2(const char* value) { SetAddress2(value); return *this;}
68
70
73 inline const Aws::String& GetAddress3() const{ return m_address3; }
74 inline bool Address3HasBeenSet() const { return m_address3HasBeenSet; }
75 inline void SetAddress3(const Aws::String& value) { m_address3HasBeenSet = true; m_address3 = value; }
76 inline void SetAddress3(Aws::String&& value) { m_address3HasBeenSet = true; m_address3 = std::move(value); }
77 inline void SetAddress3(const char* value) { m_address3HasBeenSet = true; m_address3.assign(value); }
78 inline UpdateAddress& WithAddress3(const Aws::String& value) { SetAddress3(value); return *this;}
79 inline UpdateAddress& WithAddress3(Aws::String&& value) { SetAddress3(std::move(value)); return *this;}
80 inline UpdateAddress& WithAddress3(const char* value) { SetAddress3(value); return *this;}
82
84
87 inline const Aws::String& GetAddress4() const{ return m_address4; }
88 inline bool Address4HasBeenSet() const { return m_address4HasBeenSet; }
89 inline void SetAddress4(const Aws::String& value) { m_address4HasBeenSet = true; m_address4 = value; }
90 inline void SetAddress4(Aws::String&& value) { m_address4HasBeenSet = true; m_address4 = std::move(value); }
91 inline void SetAddress4(const char* value) { m_address4HasBeenSet = true; m_address4.assign(value); }
92 inline UpdateAddress& WithAddress4(const Aws::String& value) { SetAddress4(value); return *this;}
93 inline UpdateAddress& WithAddress4(Aws::String&& value) { SetAddress4(std::move(value)); return *this;}
94 inline UpdateAddress& WithAddress4(const char* value) { SetAddress4(value); return *this;}
96
98
101 inline const Aws::String& GetCity() const{ return m_city; }
102 inline bool CityHasBeenSet() const { return m_cityHasBeenSet; }
103 inline void SetCity(const Aws::String& value) { m_cityHasBeenSet = true; m_city = value; }
104 inline void SetCity(Aws::String&& value) { m_cityHasBeenSet = true; m_city = std::move(value); }
105 inline void SetCity(const char* value) { m_cityHasBeenSet = true; m_city.assign(value); }
106 inline UpdateAddress& WithCity(const Aws::String& value) { SetCity(value); return *this;}
107 inline UpdateAddress& WithCity(Aws::String&& value) { SetCity(std::move(value)); return *this;}
108 inline UpdateAddress& WithCity(const char* value) { SetCity(value); return *this;}
110
112
115 inline const Aws::String& GetCounty() const{ return m_county; }
116 inline bool CountyHasBeenSet() const { return m_countyHasBeenSet; }
117 inline void SetCounty(const Aws::String& value) { m_countyHasBeenSet = true; m_county = value; }
118 inline void SetCounty(Aws::String&& value) { m_countyHasBeenSet = true; m_county = std::move(value); }
119 inline void SetCounty(const char* value) { m_countyHasBeenSet = true; m_county.assign(value); }
120 inline UpdateAddress& WithCounty(const Aws::String& value) { SetCounty(value); return *this;}
121 inline UpdateAddress& WithCounty(Aws::String&& value) { SetCounty(std::move(value)); return *this;}
122 inline UpdateAddress& WithCounty(const char* value) { SetCounty(value); return *this;}
124
126
129 inline const Aws::String& GetState() const{ return m_state; }
130 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
131 inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
132 inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
133 inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
134 inline UpdateAddress& WithState(const Aws::String& value) { SetState(value); return *this;}
135 inline UpdateAddress& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
136 inline UpdateAddress& WithState(const char* value) { SetState(value); return *this;}
138
140
143 inline const Aws::String& GetProvince() const{ return m_province; }
144 inline bool ProvinceHasBeenSet() const { return m_provinceHasBeenSet; }
145 inline void SetProvince(const Aws::String& value) { m_provinceHasBeenSet = true; m_province = value; }
146 inline void SetProvince(Aws::String&& value) { m_provinceHasBeenSet = true; m_province = std::move(value); }
147 inline void SetProvince(const char* value) { m_provinceHasBeenSet = true; m_province.assign(value); }
148 inline UpdateAddress& WithProvince(const Aws::String& value) { SetProvince(value); return *this;}
149 inline UpdateAddress& WithProvince(Aws::String&& value) { SetProvince(std::move(value)); return *this;}
150 inline UpdateAddress& WithProvince(const char* value) { SetProvince(value); return *this;}
152
154
157 inline const Aws::String& GetCountry() const{ return m_country; }
158 inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; }
159 inline void SetCountry(const Aws::String& value) { m_countryHasBeenSet = true; m_country = value; }
160 inline void SetCountry(Aws::String&& value) { m_countryHasBeenSet = true; m_country = std::move(value); }
161 inline void SetCountry(const char* value) { m_countryHasBeenSet = true; m_country.assign(value); }
162 inline UpdateAddress& WithCountry(const Aws::String& value) { SetCountry(value); return *this;}
163 inline UpdateAddress& WithCountry(Aws::String&& value) { SetCountry(std::move(value)); return *this;}
164 inline UpdateAddress& WithCountry(const char* value) { SetCountry(value); return *this;}
166
168
171 inline const Aws::String& GetPostalCode() const{ return m_postalCode; }
172 inline bool PostalCodeHasBeenSet() const { return m_postalCodeHasBeenSet; }
173 inline void SetPostalCode(const Aws::String& value) { m_postalCodeHasBeenSet = true; m_postalCode = value; }
174 inline void SetPostalCode(Aws::String&& value) { m_postalCodeHasBeenSet = true; m_postalCode = std::move(value); }
175 inline void SetPostalCode(const char* value) { m_postalCodeHasBeenSet = true; m_postalCode.assign(value); }
176 inline UpdateAddress& WithPostalCode(const Aws::String& value) { SetPostalCode(value); return *this;}
177 inline UpdateAddress& WithPostalCode(Aws::String&& value) { SetPostalCode(std::move(value)); return *this;}
178 inline UpdateAddress& WithPostalCode(const char* value) { SetPostalCode(value); return *this;}
180 private:
181
182 Aws::String m_address1;
183 bool m_address1HasBeenSet = false;
184
185 Aws::String m_address2;
186 bool m_address2HasBeenSet = false;
187
188 Aws::String m_address3;
189 bool m_address3HasBeenSet = false;
190
191 Aws::String m_address4;
192 bool m_address4HasBeenSet = false;
193
194 Aws::String m_city;
195 bool m_cityHasBeenSet = false;
196
197 Aws::String m_county;
198 bool m_countyHasBeenSet = false;
199
200 Aws::String m_state;
201 bool m_stateHasBeenSet = false;
202
203 Aws::String m_province;
204 bool m_provinceHasBeenSet = false;
205
206 Aws::String m_country;
207 bool m_countryHasBeenSet = false;
208
209 Aws::String m_postalCode;
210 bool m_postalCodeHasBeenSet = false;
211 };
212
213} // namespace Model
214} // namespace CustomerProfiles
215} // namespace Aws
UpdateAddress & WithAddress2(const Aws::String &value)
AWS_CUSTOMERPROFILES_API UpdateAddress & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAddress2() const
UpdateAddress & WithProvince(const char *value)
UpdateAddress & WithState(const Aws::String &value)
UpdateAddress & WithAddress2(Aws::String &&value)
UpdateAddress & WithPostalCode(const char *value)
const Aws::String & GetAddress4() const
void SetCounty(const Aws::String &value)
void SetCountry(const Aws::String &value)
UpdateAddress & WithState(const char *value)
void SetPostalCode(const Aws::String &value)
UpdateAddress & WithState(Aws::String &&value)
UpdateAddress & WithCounty(const char *value)
UpdateAddress & WithCity(const Aws::String &value)
const Aws::String & GetAddress3() const
AWS_CUSTOMERPROFILES_API UpdateAddress()
void SetAddress2(const Aws::String &value)
void SetAddress4(const Aws::String &value)
AWS_CUSTOMERPROFILES_API UpdateAddress(Aws::Utils::Json::JsonView jsonValue)
void SetAddress3(const Aws::String &value)
void SetAddress1(const Aws::String &value)
UpdateAddress & WithAddress1(const Aws::String &value)
UpdateAddress & WithCity(const char *value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProvince(const Aws::String &value)
UpdateAddress & WithAddress3(const char *value)
UpdateAddress & WithAddress4(Aws::String &&value)
const Aws::String & GetPostalCode() const
UpdateAddress & WithAddress3(Aws::String &&value)
const Aws::String & GetAddress1() const
UpdateAddress & WithCountry(Aws::String &&value)
UpdateAddress & WithAddress2(const char *value)
UpdateAddress & WithAddress1(Aws::String &&value)
const Aws::String & GetProvince() const
UpdateAddress & WithPostalCode(Aws::String &&value)
UpdateAddress & WithAddress1(const char *value)
void SetCity(const Aws::String &value)
UpdateAddress & WithAddress3(const Aws::String &value)
UpdateAddress & WithCity(Aws::String &&value)
UpdateAddress & WithCounty(Aws::String &&value)
void SetState(const Aws::String &value)
UpdateAddress & WithCounty(const Aws::String &value)
UpdateAddress & WithAddress4(const char *value)
UpdateAddress & WithProvince(const Aws::String &value)
UpdateAddress & WithAddress4(const Aws::String &value)
UpdateAddress & WithProvince(Aws::String &&value)
UpdateAddress & WithCountry(const char *value)
UpdateAddress & WithPostalCode(const Aws::String &value)
UpdateAddress & WithCountry(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue