7#include <aws/snowball/Snowball_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/snowball/model/AddressType.h>
51 template<
typename AddressIdT = Aws::String>
52 void SetAddressId(AddressIdT&& value) { m_addressIdHasBeenSet =
true; m_addressId = std::forward<AddressIdT>(value); }
53 template<
typename AddressIdT = Aws::String>
63 template<
typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
65 template<
typename NameT = Aws::String>
75 template<
typename CompanyT = Aws::String>
76 void SetCompany(CompanyT&& value) { m_companyHasBeenSet =
true; m_company = std::forward<CompanyT>(value); }
77 template<
typename CompanyT = Aws::String>
88 template<
typename Street1T = Aws::String>
89 void SetStreet1(Street1T&& value) { m_street1HasBeenSet =
true; m_street1 = std::forward<Street1T>(value); }
90 template<
typename Street1T = Aws::String>
101 template<
typename Street2T = Aws::String>
102 void SetStreet2(Street2T&& value) { m_street2HasBeenSet =
true; m_street2 = std::forward<Street2T>(value); }
103 template<
typename Street2T = Aws::String>
114 template<
typename Street3T = Aws::String>
115 void SetStreet3(Street3T&& value) { m_street3HasBeenSet =
true; m_street3 = std::forward<Street3T>(value); }
116 template<
typename Street3T = Aws::String>
126 template<
typename CityT = Aws::String>
127 void SetCity(CityT&& value) { m_cityHasBeenSet =
true; m_city = std::forward<CityT>(value); }
128 template<
typename CityT = Aws::String>
139 template<
typename StateOrProvinceT = Aws::String>
140 void SetStateOrProvince(StateOrProvinceT&& value) { m_stateOrProvinceHasBeenSet =
true; m_stateOrProvince = std::forward<StateOrProvinceT>(value); }
141 template<
typename StateOrProvinceT = Aws::String>
151 template<
typename PrefectureOrDistrictT = Aws::String>
152 void SetPrefectureOrDistrict(PrefectureOrDistrictT&& value) { m_prefectureOrDistrictHasBeenSet =
true; m_prefectureOrDistrict = std::forward<PrefectureOrDistrictT>(value); }
153 template<
typename PrefectureOrDistrictT = Aws::String>
163 template<
typename LandmarkT = Aws::String>
164 void SetLandmark(LandmarkT&& value) { m_landmarkHasBeenSet =
true; m_landmark = std::forward<LandmarkT>(value); }
165 template<
typename LandmarkT = Aws::String>
175 template<
typename CountryT = Aws::String>
176 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
177 template<
typename CountryT = Aws::String>
187 template<
typename PostalCodeT = Aws::String>
188 void SetPostalCode(PostalCodeT&& value) { m_postalCodeHasBeenSet =
true; m_postalCode = std::forward<PostalCodeT>(value); }
189 template<
typename PostalCodeT = Aws::String>
200 template<
typename PhoneNumberT = Aws::String>
201 void SetPhoneNumber(PhoneNumberT&& value) { m_phoneNumberHasBeenSet =
true; m_phoneNumber = std::forward<PhoneNumberT>(value); }
202 template<
typename PhoneNumberT = Aws::String>
213 inline void SetIsRestricted(
bool value) { m_isRestrictedHasBeenSet =
true; m_isRestricted = value; }
230 bool m_addressIdHasBeenSet =
false;
233 bool m_nameHasBeenSet =
false;
236 bool m_companyHasBeenSet =
false;
239 bool m_street1HasBeenSet =
false;
242 bool m_street2HasBeenSet =
false;
245 bool m_street3HasBeenSet =
false;
248 bool m_cityHasBeenSet =
false;
251 bool m_stateOrProvinceHasBeenSet =
false;
254 bool m_prefectureOrDistrictHasBeenSet =
false;
257 bool m_landmarkHasBeenSet =
false;
260 bool m_countryHasBeenSet =
false;
263 bool m_postalCodeHasBeenSet =
false;
266 bool m_phoneNumberHasBeenSet =
false;
268 bool m_isRestricted{
false};
269 bool m_isRestrictedHasBeenSet =
false;
272 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