7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/geo-places/model/PlaceType.h>
10#include <aws/geo-places/model/Address.h>
11#include <aws/geo-places/model/AutocompleteHighlights.h>
52 inline void SetPlaceId(
const char* value) { m_placeIdHasBeenSet =
true; m_placeId.assign(value); }
79 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
91 inline void SetAddress(
const Address& value) { m_addressHasBeenSet =
true; m_address = value; }
92 inline void SetAddress(
Address&& value) { m_addressHasBeenSet =
true; m_address = std::move(value); }
105 inline void SetDistance(
long long value) { m_distanceHasBeenSet =
true; m_distance = value; }
120 inline void SetLanguage(
const char* value) { m_languageHasBeenSet =
true; m_language.assign(value); }
136 inline void SetPoliticalView(
const char* value) { m_politicalViewHasBeenSet =
true; m_politicalView.assign(value); }
157 bool m_placeIdHasBeenSet =
false;
160 bool m_placeTypeHasBeenSet =
false;
163 bool m_titleHasBeenSet =
false;
166 bool m_addressHasBeenSet =
false;
168 long long m_distance;
169 bool m_distanceHasBeenSet =
false;
172 bool m_languageHasBeenSet =
false;
175 bool m_politicalViewHasBeenSet =
false;
178 bool m_highlightsHasBeenSet =
false;
void SetPlaceType(PlaceType &&value)
void SetAddress(const Address &value)
void SetPlaceId(const char *value)
AutocompleteResultItem & WithTitle(Aws::String &&value)
bool TitleHasBeenSet() const
AutocompleteResultItem & WithHighlights(const AutocompleteHighlights &value)
const Address & GetAddress() const
AutocompleteResultItem & WithPoliticalView(const char *value)
void SetPlaceId(Aws::String &&value)
AutocompleteResultItem & WithLanguage(const Aws::String &value)
AutocompleteResultItem & WithDistance(long long value)
AutocompleteResultItem & WithPlaceType(const PlaceType &value)
AutocompleteResultItem & WithPoliticalView(const Aws::String &value)
AutocompleteResultItem & WithPoliticalView(Aws::String &&value)
AutocompleteResultItem & WithTitle(const Aws::String &value)
AWS_GEOPLACES_API AutocompleteResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const PlaceType & GetPlaceType() const
AutocompleteResultItem & WithPlaceId(Aws::String &&value)
void SetLanguage(Aws::String &&value)
AutocompleteResultItem & WithLanguage(const char *value)
const Aws::String & GetLanguage() const
bool PoliticalViewHasBeenSet() const
bool DistanceHasBeenSet() const
AutocompleteResultItem & WithPlaceId(const Aws::String &value)
void SetTitle(const char *value)
void SetPoliticalView(Aws::String &&value)
const Aws::String & GetPoliticalView() const
AutocompleteResultItem & WithTitle(const char *value)
const Aws::String & GetTitle() const
void SetPoliticalView(const Aws::String &value)
bool LanguageHasBeenSet() const
void SetDistance(long long value)
AutocompleteResultItem & WithAddress(Address &&value)
void SetHighlights(const AutocompleteHighlights &value)
bool HighlightsHasBeenSet() const
bool AddressHasBeenSet() const
bool PlaceIdHasBeenSet() const
long long GetDistance() const
void SetPlaceId(const Aws::String &value)
AutocompleteResultItem & WithAddress(const Address &value)
const Aws::String & GetPlaceId() const
void SetPoliticalView(const char *value)
AutocompleteResultItem & WithPlaceType(PlaceType &&value)
AutocompleteResultItem & WithHighlights(AutocompleteHighlights &&value)
AutocompleteResultItem & WithLanguage(Aws::String &&value)
const AutocompleteHighlights & GetHighlights() const
void SetTitle(Aws::String &&value)
void SetAddress(Address &&value)
void SetTitle(const Aws::String &value)
void SetLanguage(const Aws::String &value)
void SetHighlights(AutocompleteHighlights &&value)
AWS_GEOPLACES_API AutocompleteResultItem()
void SetPlaceType(const PlaceType &value)
void SetLanguage(const char *value)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
AutocompleteResultItem & WithPlaceId(const char *value)
AWS_GEOPLACES_API AutocompleteResultItem(Aws::Utils::Json::JsonView jsonValue)
bool PlaceTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue