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 inline void SetPlace(
const Place& value) { m_placeHasBeenSet =
true; m_place = value; }
49 inline void SetPlace(
Place&& value) { m_placeHasBeenSet =
true; m_place = std::move(value); }
64 inline void SetDistance(
double value) { m_distanceHasBeenSet =
true; m_distance = value; }
77 inline void SetRelevance(
double value) { m_relevanceHasBeenSet =
true; m_relevance = value; }
93 inline void SetPlaceId(
const char* value) { m_placeIdHasBeenSet =
true; m_placeId.assign(value); }
101 bool m_placeHasBeenSet =
false;
104 bool m_distanceHasBeenSet =
false;
107 bool m_relevanceHasBeenSet =
false;
110 bool m_placeIdHasBeenSet =
false;
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOCATIONSERVICE_API SearchForTextResult()
const Aws::String & GetPlaceId() const
double GetRelevance() const
bool DistanceHasBeenSet() const
void SetPlace(const Place &value)
SearchForTextResult & WithPlaceId(const Aws::String &value)
AWS_LOCATIONSERVICE_API SearchForTextResult(Aws::Utils::Json::JsonView jsonValue)
bool PlaceIdHasBeenSet() const
SearchForTextResult & WithPlaceId(const char *value)
void SetPlaceId(Aws::String &&value)
const Place & GetPlace() const
bool PlaceHasBeenSet() const
bool RelevanceHasBeenSet() const
void SetDistance(double value)
SearchForTextResult & WithRelevance(double value)
void SetPlaceId(const char *value)
void SetPlaceId(const Aws::String &value)
SearchForTextResult & WithPlace(const Place &value)
SearchForTextResult & WithPlace(Place &&value)
double GetDistance() const
void SetRelevance(double value)
void SetPlace(Place &&value)
SearchForTextResult & WithDistance(double value)
AWS_LOCATIONSERVICE_API SearchForTextResult & operator=(Aws::Utils::Json::JsonView jsonValue)
SearchForTextResult & WithPlaceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue