7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/snowball/Snowball_EXPORTS.h>
9#include <aws/snowball/model/AddressType.h>
45 template <
typename AddressIdT = Aws::String>
47 m_addressIdHasBeenSet =
true;
48 m_addressId = std::forward<AddressIdT>(value);
50 template <
typename AddressIdT = Aws::String>
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
81 template <
typename CompanyT = Aws::String>
83 m_companyHasBeenSet =
true;
84 m_company = std::forward<CompanyT>(value);
86 template <
typename CompanyT = Aws::String>
100 template <
typename Street1T = Aws::String>
102 m_street1HasBeenSet =
true;
103 m_street1 = std::forward<Street1T>(value);
105 template <
typename Street1T = Aws::String>
119 template <
typename Street2T = Aws::String>
121 m_street2HasBeenSet =
true;
122 m_street2 = std::forward<Street2T>(value);
124 template <
typename Street2T = Aws::String>
138 template <
typename Street3T = Aws::String>
140 m_street3HasBeenSet =
true;
141 m_street3 = std::forward<Street3T>(value);
143 template <
typename Street3T = Aws::String>
156 template <
typename CityT = Aws::String>
158 m_cityHasBeenSet =
true;
159 m_city = std::forward<CityT>(value);
161 template <
typename CityT = Aws::String>
163 SetCity(std::forward<CityT>(value));
175 template <
typename StateOrProvinceT = Aws::String>
177 m_stateOrProvinceHasBeenSet =
true;
178 m_stateOrProvince = std::forward<StateOrProvinceT>(value);
180 template <
typename StateOrProvinceT = Aws::String>
193 template <
typename PrefectureOrDistrictT = Aws::String>
195 m_prefectureOrDistrictHasBeenSet =
true;
196 m_prefectureOrDistrict = std::forward<PrefectureOrDistrictT>(value);
198 template <
typename PrefectureOrDistrictT = Aws::String>
211 template <
typename LandmarkT = Aws::String>
213 m_landmarkHasBeenSet =
true;
214 m_landmark = std::forward<LandmarkT>(value);
216 template <
typename LandmarkT = Aws::String>
229 template <
typename CountryT = Aws::String>
231 m_countryHasBeenSet =
true;
232 m_country = std::forward<CountryT>(value);
234 template <
typename CountryT = Aws::String>
247 template <
typename PostalCodeT = Aws::String>
249 m_postalCodeHasBeenSet =
true;
250 m_postalCode = std::forward<PostalCodeT>(value);
252 template <
typename PostalCodeT = Aws::String>
266 template <
typename PhoneNumberT = Aws::String>
268 m_phoneNumberHasBeenSet =
true;
269 m_phoneNumber = std::forward<PhoneNumberT>(value);
271 template <
typename PhoneNumberT = Aws::String>
286 m_isRestrictedHasBeenSet =
true;
287 m_isRestricted = value;
303 m_typeHasBeenSet =
true;
338 bool m_isRestricted{
false};
341 bool m_addressIdHasBeenSet =
false;
342 bool m_nameHasBeenSet =
false;
343 bool m_companyHasBeenSet =
false;
344 bool m_street1HasBeenSet =
false;
345 bool m_street2HasBeenSet =
false;
346 bool m_street3HasBeenSet =
false;
347 bool m_cityHasBeenSet =
false;
348 bool m_stateOrProvinceHasBeenSet =
false;
349 bool m_prefectureOrDistrictHasBeenSet =
false;
350 bool m_landmarkHasBeenSet =
false;
351 bool m_countryHasBeenSet =
false;
352 bool m_postalCodeHasBeenSet =
false;
353 bool m_phoneNumberHasBeenSet =
false;
354 bool m_isRestrictedHasBeenSet =
false;
355 bool m_typeHasBeenSet =
false;
Address & WithType(AddressType value)
Address & WithLandmark(LandmarkT &&value)
Address & WithStreet1(Street1T &&value)
const Aws::String & GetLandmark() const
const Aws::String & GetAddressId() const
Address & WithCompany(CompanyT &&value)
bool StateOrProvinceHasBeenSet() const
void SetStreet1(Street1T &&value)
void SetStreet3(Street3T &&value)
AddressType GetType() const
AWS_SNOWBALL_API Address & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
bool TypeHasBeenSet() const
bool AddressIdHasBeenSet() const
const Aws::String & GetStreet2() const
Address & WithStateOrProvince(StateOrProvinceT &&value)
Address & WithAddressId(AddressIdT &&value)
const Aws::String & GetCity() const
void SetPostalCode(PostalCodeT &&value)
const Aws::String & GetPhoneNumber() const
bool Street3HasBeenSet() const
void SetPhoneNumber(PhoneNumberT &&value)
Address & WithPostalCode(PostalCodeT &&value)
AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCountry() const
const Aws::String & GetPrefectureOrDistrict() const
void SetIsRestricted(bool value)
AWS_SNOWBALL_API Address()=default
Address & WithName(NameT &&value)
void SetCity(CityT &&value)
bool CityHasBeenSet() const
Address & WithIsRestricted(bool value)
void SetCountry(CountryT &&value)
bool IsRestrictedHasBeenSet() const
void SetAddressId(AddressIdT &&value)
AWS_SNOWBALL_API Address(Aws::Utils::Json::JsonView jsonValue)
Address & WithPrefectureOrDistrict(PrefectureOrDistrictT &&value)
bool CountryHasBeenSet() const
bool CompanyHasBeenSet() const
const Aws::String & GetStateOrProvince() const
bool PrefectureOrDistrictHasBeenSet() const
void SetStateOrProvince(StateOrProvinceT &&value)
const Aws::String & GetPostalCode() const
const Aws::String & GetName() const
Address & WithCountry(CountryT &&value)
Address & WithPhoneNumber(PhoneNumberT &&value)
void SetType(AddressType value)
void SetCompany(CompanyT &&value)
const Aws::String & GetCompany() const
bool LandmarkHasBeenSet() const
void SetPrefectureOrDistrict(PrefectureOrDistrictT &&value)
bool PostalCodeHasBeenSet() const
bool PhoneNumberHasBeenSet() const
const Aws::String & GetStreet3() const
bool Street1HasBeenSet() const
bool NameHasBeenSet() const
Address & WithStreet2(Street2T &&value)
bool GetIsRestricted() const
const Aws::String & GetStreet1() const
Address & WithStreet3(Street3T &&value)
void SetLandmark(LandmarkT &&value)
bool Street2HasBeenSet() const
void SetStreet2(Street2T &&value)
Address & WithCity(CityT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue