7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
19namespace PartnerCentralSelling {
41 template <
typename CityT = Aws::String>
43 m_cityHasBeenSet =
true;
44 m_city = std::forward<CityT>(value);
46 template <
typename CityT = Aws::String>
48 SetCity(std::forward<CityT>(value));
59 template <
typename PostalCodeT = Aws::String>
61 m_postalCodeHasBeenSet =
true;
62 m_postalCode = std::forward<PostalCodeT>(value);
64 template <
typename PostalCodeT = Aws::String>
77 template <
typename StateOrRegionT = Aws::String>
79 m_stateOrRegionHasBeenSet =
true;
80 m_stateOrRegion = std::forward<StateOrRegionT>(value);
82 template <
typename StateOrRegionT = Aws::String>
95 template <
typename CountryCodeT = Aws::String>
97 m_countryCodeHasBeenSet =
true;
98 m_countryCode = std::forward<CountryCodeT>(value);
100 template <
typename CountryCodeT = Aws::String>
114 bool m_cityHasBeenSet =
false;
115 bool m_postalCodeHasBeenSet =
false;
116 bool m_stateOrRegionHasBeenSet =
false;
117 bool m_countryCodeHasBeenSet =
false;
LeadAddress & WithCountryCode(CountryCodeT &&value)
const Aws::String & GetCity() const
bool StateOrRegionHasBeenSet() const
bool PostalCodeHasBeenSet() const
LeadAddress & WithPostalCode(PostalCodeT &&value)
void SetCity(CityT &&value)
LeadAddress & WithStateOrRegion(StateOrRegionT &&value)
const Aws::String & GetPostalCode() const
bool CountryCodeHasBeenSet() const
void SetStateOrRegion(StateOrRegionT &&value)
bool CityHasBeenSet() const
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALSELLING_API LeadAddress & operator=(Aws::Utils::Json::JsonView jsonValue)
LeadAddress & WithCity(CityT &&value)
const Aws::String & GetStateOrRegion() const
const Aws::String & GetCountryCode() const
AWS_PARTNERCENTRALSELLING_API LeadAddress()=default
void SetPostalCode(PostalCodeT &&value)
AWS_PARTNERCENTRALSELLING_API LeadAddress(Aws::Utils::Json::JsonView jsonValue)
void SetCountryCode(CountryCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue