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>
64 inline void SetDistance(
double value) { m_distanceHasBeenSet =
true; m_distance = value; }
77 inline void SetRelevance(
double value) { m_relevanceHasBeenSet =
true; m_relevance = value; }
91 template<
typename PlaceIdT = Aws::String>
92 void SetPlaceId(PlaceIdT&& value) { m_placeIdHasBeenSet =
true; m_placeId = std::forward<PlaceIdT>(value); }
93 template<
typename PlaceIdT = Aws::String>
99 bool m_placeHasBeenSet =
false;
101 double m_distance{0.0};
102 bool m_distanceHasBeenSet =
false;
104 double m_relevance{0.0};
105 bool m_relevanceHasBeenSet =
false;
108 bool m_placeIdHasBeenSet =
false;
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPlaceId() const
void SetPlace(PlaceT &&value)
double GetRelevance() const
bool DistanceHasBeenSet() const
SearchForTextResult & WithPlace(PlaceT &&value)
AWS_LOCATIONSERVICE_API SearchForTextResult(Aws::Utils::Json::JsonView jsonValue)
bool PlaceIdHasBeenSet() const
const Place & GetPlace() const
bool PlaceHasBeenSet() const
bool RelevanceHasBeenSet() const
void SetDistance(double value)
SearchForTextResult & WithRelevance(double value)
AWS_LOCATIONSERVICE_API SearchForTextResult()=default
void SetPlaceId(PlaceIdT &&value)
SearchForTextResult & WithPlaceId(PlaceIdT &&value)
double GetDistance() const
void SetRelevance(double value)
SearchForTextResult & WithDistance(double value)
AWS_LOCATIONSERVICE_API SearchForTextResult & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue