/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an address. See Also:
AWS
* API Reference
The name of the contact.
*/ inline const Aws::String& GetContactName() const{ return m_contactName; } /** *The name of the contact.
*/ inline bool ContactNameHasBeenSet() const { return m_contactNameHasBeenSet; } /** *The name of the contact.
*/ inline void SetContactName(const Aws::String& value) { m_contactNameHasBeenSet = true; m_contactName = value; } /** *The name of the contact.
*/ inline void SetContactName(Aws::String&& value) { m_contactNameHasBeenSet = true; m_contactName = std::move(value); } /** *The name of the contact.
*/ inline void SetContactName(const char* value) { m_contactNameHasBeenSet = true; m_contactName.assign(value); } /** *The name of the contact.
*/ inline Address& WithContactName(const Aws::String& value) { SetContactName(value); return *this;} /** *The name of the contact.
*/ inline Address& WithContactName(Aws::String&& value) { SetContactName(std::move(value)); return *this;} /** *The name of the contact.
*/ inline Address& WithContactName(const char* value) { SetContactName(value); return *this;} /** *The phone number of the contact.
*/ inline const Aws::String& GetContactPhoneNumber() const{ return m_contactPhoneNumber; } /** *The phone number of the contact.
*/ inline bool ContactPhoneNumberHasBeenSet() const { return m_contactPhoneNumberHasBeenSet; } /** *The phone number of the contact.
*/ inline void SetContactPhoneNumber(const Aws::String& value) { m_contactPhoneNumberHasBeenSet = true; m_contactPhoneNumber = value; } /** *The phone number of the contact.
*/ inline void SetContactPhoneNumber(Aws::String&& value) { m_contactPhoneNumberHasBeenSet = true; m_contactPhoneNumber = std::move(value); } /** *The phone number of the contact.
*/ inline void SetContactPhoneNumber(const char* value) { m_contactPhoneNumberHasBeenSet = true; m_contactPhoneNumber.assign(value); } /** *The phone number of the contact.
*/ inline Address& WithContactPhoneNumber(const Aws::String& value) { SetContactPhoneNumber(value); return *this;} /** *The phone number of the contact.
*/ inline Address& WithContactPhoneNumber(Aws::String&& value) { SetContactPhoneNumber(std::move(value)); return *this;} /** *The phone number of the contact.
*/ inline Address& WithContactPhoneNumber(const char* value) { SetContactPhoneNumber(value); return *this;} /** *The first line of the address.
*/ inline const Aws::String& GetAddressLine1() const{ return m_addressLine1; } /** *The first line of the address.
*/ inline bool AddressLine1HasBeenSet() const { return m_addressLine1HasBeenSet; } /** *The first line of the address.
*/ inline void SetAddressLine1(const Aws::String& value) { m_addressLine1HasBeenSet = true; m_addressLine1 = value; } /** *The first line of the address.
*/ inline void SetAddressLine1(Aws::String&& value) { m_addressLine1HasBeenSet = true; m_addressLine1 = std::move(value); } /** *The first line of the address.
*/ inline void SetAddressLine1(const char* value) { m_addressLine1HasBeenSet = true; m_addressLine1.assign(value); } /** *The first line of the address.
*/ inline Address& WithAddressLine1(const Aws::String& value) { SetAddressLine1(value); return *this;} /** *The first line of the address.
*/ inline Address& WithAddressLine1(Aws::String&& value) { SetAddressLine1(std::move(value)); return *this;} /** *The first line of the address.
*/ inline Address& WithAddressLine1(const char* value) { SetAddressLine1(value); return *this;} /** *The second line of the address.
*/ inline const Aws::String& GetAddressLine2() const{ return m_addressLine2; } /** *The second line of the address.
*/ inline bool AddressLine2HasBeenSet() const { return m_addressLine2HasBeenSet; } /** *The second line of the address.
*/ inline void SetAddressLine2(const Aws::String& value) { m_addressLine2HasBeenSet = true; m_addressLine2 = value; } /** *The second line of the address.
*/ inline void SetAddressLine2(Aws::String&& value) { m_addressLine2HasBeenSet = true; m_addressLine2 = std::move(value); } /** *The second line of the address.
*/ inline void SetAddressLine2(const char* value) { m_addressLine2HasBeenSet = true; m_addressLine2.assign(value); } /** *The second line of the address.
*/ inline Address& WithAddressLine2(const Aws::String& value) { SetAddressLine2(value); return *this;} /** *The second line of the address.
*/ inline Address& WithAddressLine2(Aws::String&& value) { SetAddressLine2(std::move(value)); return *this;} /** *The second line of the address.
*/ inline Address& WithAddressLine2(const char* value) { SetAddressLine2(value); return *this;} /** *The third line of the address.
*/ inline const Aws::String& GetAddressLine3() const{ return m_addressLine3; } /** *The third line of the address.
*/ inline bool AddressLine3HasBeenSet() const { return m_addressLine3HasBeenSet; } /** *The third line of the address.
*/ inline void SetAddressLine3(const Aws::String& value) { m_addressLine3HasBeenSet = true; m_addressLine3 = value; } /** *The third line of the address.
*/ inline void SetAddressLine3(Aws::String&& value) { m_addressLine3HasBeenSet = true; m_addressLine3 = std::move(value); } /** *The third line of the address.
*/ inline void SetAddressLine3(const char* value) { m_addressLine3HasBeenSet = true; m_addressLine3.assign(value); } /** *The third line of the address.
*/ inline Address& WithAddressLine3(const Aws::String& value) { SetAddressLine3(value); return *this;} /** *The third line of the address.
*/ inline Address& WithAddressLine3(Aws::String&& value) { SetAddressLine3(std::move(value)); return *this;} /** *The third line of the address.
*/ inline Address& WithAddressLine3(const char* value) { SetAddressLine3(value); return *this;} /** *The city for the address.
*/ inline const Aws::String& GetCity() const{ return m_city; } /** *The city for the address.
*/ inline bool CityHasBeenSet() const { return m_cityHasBeenSet; } /** *The city for the address.
*/ inline void SetCity(const Aws::String& value) { m_cityHasBeenSet = true; m_city = value; } /** *The city for the address.
*/ inline void SetCity(Aws::String&& value) { m_cityHasBeenSet = true; m_city = std::move(value); } /** *The city for the address.
*/ inline void SetCity(const char* value) { m_cityHasBeenSet = true; m_city.assign(value); } /** *The city for the address.
*/ inline Address& WithCity(const Aws::String& value) { SetCity(value); return *this;} /** *The city for the address.
*/ inline Address& WithCity(Aws::String&& value) { SetCity(std::move(value)); return *this;} /** *The city for the address.
*/ inline Address& WithCity(const char* value) { SetCity(value); return *this;} /** *The state for the address.
*/ inline const Aws::String& GetStateOrRegion() const{ return m_stateOrRegion; } /** *The state for the address.
*/ inline bool StateOrRegionHasBeenSet() const { return m_stateOrRegionHasBeenSet; } /** *The state for the address.
*/ inline void SetStateOrRegion(const Aws::String& value) { m_stateOrRegionHasBeenSet = true; m_stateOrRegion = value; } /** *The state for the address.
*/ inline void SetStateOrRegion(Aws::String&& value) { m_stateOrRegionHasBeenSet = true; m_stateOrRegion = std::move(value); } /** *The state for the address.
*/ inline void SetStateOrRegion(const char* value) { m_stateOrRegionHasBeenSet = true; m_stateOrRegion.assign(value); } /** *The state for the address.
*/ inline Address& WithStateOrRegion(const Aws::String& value) { SetStateOrRegion(value); return *this;} /** *The state for the address.
*/ inline Address& WithStateOrRegion(Aws::String&& value) { SetStateOrRegion(std::move(value)); return *this;} /** *The state for the address.
*/ inline Address& WithStateOrRegion(const char* value) { SetStateOrRegion(value); return *this;} /** *The district or county for the address.
*/ inline const Aws::String& GetDistrictOrCounty() const{ return m_districtOrCounty; } /** *The district or county for the address.
*/ inline bool DistrictOrCountyHasBeenSet() const { return m_districtOrCountyHasBeenSet; } /** *The district or county for the address.
*/ inline void SetDistrictOrCounty(const Aws::String& value) { m_districtOrCountyHasBeenSet = true; m_districtOrCounty = value; } /** *The district or county for the address.
*/ inline void SetDistrictOrCounty(Aws::String&& value) { m_districtOrCountyHasBeenSet = true; m_districtOrCounty = std::move(value); } /** *The district or county for the address.
*/ inline void SetDistrictOrCounty(const char* value) { m_districtOrCountyHasBeenSet = true; m_districtOrCounty.assign(value); } /** *The district or county for the address.
*/ inline Address& WithDistrictOrCounty(const Aws::String& value) { SetDistrictOrCounty(value); return *this;} /** *The district or county for the address.
*/ inline Address& WithDistrictOrCounty(Aws::String&& value) { SetDistrictOrCounty(std::move(value)); return *this;} /** *The district or county for the address.
*/ inline Address& WithDistrictOrCounty(const char* value) { SetDistrictOrCounty(value); return *this;} /** *The postal code for the address.
*/ inline const Aws::String& GetPostalCode() const{ return m_postalCode; } /** *The postal code for the address.
*/ inline bool PostalCodeHasBeenSet() const { return m_postalCodeHasBeenSet; } /** *The postal code for the address.
*/ inline void SetPostalCode(const Aws::String& value) { m_postalCodeHasBeenSet = true; m_postalCode = value; } /** *The postal code for the address.
*/ inline void SetPostalCode(Aws::String&& value) { m_postalCodeHasBeenSet = true; m_postalCode = std::move(value); } /** *The postal code for the address.
*/ inline void SetPostalCode(const char* value) { m_postalCodeHasBeenSet = true; m_postalCode.assign(value); } /** *The postal code for the address.
*/ inline Address& WithPostalCode(const Aws::String& value) { SetPostalCode(value); return *this;} /** *The postal code for the address.
*/ inline Address& WithPostalCode(Aws::String&& value) { SetPostalCode(std::move(value)); return *this;} /** *The postal code for the address.
*/ inline Address& WithPostalCode(const char* value) { SetPostalCode(value); return *this;} /** *The ISO-3166 two-letter country code for the address.
*/ inline const Aws::String& GetCountryCode() const{ return m_countryCode; } /** *The ISO-3166 two-letter country code for the address.
*/ inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; } /** *The ISO-3166 two-letter country code for the address.
*/ inline void SetCountryCode(const Aws::String& value) { m_countryCodeHasBeenSet = true; m_countryCode = value; } /** *The ISO-3166 two-letter country code for the address.
*/ inline void SetCountryCode(Aws::String&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::move(value); } /** *The ISO-3166 two-letter country code for the address.
*/ inline void SetCountryCode(const char* value) { m_countryCodeHasBeenSet = true; m_countryCode.assign(value); } /** *The ISO-3166 two-letter country code for the address.
*/ inline Address& WithCountryCode(const Aws::String& value) { SetCountryCode(value); return *this;} /** *The ISO-3166 two-letter country code for the address.
*/ inline Address& WithCountryCode(Aws::String&& value) { SetCountryCode(std::move(value)); return *this;} /** *The ISO-3166 two-letter country code for the address.
*/ inline Address& WithCountryCode(const char* value) { SetCountryCode(value); return *this;} /** *The municipality for the address.
*/ inline const Aws::String& GetMunicipality() const{ return m_municipality; } /** *The municipality for the address.
*/ inline bool MunicipalityHasBeenSet() const { return m_municipalityHasBeenSet; } /** *The municipality for the address.
*/ inline void SetMunicipality(const Aws::String& value) { m_municipalityHasBeenSet = true; m_municipality = value; } /** *The municipality for the address.
*/ inline void SetMunicipality(Aws::String&& value) { m_municipalityHasBeenSet = true; m_municipality = std::move(value); } /** *The municipality for the address.
*/ inline void SetMunicipality(const char* value) { m_municipalityHasBeenSet = true; m_municipality.assign(value); } /** *The municipality for the address.
*/ inline Address& WithMunicipality(const Aws::String& value) { SetMunicipality(value); return *this;} /** *The municipality for the address.
*/ inline Address& WithMunicipality(Aws::String&& value) { SetMunicipality(std::move(value)); return *this;} /** *The municipality for the address.
*/ inline Address& WithMunicipality(const char* value) { SetMunicipality(value); return *this;} private: Aws::String m_contactName; bool m_contactNameHasBeenSet = false; Aws::String m_contactPhoneNumber; bool m_contactPhoneNumberHasBeenSet = false; Aws::String m_addressLine1; bool m_addressLine1HasBeenSet = false; Aws::String m_addressLine2; bool m_addressLine2HasBeenSet = false; Aws::String m_addressLine3; bool m_addressLine3HasBeenSet = false; Aws::String m_city; bool m_cityHasBeenSet = false; Aws::String m_stateOrRegion; bool m_stateOrRegionHasBeenSet = false; Aws::String m_districtOrCounty; bool m_districtOrCountyHasBeenSet = false; Aws::String m_postalCode; bool m_postalCodeHasBeenSet = false; Aws::String m_countryCode; bool m_countryCodeHasBeenSet = false; Aws::String m_municipality; bool m_municipalityHasBeenSet = false; }; } // namespace Model } // namespace Outposts } // namespace Aws