/**
* 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 city for this address.
*/ inline const Aws::String& GetCity() const{ return m_city; } /** *The city for this address.
*/ inline bool CityHasBeenSet() const { return m_cityHasBeenSet; } /** *The city for this address.
*/ inline void SetCity(const Aws::String& value) { m_cityHasBeenSet = true; m_city = value; } /** *The city for this address.
*/ inline void SetCity(Aws::String&& value) { m_cityHasBeenSet = true; m_city = std::move(value); } /** *The city for this address.
*/ inline void SetCity(const char* value) { m_cityHasBeenSet = true; m_city.assign(value); } /** *The city for this address.
*/ inline Address& WithCity(const Aws::String& value) { SetCity(value); return *this;} /** *The city for this address.
*/ inline Address& WithCity(Aws::String&& value) { SetCity(std::move(value)); return *this;} /** *The city for this address.
*/ inline Address& WithCity(const char* value) { SetCity(value); return *this;} /** *The company name for this address.
*/ inline const Aws::String& GetCompany() const{ return m_company; } /** *The company name for this address.
*/ inline bool CompanyHasBeenSet() const { return m_companyHasBeenSet; } /** *The company name for this address.
*/ inline void SetCompany(const Aws::String& value) { m_companyHasBeenSet = true; m_company = value; } /** *The company name for this address.
*/ inline void SetCompany(Aws::String&& value) { m_companyHasBeenSet = true; m_company = std::move(value); } /** *The company name for this address.
*/ inline void SetCompany(const char* value) { m_companyHasBeenSet = true; m_company.assign(value); } /** *The company name for this address.
*/ inline Address& WithCompany(const Aws::String& value) { SetCompany(value); return *this;} /** *The company name for this address.
*/ inline Address& WithCompany(Aws::String&& value) { SetCompany(std::move(value)); return *this;} /** *The company name for this address.
*/ inline Address& WithCompany(const char* value) { SetCompany(value); return *this;} /** *The country for this address.
*/ inline const Aws::String& GetCountry() const{ return m_country; } /** *The country for this address.
*/ inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; } /** *The country for this address.
*/ inline void SetCountry(const Aws::String& value) { m_countryHasBeenSet = true; m_country = value; } /** *The country for this address.
*/ inline void SetCountry(Aws::String&& value) { m_countryHasBeenSet = true; m_country = std::move(value); } /** *The country for this address.
*/ inline void SetCountry(const char* value) { m_countryHasBeenSet = true; m_country.assign(value); } /** *The country for this address.
*/ inline Address& WithCountry(const Aws::String& value) { SetCountry(value); return *this;} /** *The country for this address.
*/ inline Address& WithCountry(Aws::String&& value) { SetCountry(std::move(value)); return *this;} /** *The country for this address.
*/ inline Address& WithCountry(const char* value) { SetCountry(value); return *this;} /** *The recipient's email address.
*/ inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; } /** *The recipient's email address.
*/ inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; } /** *The recipient's email address.
*/ inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; } /** *The recipient's email address.
*/ inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); } /** *The recipient's email address.
*/ inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); } /** *The recipient's email address.
*/ inline Address& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;} /** *The recipient's email address.
*/ inline Address& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;} /** *The recipient's email address.
*/ inline Address& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;} /** *The recipient's name for this address.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The recipient's name for this address.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The recipient's name for this address.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The recipient's name for this address.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The recipient's name for this address.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The recipient's name for this address.
*/ inline Address& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The recipient's name for this address.
*/ inline Address& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The recipient's name for this address.
*/ inline Address& WithName(const char* value) { SetName(value); return *this;} /** *The recipient's phone number.
*/ inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; } /** *The recipient's phone number.
*/ inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; } /** *The recipient's phone number.
*/ inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; } /** *The recipient's phone number.
*/ inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); } /** *The recipient's phone number.
*/ inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); } /** *The recipient's phone number.
*/ inline Address& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;} /** *The recipient's phone number.
*/ inline Address& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;} /** *The recipient's phone number.
*/ inline Address& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;} /** *The postal code for this address.
*/ inline const Aws::String& GetPostalCode() const{ return m_postalCode; } /** *The postal code for this address.
*/ inline bool PostalCodeHasBeenSet() const { return m_postalCodeHasBeenSet; } /** *The postal code for this address.
*/ inline void SetPostalCode(const Aws::String& value) { m_postalCodeHasBeenSet = true; m_postalCode = value; } /** *The postal code for this address.
*/ inline void SetPostalCode(Aws::String&& value) { m_postalCodeHasBeenSet = true; m_postalCode = std::move(value); } /** *The postal code for this address.
*/ inline void SetPostalCode(const char* value) { m_postalCodeHasBeenSet = true; m_postalCode.assign(value); } /** *The postal code for this address.
*/ inline Address& WithPostalCode(const Aws::String& value) { SetPostalCode(value); return *this;} /** *The postal code for this address.
*/ inline Address& WithPostalCode(Aws::String&& value) { SetPostalCode(std::move(value)); return *this;} /** *The postal code for this address.
*/ inline Address& WithPostalCode(const char* value) { SetPostalCode(value); return *this;} /** *The state or province for this address.
*/ inline const Aws::String& GetStateOrProvince() const{ return m_stateOrProvince; } /** *The state or province for this address.
*/ inline bool StateOrProvinceHasBeenSet() const { return m_stateOrProvinceHasBeenSet; } /** *The state or province for this address.
*/ inline void SetStateOrProvince(const Aws::String& value) { m_stateOrProvinceHasBeenSet = true; m_stateOrProvince = value; } /** *The state or province for this address.
*/ inline void SetStateOrProvince(Aws::String&& value) { m_stateOrProvinceHasBeenSet = true; m_stateOrProvince = std::move(value); } /** *The state or province for this address.
*/ inline void SetStateOrProvince(const char* value) { m_stateOrProvinceHasBeenSet = true; m_stateOrProvince.assign(value); } /** *The state or province for this address.
*/ inline Address& WithStateOrProvince(const Aws::String& value) { SetStateOrProvince(value); return *this;} /** *The state or province for this address.
*/ inline Address& WithStateOrProvince(Aws::String&& value) { SetStateOrProvince(std::move(value)); return *this;} /** *The state or province for this address.
*/ inline Address& WithStateOrProvince(const char* value) { SetStateOrProvince(value); return *this;} /** *The first line of the street address.
*/ inline const Aws::String& GetStreet1() const{ return m_street1; } /** *The first line of the street address.
*/ inline bool Street1HasBeenSet() const { return m_street1HasBeenSet; } /** *The first line of the street address.
*/ inline void SetStreet1(const Aws::String& value) { m_street1HasBeenSet = true; m_street1 = value; } /** *The first line of the street address.
*/ inline void SetStreet1(Aws::String&& value) { m_street1HasBeenSet = true; m_street1 = std::move(value); } /** *The first line of the street address.
*/ inline void SetStreet1(const char* value) { m_street1HasBeenSet = true; m_street1.assign(value); } /** *The first line of the street address.
*/ inline Address& WithStreet1(const Aws::String& value) { SetStreet1(value); return *this;} /** *The first line of the street address.
*/ inline Address& WithStreet1(Aws::String&& value) { SetStreet1(std::move(value)); return *this;} /** *The first line of the street address.
*/ inline Address& WithStreet1(const char* value) { SetStreet1(value); return *this;} /** *The second line of the street address.
*/ inline const Aws::String& GetStreet2() const{ return m_street2; } /** *The second line of the street address.
*/ inline bool Street2HasBeenSet() const { return m_street2HasBeenSet; } /** *The second line of the street address.
*/ inline void SetStreet2(const Aws::String& value) { m_street2HasBeenSet = true; m_street2 = value; } /** *The second line of the street address.
*/ inline void SetStreet2(Aws::String&& value) { m_street2HasBeenSet = true; m_street2 = std::move(value); } /** *The second line of the street address.
*/ inline void SetStreet2(const char* value) { m_street2HasBeenSet = true; m_street2.assign(value); } /** *The second line of the street address.
*/ inline Address& WithStreet2(const Aws::String& value) { SetStreet2(value); return *this;} /** *The second line of the street address.
*/ inline Address& WithStreet2(Aws::String&& value) { SetStreet2(std::move(value)); return *this;} /** *The second line of the street address.
*/ inline Address& WithStreet2(const char* value) { SetStreet2(value); return *this;} /** *The third line of the street address.
*/ inline const Aws::String& GetStreet3() const{ return m_street3; } /** *The third line of the street address.
*/ inline bool Street3HasBeenSet() const { return m_street3HasBeenSet; } /** *The third line of the street address.
*/ inline void SetStreet3(const Aws::String& value) { m_street3HasBeenSet = true; m_street3 = value; } /** *The third line of the street address.
*/ inline void SetStreet3(Aws::String&& value) { m_street3HasBeenSet = true; m_street3 = std::move(value); } /** *The third line of the street address.
*/ inline void SetStreet3(const char* value) { m_street3HasBeenSet = true; m_street3.assign(value); } /** *The third line of the street address.
*/ inline Address& WithStreet3(const Aws::String& value) { SetStreet3(value); return *this;} /** *The third line of the street address.
*/ inline Address& WithStreet3(Aws::String&& value) { SetStreet3(std::move(value)); return *this;} /** *The third line of the street address.
*/ inline Address& WithStreet3(const char* value) { SetStreet3(value); return *this;} private: Aws::String m_city; bool m_cityHasBeenSet = false; Aws::String m_company; bool m_companyHasBeenSet = false; Aws::String m_country; bool m_countryHasBeenSet = false; Aws::String m_emailAddress; bool m_emailAddressHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_phoneNumber; bool m_phoneNumberHasBeenSet = false; Aws::String m_postalCode; bool m_postalCodeHasBeenSet = false; Aws::String m_stateOrProvince; bool m_stateOrProvinceHasBeenSet = false; Aws::String m_street1; bool m_street1HasBeenSet = false; Aws::String m_street2; bool m_street2HasBeenSet = false; Aws::String m_street3; bool m_street3HasBeenSet = false; }; } // namespace Model } // namespace PrivateNetworks } // namespace Aws