/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A generic address associated with the customer that is not mailing, shipping,
* or billing.See Also:
AWS
* API Reference
The first line of a customer address.
*/ inline const Aws::String& GetAddress1() const{ return m_address1; } /** *The first line of a customer address.
*/ inline bool Address1HasBeenSet() const { return m_address1HasBeenSet; } /** *The first line of a customer address.
*/ inline void SetAddress1(const Aws::String& value) { m_address1HasBeenSet = true; m_address1 = value; } /** *The first line of a customer address.
*/ inline void SetAddress1(Aws::String&& value) { m_address1HasBeenSet = true; m_address1 = std::move(value); } /** *The first line of a customer address.
*/ inline void SetAddress1(const char* value) { m_address1HasBeenSet = true; m_address1.assign(value); } /** *The first line of a customer address.
*/ inline Address& WithAddress1(const Aws::String& value) { SetAddress1(value); return *this;} /** *The first line of a customer address.
*/ inline Address& WithAddress1(Aws::String&& value) { SetAddress1(std::move(value)); return *this;} /** *The first line of a customer address.
*/ inline Address& WithAddress1(const char* value) { SetAddress1(value); return *this;} /** *The second line of a customer address.
*/ inline const Aws::String& GetAddress2() const{ return m_address2; } /** *The second line of a customer address.
*/ inline bool Address2HasBeenSet() const { return m_address2HasBeenSet; } /** *The second line of a customer address.
*/ inline void SetAddress2(const Aws::String& value) { m_address2HasBeenSet = true; m_address2 = value; } /** *The second line of a customer address.
*/ inline void SetAddress2(Aws::String&& value) { m_address2HasBeenSet = true; m_address2 = std::move(value); } /** *The second line of a customer address.
*/ inline void SetAddress2(const char* value) { m_address2HasBeenSet = true; m_address2.assign(value); } /** *The second line of a customer address.
*/ inline Address& WithAddress2(const Aws::String& value) { SetAddress2(value); return *this;} /** *The second line of a customer address.
*/ inline Address& WithAddress2(Aws::String&& value) { SetAddress2(std::move(value)); return *this;} /** *The second line of a customer address.
*/ inline Address& WithAddress2(const char* value) { SetAddress2(value); return *this;} /** *The third line of a customer address.
*/ inline const Aws::String& GetAddress3() const{ return m_address3; } /** *The third line of a customer address.
*/ inline bool Address3HasBeenSet() const { return m_address3HasBeenSet; } /** *The third line of a customer address.
*/ inline void SetAddress3(const Aws::String& value) { m_address3HasBeenSet = true; m_address3 = value; } /** *The third line of a customer address.
*/ inline void SetAddress3(Aws::String&& value) { m_address3HasBeenSet = true; m_address3 = std::move(value); } /** *The third line of a customer address.
*/ inline void SetAddress3(const char* value) { m_address3HasBeenSet = true; m_address3.assign(value); } /** *The third line of a customer address.
*/ inline Address& WithAddress3(const Aws::String& value) { SetAddress3(value); return *this;} /** *The third line of a customer address.
*/ inline Address& WithAddress3(Aws::String&& value) { SetAddress3(std::move(value)); return *this;} /** *The third line of a customer address.
*/ inline Address& WithAddress3(const char* value) { SetAddress3(value); return *this;} /** *The fourth line of a customer address.
*/ inline const Aws::String& GetAddress4() const{ return m_address4; } /** *The fourth line of a customer address.
*/ inline bool Address4HasBeenSet() const { return m_address4HasBeenSet; } /** *The fourth line of a customer address.
*/ inline void SetAddress4(const Aws::String& value) { m_address4HasBeenSet = true; m_address4 = value; } /** *The fourth line of a customer address.
*/ inline void SetAddress4(Aws::String&& value) { m_address4HasBeenSet = true; m_address4 = std::move(value); } /** *The fourth line of a customer address.
*/ inline void SetAddress4(const char* value) { m_address4HasBeenSet = true; m_address4.assign(value); } /** *The fourth line of a customer address.
*/ inline Address& WithAddress4(const Aws::String& value) { SetAddress4(value); return *this;} /** *The fourth line of a customer address.
*/ inline Address& WithAddress4(Aws::String&& value) { SetAddress4(std::move(value)); return *this;} /** *The fourth line of a customer address.
*/ inline Address& WithAddress4(const char* value) { SetAddress4(value); return *this;} /** *The city in which a customer lives.
*/ inline const Aws::String& GetCity() const{ return m_city; } /** *The city in which a customer lives.
*/ inline bool CityHasBeenSet() const { return m_cityHasBeenSet; } /** *The city in which a customer lives.
*/ inline void SetCity(const Aws::String& value) { m_cityHasBeenSet = true; m_city = value; } /** *The city in which a customer lives.
*/ inline void SetCity(Aws::String&& value) { m_cityHasBeenSet = true; m_city = std::move(value); } /** *The city in which a customer lives.
*/ inline void SetCity(const char* value) { m_cityHasBeenSet = true; m_city.assign(value); } /** *The city in which a customer lives.
*/ inline Address& WithCity(const Aws::String& value) { SetCity(value); return *this;} /** *The city in which a customer lives.
*/ inline Address& WithCity(Aws::String&& value) { SetCity(std::move(value)); return *this;} /** *The city in which a customer lives.
*/ inline Address& WithCity(const char* value) { SetCity(value); return *this;} /** *The county in which a customer lives.
*/ inline const Aws::String& GetCounty() const{ return m_county; } /** *The county in which a customer lives.
*/ inline bool CountyHasBeenSet() const { return m_countyHasBeenSet; } /** *The county in which a customer lives.
*/ inline void SetCounty(const Aws::String& value) { m_countyHasBeenSet = true; m_county = value; } /** *The county in which a customer lives.
*/ inline void SetCounty(Aws::String&& value) { m_countyHasBeenSet = true; m_county = std::move(value); } /** *The county in which a customer lives.
*/ inline void SetCounty(const char* value) { m_countyHasBeenSet = true; m_county.assign(value); } /** *The county in which a customer lives.
*/ inline Address& WithCounty(const Aws::String& value) { SetCounty(value); return *this;} /** *The county in which a customer lives.
*/ inline Address& WithCounty(Aws::String&& value) { SetCounty(std::move(value)); return *this;} /** *The county in which a customer lives.
*/ inline Address& WithCounty(const char* value) { SetCounty(value); return *this;} /** *The state in which a customer lives.
*/ inline const Aws::String& GetState() const{ return m_state; } /** *The state in which a customer lives.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state in which a customer lives.
*/ inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state in which a customer lives.
*/ inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state in which a customer lives.
*/ inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); } /** *The state in which a customer lives.
*/ inline Address& WithState(const Aws::String& value) { SetState(value); return *this;} /** *The state in which a customer lives.
*/ inline Address& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;} /** *The state in which a customer lives.
*/ inline Address& WithState(const char* value) { SetState(value); return *this;} /** *The province in which a customer lives.
*/ inline const Aws::String& GetProvince() const{ return m_province; } /** *The province in which a customer lives.
*/ inline bool ProvinceHasBeenSet() const { return m_provinceHasBeenSet; } /** *The province in which a customer lives.
*/ inline void SetProvince(const Aws::String& value) { m_provinceHasBeenSet = true; m_province = value; } /** *The province in which a customer lives.
*/ inline void SetProvince(Aws::String&& value) { m_provinceHasBeenSet = true; m_province = std::move(value); } /** *The province in which a customer lives.
*/ inline void SetProvince(const char* value) { m_provinceHasBeenSet = true; m_province.assign(value); } /** *The province in which a customer lives.
*/ inline Address& WithProvince(const Aws::String& value) { SetProvince(value); return *this;} /** *The province in which a customer lives.
*/ inline Address& WithProvince(Aws::String&& value) { SetProvince(std::move(value)); return *this;} /** *The province in which a customer lives.
*/ inline Address& WithProvince(const char* value) { SetProvince(value); return *this;} /** *The country in which a customer lives.
*/ inline const Aws::String& GetCountry() const{ return m_country; } /** *The country in which a customer lives.
*/ inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; } /** *The country in which a customer lives.
*/ inline void SetCountry(const Aws::String& value) { m_countryHasBeenSet = true; m_country = value; } /** *The country in which a customer lives.
*/ inline void SetCountry(Aws::String&& value) { m_countryHasBeenSet = true; m_country = std::move(value); } /** *The country in which a customer lives.
*/ inline void SetCountry(const char* value) { m_countryHasBeenSet = true; m_country.assign(value); } /** *The country in which a customer lives.
*/ inline Address& WithCountry(const Aws::String& value) { SetCountry(value); return *this;} /** *The country in which a customer lives.
*/ inline Address& WithCountry(Aws::String&& value) { SetCountry(std::move(value)); return *this;} /** *The country in which a customer lives.
*/ inline Address& WithCountry(const char* value) { SetCountry(value); return *this;} /** *The postal code of a customer address.
*/ inline const Aws::String& GetPostalCode() const{ return m_postalCode; } /** *The postal code of a customer address.
*/ inline bool PostalCodeHasBeenSet() const { return m_postalCodeHasBeenSet; } /** *The postal code of a customer address.
*/ inline void SetPostalCode(const Aws::String& value) { m_postalCodeHasBeenSet = true; m_postalCode = value; } /** *The postal code of a customer address.
*/ inline void SetPostalCode(Aws::String&& value) { m_postalCodeHasBeenSet = true; m_postalCode = std::move(value); } /** *The postal code of a customer address.
*/ inline void SetPostalCode(const char* value) { m_postalCodeHasBeenSet = true; m_postalCode.assign(value); } /** *The postal code of a customer address.
*/ inline Address& WithPostalCode(const Aws::String& value) { SetPostalCode(value); return *this;} /** *The postal code of a customer address.
*/ inline Address& WithPostalCode(Aws::String&& value) { SetPostalCode(std::move(value)); return *this;} /** *The postal code of a customer address.
*/ inline Address& WithPostalCode(const char* value) { SetPostalCode(value); return *this;} private: Aws::String m_address1; bool m_address1HasBeenSet = false; Aws::String m_address2; bool m_address2HasBeenSet = false; Aws::String m_address3; bool m_address3HasBeenSet = false; Aws::String m_address4; bool m_address4HasBeenSet = false; Aws::String m_city; bool m_cityHasBeenSet = false; Aws::String m_county; bool m_countyHasBeenSet = false; Aws::String m_state; bool m_stateHasBeenSet = false; Aws::String m_province; bool m_provinceHasBeenSet = false; Aws::String m_country; bool m_countryHasBeenSet = false; Aws::String m_postalCode; bool m_postalCodeHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws