7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename CityT = Aws::String>
48 void SetCity(CityT&& value) { m_cityHasBeenSet =
true; m_city = std::forward<CityT>(value); }
49 template<
typename CityT = Aws::String>
60 template<
typename CountryT = Aws::String>
61 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
62 template<
typename CountryT = Aws::String>
73 inline void SetLatitude(
double value) { m_latitudeHasBeenSet =
true; m_latitude = value; }
84 inline void SetLongitude(
double value) { m_longitudeHasBeenSet =
true; m_longitude = value; }
94 template<
typename PostalCodeT = Aws::String>
95 void SetPostalCode(PostalCodeT&& value) { m_postalCodeHasBeenSet =
true; m_postalCode = std::forward<PostalCodeT>(value); }
96 template<
typename PostalCodeT = Aws::String>
107 template<
typename RegionT = Aws::String>
108 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
109 template<
typename RegionT = Aws::String>
115 bool m_cityHasBeenSet =
false;
118 bool m_countryHasBeenSet =
false;
120 double m_latitude{0.0};
121 bool m_latitudeHasBeenSet =
false;
123 double m_longitude{0.0};
124 bool m_longitudeHasBeenSet =
false;
127 bool m_postalCodeHasBeenSet =
false;
130 bool m_regionHasBeenSet =
false;
bool CityHasBeenSet() const
EndpointLocation & WithLatitude(double value)
AWS_PINPOINT_API EndpointLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API EndpointLocation(Aws::Utils::Json::JsonView jsonValue)
void SetCity(CityT &&value)
void SetRegion(RegionT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
EndpointLocation & WithPostalCode(PostalCodeT &&value)
EndpointLocation & WithLongitude(double value)
EndpointLocation & WithCity(CityT &&value)
double GetLongitude() const
bool LongitudeHasBeenSet() const
const Aws::String & GetPostalCode() const
AWS_PINPOINT_API EndpointLocation()=default
void SetPostalCode(PostalCodeT &&value)
void SetCountry(CountryT &&value)
bool RegionHasBeenSet() const
const Aws::String & GetCity() const
bool PostalCodeHasBeenSet() const
const Aws::String & GetCountry() const
bool LatitudeHasBeenSet() const
void SetLatitude(double value)
EndpointLocation & WithCountry(CountryT &&value)
void SetLongitude(double value)
EndpointLocation & WithRegion(RegionT &&value)
const Aws::String & GetRegion() const
bool CountryHasBeenSet() const
double GetLatitude() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue