7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace LocationService
49 template<
typename TextT = Aws::String>
50 void SetText(TextT&& value) { m_textHasBeenSet =
true; m_text = std::forward<TextT>(value); }
51 template<
typename TextT = Aws::String>
68 template<
typename PlaceIdT = Aws::String>
69 void SetPlaceId(PlaceIdT&& value) { m_placeIdHasBeenSet =
true; m_placeId = std::forward<PlaceIdT>(value); }
70 template<
typename PlaceIdT = Aws::String>
84 template<
typename CategoriesT = Aws::Vector<Aws::String>>
85 void SetCategories(CategoriesT&& value) { m_categoriesHasBeenSet =
true; m_categories = std::forward<CategoriesT>(value); }
86 template<
typename CategoriesT = Aws::Vector<Aws::String>>
88 template<
typename CategoriesT = Aws::String>
99 template<
typename SupplementalCategoriesT = Aws::Vector<Aws::String>>
100 void SetSupplementalCategories(SupplementalCategoriesT&& value) { m_supplementalCategoriesHasBeenSet =
true; m_supplementalCategories = std::forward<SupplementalCategoriesT>(value); }
101 template<
typename SupplementalCategoriesT = Aws::Vector<Aws::String>>
103 template<
typename SupplementalCategoriesT = Aws::String>
109 bool m_textHasBeenSet =
false;
112 bool m_placeIdHasBeenSet =
false;
115 bool m_categoriesHasBeenSet =
false;
118 bool m_supplementalCategoriesHasBeenSet =
false;
bool CategoriesHasBeenSet() const
SearchForSuggestionsResult & WithCategories(CategoriesT &&value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCategories(CategoriesT &&value)
const Aws::String & GetText() const
SearchForSuggestionsResult & WithText(TextT &&value)
bool TextHasBeenSet() const
void SetText(TextT &&value)
AWS_LOCATIONSERVICE_API SearchForSuggestionsResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API SearchForSuggestionsResult()=default
SearchForSuggestionsResult & AddSupplementalCategories(SupplementalCategoriesT &&value)
void SetPlaceId(PlaceIdT &&value)
const Aws::Vector< Aws::String > & GetCategories() const
SearchForSuggestionsResult & AddCategories(CategoriesT &&value)
SearchForSuggestionsResult & WithPlaceId(PlaceIdT &&value)
AWS_LOCATIONSERVICE_API SearchForSuggestionsResult(Aws::Utils::Json::JsonView jsonValue)
void SetSupplementalCategories(SupplementalCategoriesT &&value)
SearchForSuggestionsResult & WithSupplementalCategories(SupplementalCategoriesT &&value)
const Aws::Vector< Aws::String > & GetSupplementalCategories() const
const Aws::String & GetPlaceId() const
bool PlaceIdHasBeenSet() const
bool SupplementalCategoriesHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue