7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/model/Place.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace LocationService
48 template<
typename PlaceT = Place>
49 void SetPlace(PlaceT&& value) { m_placeHasBeenSet =
true; m_place = std::forward<PlaceT>(value); }
50 template<
typename PlaceT = Place>
63 inline void SetDistance(
double value) { m_distanceHasBeenSet =
true; m_distance = value; }
77 template<
typename PlaceIdT = Aws::String>
78 void SetPlaceId(PlaceIdT&& value) { m_placeIdHasBeenSet =
true; m_placeId = std::forward<PlaceIdT>(value); }
79 template<
typename PlaceIdT = Aws::String>
85 bool m_placeHasBeenSet =
false;
87 double m_distance{0.0};
88 bool m_distanceHasBeenSet =
false;
91 bool m_placeIdHasBeenSet =
false;
SearchForPositionResult & WithPlace(PlaceT &&value)
bool PlaceHasBeenSet() const
double GetDistance() const
const Aws::String & GetPlaceId() const
AWS_LOCATIONSERVICE_API SearchForPositionResult & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DistanceHasBeenSet() const
void SetDistance(double value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOCATIONSERVICE_API SearchForPositionResult()=default
SearchForPositionResult & WithPlaceId(PlaceIdT &&value)
bool PlaceIdHasBeenSet() const
const Place & GetPlace() const
SearchForPositionResult & WithDistance(double value)
void SetPlaceId(PlaceIdT &&value)
void SetPlace(PlaceT &&value)
AWS_LOCATIONSERVICE_API SearchForPositionResult(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue