7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/location/LocationService_EXPORTS.h>
20namespace LocationService {
43 template <
typename TextT = Aws::String>
45 m_textHasBeenSet =
true;
46 m_text = std::forward<TextT>(value);
48 template <
typename TextT = Aws::String>
50 SetText(std::forward<TextT>(value));
68 template <
typename PlaceIdT = Aws::String>
70 m_placeIdHasBeenSet =
true;
71 m_placeId = std::forward<PlaceIdT>(value);
73 template <
typename PlaceIdT = Aws::String>
90 template <
typename CategoriesT = Aws::Vector<Aws::String>>
92 m_categoriesHasBeenSet =
true;
93 m_categories = std::forward<CategoriesT>(value);
95 template <
typename CategoriesT = Aws::Vector<Aws::String>>
100 template <
typename CategoriesT = Aws::String>
102 m_categoriesHasBeenSet =
true;
103 m_categories.emplace_back(std::forward<CategoriesT>(value));
115 template <
typename SupplementalCategoriesT = Aws::Vector<Aws::String>>
117 m_supplementalCategoriesHasBeenSet =
true;
118 m_supplementalCategories = std::forward<SupplementalCategoriesT>(value);
120 template <
typename SupplementalCategoriesT = Aws::Vector<Aws::String>>
125 template <
typename SupplementalCategoriesT = Aws::String>
127 m_supplementalCategoriesHasBeenSet =
true;
128 m_supplementalCategories.emplace_back(std::forward<SupplementalCategoriesT>(value));
140 bool m_textHasBeenSet =
false;
141 bool m_placeIdHasBeenSet =
false;
142 bool m_categoriesHasBeenSet =
false;
143 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