7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-selling/model/CountryCode.h>
22namespace PartnerCentralSelling
36 AWS_PARTNERCENTRALSELLING_API
Address() =
default;
49 template<
typename CityT = Aws::String>
50 void SetCity(CityT&& value) { m_cityHasBeenSet =
true; m_city = std::forward<CityT>(value); }
51 template<
typename CityT = Aws::String>
73 template<
typename PostalCodeT = Aws::String>
74 void SetPostalCode(PostalCodeT&& value) { m_postalCodeHasBeenSet =
true; m_postalCode = std::forward<PostalCodeT>(value); }
75 template<
typename PostalCodeT = Aws::String>
96 template<
typename StateOrRegionT = Aws::String>
97 void SetStateOrRegion(StateOrRegionT&& value) { m_stateOrRegionHasBeenSet =
true; m_stateOrRegion = std::forward<StateOrRegionT>(value); }
98 template<
typename StateOrRegionT = Aws::String>
109 template<
typename StreetAddressT = Aws::String>
110 void SetStreetAddress(StreetAddressT&& value) { m_streetAddressHasBeenSet =
true; m_streetAddress = std::forward<StreetAddressT>(value); }
111 template<
typename StreetAddressT = Aws::String>
117 bool m_cityHasBeenSet =
false;
120 bool m_countryCodeHasBeenSet =
false;
123 bool m_postalCodeHasBeenSet =
false;
126 bool m_stateOrRegionHasBeenSet =
false;
129 bool m_streetAddressHasBeenSet =
false;
Address & WithPostalCode(PostalCodeT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPostalCode(PostalCodeT &&value)
Address & WithStreetAddress(StreetAddressT &&value)
Address & WithCountryCode(CountryCode value)
const Aws::String & GetCity() const
const Aws::String & GetStateOrRegion() const
AWS_PARTNERCENTRALSELLING_API Address()=default
void SetStreetAddress(StreetAddressT &&value)
bool StreetAddressHasBeenSet() const
bool CityHasBeenSet() const
bool StateOrRegionHasBeenSet() const
void SetStateOrRegion(StateOrRegionT &&value)
bool CountryCodeHasBeenSet() const
void SetCountryCode(CountryCode value)
const Aws::String & GetPostalCode() const
Address & WithStateOrRegion(StateOrRegionT &&value)
const Aws::String & GetStreetAddress() const
AWS_PARTNERCENTRALSELLING_API Address(Aws::Utils::Json::JsonView jsonValue)
CountryCode GetCountryCode() const
Address & WithCity(CityT &&value)
void SetCity(CityT &&value)
bool PostalCodeHasBeenSet() const
AWS_PARTNERCENTRALSELLING_API Address & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue