/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A suggested address.See Also:
AWS
* API Reference
The street information of a candidate address
*/ inline const Aws::String& GetStreetInfo() const{ return m_streetInfo; } /** *The street information of a candidate address
*/ inline bool StreetInfoHasBeenSet() const { return m_streetInfoHasBeenSet; } /** *The street information of a candidate address
*/ inline void SetStreetInfo(const Aws::String& value) { m_streetInfoHasBeenSet = true; m_streetInfo = value; } /** *The street information of a candidate address
*/ inline void SetStreetInfo(Aws::String&& value) { m_streetInfoHasBeenSet = true; m_streetInfo = std::move(value); } /** *The street information of a candidate address
*/ inline void SetStreetInfo(const char* value) { m_streetInfoHasBeenSet = true; m_streetInfo.assign(value); } /** *The street information of a candidate address
*/ inline CandidateAddress& WithStreetInfo(const Aws::String& value) { SetStreetInfo(value); return *this;} /** *The street information of a candidate address
*/ inline CandidateAddress& WithStreetInfo(Aws::String&& value) { SetStreetInfo(std::move(value)); return *this;} /** *The street information of a candidate address
*/ inline CandidateAddress& WithStreetInfo(const char* value) { SetStreetInfo(value); return *this;} /** *The numeric portion of a candidate address.
*/ inline const Aws::String& GetStreetNumber() const{ return m_streetNumber; } /** *The numeric portion of a candidate address.
*/ inline bool StreetNumberHasBeenSet() const { return m_streetNumberHasBeenSet; } /** *The numeric portion of a candidate address.
*/ inline void SetStreetNumber(const Aws::String& value) { m_streetNumberHasBeenSet = true; m_streetNumber = value; } /** *The numeric portion of a candidate address.
*/ inline void SetStreetNumber(Aws::String&& value) { m_streetNumberHasBeenSet = true; m_streetNumber = std::move(value); } /** *The numeric portion of a candidate address.
*/ inline void SetStreetNumber(const char* value) { m_streetNumberHasBeenSet = true; m_streetNumber.assign(value); } /** *The numeric portion of a candidate address.
*/ inline CandidateAddress& WithStreetNumber(const Aws::String& value) { SetStreetNumber(value); return *this;} /** *The numeric portion of a candidate address.
*/ inline CandidateAddress& WithStreetNumber(Aws::String&& value) { SetStreetNumber(std::move(value)); return *this;} /** *The numeric portion of a candidate address.
*/ inline CandidateAddress& WithStreetNumber(const char* value) { SetStreetNumber(value); return *this;} /** *The city of a candidate address.
*/ inline const Aws::String& GetCity() const{ return m_city; } /** *The city of a candidate address.
*/ inline bool CityHasBeenSet() const { return m_cityHasBeenSet; } /** *The city of a candidate address.
*/ inline void SetCity(const Aws::String& value) { m_cityHasBeenSet = true; m_city = value; } /** *The city of a candidate address.
*/ inline void SetCity(Aws::String&& value) { m_cityHasBeenSet = true; m_city = std::move(value); } /** *The city of a candidate address.
*/ inline void SetCity(const char* value) { m_cityHasBeenSet = true; m_city.assign(value); } /** *The city of a candidate address.
*/ inline CandidateAddress& WithCity(const Aws::String& value) { SetCity(value); return *this;} /** *The city of a candidate address.
*/ inline CandidateAddress& WithCity(Aws::String&& value) { SetCity(std::move(value)); return *this;} /** *The city of a candidate address.
*/ inline CandidateAddress& WithCity(const char* value) { SetCity(value); return *this;} /** *The state of a candidate address.
*/ inline const Aws::String& GetState() const{ return m_state; } /** *The state of a candidate address.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of a candidate address.
*/ inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of a candidate address.
*/ inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of a candidate address.
*/ inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); } /** *The state of a candidate address.
*/ inline CandidateAddress& WithState(const Aws::String& value) { SetState(value); return *this;} /** *The state of a candidate address.
*/ inline CandidateAddress& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;} /** *The state of a candidate address.
*/ inline CandidateAddress& WithState(const char* value) { SetState(value); return *this;} /** *The postal code of a candidate address.
*/ inline const Aws::String& GetPostalCode() const{ return m_postalCode; } /** *The postal code of a candidate address.
*/ inline bool PostalCodeHasBeenSet() const { return m_postalCodeHasBeenSet; } /** *The postal code of a candidate address.
*/ inline void SetPostalCode(const Aws::String& value) { m_postalCodeHasBeenSet = true; m_postalCode = value; } /** *The postal code of a candidate address.
*/ inline void SetPostalCode(Aws::String&& value) { m_postalCodeHasBeenSet = true; m_postalCode = std::move(value); } /** *The postal code of a candidate address.
*/ inline void SetPostalCode(const char* value) { m_postalCodeHasBeenSet = true; m_postalCode.assign(value); } /** *The postal code of a candidate address.
*/ inline CandidateAddress& WithPostalCode(const Aws::String& value) { SetPostalCode(value); return *this;} /** *The postal code of a candidate address.
*/ inline CandidateAddress& WithPostalCode(Aws::String&& value) { SetPostalCode(std::move(value)); return *this;} /** *The postal code of a candidate address.
*/ inline CandidateAddress& WithPostalCode(const char* value) { SetPostalCode(value); return *this;} /** *The Zip + 4 or postal code + 4 of a candidate address.
*/ inline const Aws::String& GetPostalCodePlus4() const{ return m_postalCodePlus4; } /** *The Zip + 4 or postal code + 4 of a candidate address.
*/ inline bool PostalCodePlus4HasBeenSet() const { return m_postalCodePlus4HasBeenSet; } /** *The Zip + 4 or postal code + 4 of a candidate address.
*/ inline void SetPostalCodePlus4(const Aws::String& value) { m_postalCodePlus4HasBeenSet = true; m_postalCodePlus4 = value; } /** *The Zip + 4 or postal code + 4 of a candidate address.
*/ inline void SetPostalCodePlus4(Aws::String&& value) { m_postalCodePlus4HasBeenSet = true; m_postalCodePlus4 = std::move(value); } /** *The Zip + 4 or postal code + 4 of a candidate address.
*/ inline void SetPostalCodePlus4(const char* value) { m_postalCodePlus4HasBeenSet = true; m_postalCodePlus4.assign(value); } /** *The Zip + 4 or postal code + 4 of a candidate address.
*/ inline CandidateAddress& WithPostalCodePlus4(const Aws::String& value) { SetPostalCodePlus4(value); return *this;} /** *The Zip + 4 or postal code + 4 of a candidate address.
*/ inline CandidateAddress& WithPostalCodePlus4(Aws::String&& value) { SetPostalCodePlus4(std::move(value)); return *this;} /** *The Zip + 4 or postal code + 4 of a candidate address.
*/ inline CandidateAddress& WithPostalCodePlus4(const char* value) { SetPostalCodePlus4(value); return *this;} /** *The country of a candidate address.
*/ inline const Aws::String& GetCountry() const{ return m_country; } /** *The country of a candidate address.
*/ inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; } /** *The country of a candidate address.
*/ inline void SetCountry(const Aws::String& value) { m_countryHasBeenSet = true; m_country = value; } /** *The country of a candidate address.
*/ inline void SetCountry(Aws::String&& value) { m_countryHasBeenSet = true; m_country = std::move(value); } /** *The country of a candidate address.
*/ inline void SetCountry(const char* value) { m_countryHasBeenSet = true; m_country.assign(value); } /** *The country of a candidate address.
*/ inline CandidateAddress& WithCountry(const Aws::String& value) { SetCountry(value); return *this;} /** *The country of a candidate address.
*/ inline CandidateAddress& WithCountry(Aws::String&& value) { SetCountry(std::move(value)); return *this;} /** *The country of a candidate address.
*/ inline CandidateAddress& WithCountry(const char* value) { SetCountry(value); return *this;} private: Aws::String m_streetInfo; bool m_streetInfoHasBeenSet = false; Aws::String m_streetNumber; bool m_streetNumberHasBeenSet = false; Aws::String m_city; bool m_cityHasBeenSet = false; Aws::String m_state; bool m_stateHasBeenSet = false; Aws::String m_postalCode; bool m_postalCodeHasBeenSet = false; Aws::String m_postalCodePlus4; bool m_postalCodePlus4HasBeenSet = false; Aws::String m_country; bool m_countryHasBeenSet = false; }; } // namespace Model } // namespace Chime } // namespace Aws