AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename Address1T = Aws::String>
48 void SetAddress1(Address1T&& value) { m_address1HasBeenSet = true; m_address1 = std::forward<Address1T>(value); }
49 template<typename Address1T = Aws::String>
50 UpdateAddress& WithAddress1(Address1T&& value) { SetAddress1(std::forward<Address1T>(value)); return *this;}
52
54
57 inline const Aws::String& GetAddress2() const { return m_address2; }
58 inline bool Address2HasBeenSet() const { return m_address2HasBeenSet; }
59 template<typename Address2T = Aws::String>
60 void SetAddress2(Address2T&& value) { m_address2HasBeenSet = true; m_address2 = std::forward<Address2T>(value); }
61 template<typename Address2T = Aws::String>
62 UpdateAddress& WithAddress2(Address2T&& value) { SetAddress2(std::forward<Address2T>(value)); return *this;}
64
66
69 inline const Aws::String& GetAddress3() const { return m_address3; }
70 inline bool Address3HasBeenSet() const { return m_address3HasBeenSet; }
71 template<typename Address3T = Aws::String>
72 void SetAddress3(Address3T&& value) { m_address3HasBeenSet = true; m_address3 = std::forward<Address3T>(value); }
73 template<typename Address3T = Aws::String>
74 UpdateAddress& WithAddress3(Address3T&& value) { SetAddress3(std::forward<Address3T>(value)); return *this;}
76
78
81 inline const Aws::String& GetAddress4() const { return m_address4; }
82 inline bool Address4HasBeenSet() const { return m_address4HasBeenSet; }
83 template<typename Address4T = Aws::String>
84 void SetAddress4(Address4T&& value) { m_address4HasBeenSet = true; m_address4 = std::forward<Address4T>(value); }
85 template<typename Address4T = Aws::String>
86 UpdateAddress& WithAddress4(Address4T&& value) { SetAddress4(std::forward<Address4T>(value)); return *this;}
88
90
93 inline const Aws::String& GetCity() const { return m_city; }
94 inline bool CityHasBeenSet() const { return m_cityHasBeenSet; }
95 template<typename CityT = Aws::String>
96 void SetCity(CityT&& value) { m_cityHasBeenSet = true; m_city = std::forward<CityT>(value); }
97 template<typename CityT = Aws::String>
98 UpdateAddress& WithCity(CityT&& value) { SetCity(std::forward<CityT>(value)); return *this;}
100
102
105 inline const Aws::String& GetCounty() const { return m_county; }
106 inline bool CountyHasBeenSet() const { return m_countyHasBeenSet; }
107 template<typename CountyT = Aws::String>
108 void SetCounty(CountyT&& value) { m_countyHasBeenSet = true; m_county = std::forward<CountyT>(value); }
109 template<typename CountyT = Aws::String>
110 UpdateAddress& WithCounty(CountyT&& value) { SetCounty(std::forward<CountyT>(value)); return *this;}
112
114
117 inline const Aws::String& GetState() const { return m_state; }
118 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
119 template<typename StateT = Aws::String>
120 void SetState(StateT&& value) { m_stateHasBeenSet = true; m_state = std::forward<StateT>(value); }
121 template<typename StateT = Aws::String>
122 UpdateAddress& WithState(StateT&& value) { SetState(std::forward<StateT>(value)); return *this;}
124
126
129 inline const Aws::String& GetProvince() const { return m_province; }
130 inline bool ProvinceHasBeenSet() const { return m_provinceHasBeenSet; }
131 template<typename ProvinceT = Aws::String>
132 void SetProvince(ProvinceT&& value) { m_provinceHasBeenSet = true; m_province = std::forward<ProvinceT>(value); }
133 template<typename ProvinceT = Aws::String>
134 UpdateAddress& WithProvince(ProvinceT&& value) { SetProvince(std::forward<ProvinceT>(value)); return *this;}
136
138
141 inline const Aws::String& GetCountry() const { return m_country; }
142 inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; }
143 template<typename CountryT = Aws::String>
144 void SetCountry(CountryT&& value) { m_countryHasBeenSet = true; m_country = std::forward<CountryT>(value); }
145 template<typename CountryT = Aws::String>
146 UpdateAddress& WithCountry(CountryT&& value) { SetCountry(std::forward<CountryT>(value)); return *this;}
148
150
153 inline const Aws::String& GetPostalCode() const { return m_postalCode; }
154 inline bool PostalCodeHasBeenSet() const { return m_postalCodeHasBeenSet; }
155 template<typename PostalCodeT = Aws::String>
156 void SetPostalCode(PostalCodeT&& value) { m_postalCodeHasBeenSet = true; m_postalCode = std::forward<PostalCodeT>(value); }
157 template<typename PostalCodeT = Aws::String>
158 UpdateAddress& WithPostalCode(PostalCodeT&& value) { SetPostalCode(std::forward<PostalCodeT>(value)); return *this;}
160 private:
161
162 Aws::String m_address1;
163 bool m_address1HasBeenSet = false;
164
165 Aws::String m_address2;
166 bool m_address2HasBeenSet = false;
167
168 Aws::String m_address3;
169 bool m_address3HasBeenSet = false;
170
171 Aws::String m_address4;
172 bool m_address4HasBeenSet = false;
173
174 Aws::String m_city;
175 bool m_cityHasBeenSet = false;
176
177 Aws::String m_county;
178 bool m_countyHasBeenSet = false;
179
180 Aws::String m_state;
181 bool m_stateHasBeenSet = false;
182
183 Aws::String m_province;
184 bool m_provinceHasBeenSet = false;
185
186 Aws::String m_country;
187 bool m_countryHasBeenSet = false;
188
189 Aws::String m_postalCode;
190 bool m_postalCodeHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace CustomerProfiles
195} // namespace Aws
AWS_CUSTOMERPROFILES_API UpdateAddress & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateAddress & WithAddress2(Address2T &&value)
const Aws::String & GetAddress2() const
AWS_CUSTOMERPROFILES_API UpdateAddress()=default
const Aws::String & GetAddress4() const
UpdateAddress & WithCounty(CountyT &&value)
UpdateAddress & WithAddress3(Address3T &&value)
const Aws::String & GetAddress3() const
UpdateAddress & WithCountry(CountryT &&value)
AWS_CUSTOMERPROFILES_API UpdateAddress(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateAddress & WithAddress4(Address4T &&value)
UpdateAddress & WithCity(CityT &&value)
const Aws::String & GetPostalCode() const
UpdateAddress & WithProvince(ProvinceT &&value)
const Aws::String & GetAddress1() const
UpdateAddress & WithAddress1(Address1T &&value)
UpdateAddress & WithPostalCode(PostalCodeT &&value)
const Aws::String & GetProvince() const
UpdateAddress & WithState(StateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue