/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains a place suggestion resulting from a place suggestion query that is
* run on a place index resource.See Also:
AWS
* API Reference
The Amazon Location categories that describe the Place.
For more * information about using categories, including a list of Amazon Location * categories, see Categories * and filtering, in the Amazon Location Service Developer Guide.
*/ inline const Aws::VectorThe Amazon Location categories that describe the Place.
For more * information about using categories, including a list of Amazon Location * categories, see Categories * and filtering, in the Amazon Location Service Developer Guide.
*/ inline bool CategoriesHasBeenSet() const { return m_categoriesHasBeenSet; } /** *The Amazon Location categories that describe the Place.
For more * information about using categories, including a list of Amazon Location * categories, see Categories * and filtering, in the Amazon Location Service Developer Guide.
*/ inline void SetCategories(const Aws::VectorThe Amazon Location categories that describe the Place.
For more * information about using categories, including a list of Amazon Location * categories, see Categories * and filtering, in the Amazon Location Service Developer Guide.
*/ inline void SetCategories(Aws::VectorThe Amazon Location categories that describe the Place.
For more * information about using categories, including a list of Amazon Location * categories, see Categories * and filtering, in the Amazon Location Service Developer Guide.
*/ inline SearchForSuggestionsResult& WithCategories(const Aws::VectorThe Amazon Location categories that describe the Place.
For more * information about using categories, including a list of Amazon Location * categories, see Categories * and filtering, in the Amazon Location Service Developer Guide.
*/ inline SearchForSuggestionsResult& WithCategories(Aws::VectorThe Amazon Location categories that describe the Place.
For more * information about using categories, including a list of Amazon Location * categories, see Categories * and filtering, in the Amazon Location Service Developer Guide.
*/ inline SearchForSuggestionsResult& AddCategories(const Aws::String& value) { m_categoriesHasBeenSet = true; m_categories.push_back(value); return *this; } /** *The Amazon Location categories that describe the Place.
For more * information about using categories, including a list of Amazon Location * categories, see Categories * and filtering, in the Amazon Location Service Developer Guide.
*/ inline SearchForSuggestionsResult& AddCategories(Aws::String&& value) { m_categoriesHasBeenSet = true; m_categories.push_back(std::move(value)); return *this; } /** *The Amazon Location categories that describe the Place.
For more * information about using categories, including a list of Amazon Location * categories, see Categories * and filtering, in the Amazon Location Service Developer Guide.
*/ inline SearchForSuggestionsResult& AddCategories(const char* value) { m_categoriesHasBeenSet = true; m_categories.push_back(value); return *this; } /** *The unique identifier of the Place. You can use this with the
* GetPlace
operation to find the place again later, or to get full
* information for the Place.
The GetPlace
request must use the
* same PlaceIndex
resource as the
* SearchPlaceIndexForSuggestions
that generated the Place ID.
For SearchPlaceIndexForSuggestions
operations, the
* PlaceId
is returned by place indexes that use Esri, Grab, or HERE
* as data providers.
The unique identifier of the Place. You can use this with the
* GetPlace
operation to find the place again later, or to get full
* information for the Place.
The GetPlace
request must use the
* same PlaceIndex
resource as the
* SearchPlaceIndexForSuggestions
that generated the Place ID.
For SearchPlaceIndexForSuggestions
operations, the
* PlaceId
is returned by place indexes that use Esri, Grab, or HERE
* as data providers.
The unique identifier of the Place. You can use this with the
* GetPlace
operation to find the place again later, or to get full
* information for the Place.
The GetPlace
request must use the
* same PlaceIndex
resource as the
* SearchPlaceIndexForSuggestions
that generated the Place ID.
For SearchPlaceIndexForSuggestions
operations, the
* PlaceId
is returned by place indexes that use Esri, Grab, or HERE
* as data providers.
The unique identifier of the Place. You can use this with the
* GetPlace
operation to find the place again later, or to get full
* information for the Place.
The GetPlace
request must use the
* same PlaceIndex
resource as the
* SearchPlaceIndexForSuggestions
that generated the Place ID.
For SearchPlaceIndexForSuggestions
operations, the
* PlaceId
is returned by place indexes that use Esri, Grab, or HERE
* as data providers.
The unique identifier of the Place. You can use this with the
* GetPlace
operation to find the place again later, or to get full
* information for the Place.
The GetPlace
request must use the
* same PlaceIndex
resource as the
* SearchPlaceIndexForSuggestions
that generated the Place ID.
For SearchPlaceIndexForSuggestions
operations, the
* PlaceId
is returned by place indexes that use Esri, Grab, or HERE
* as data providers.
The unique identifier of the Place. You can use this with the
* GetPlace
operation to find the place again later, or to get full
* information for the Place.
The GetPlace
request must use the
* same PlaceIndex
resource as the
* SearchPlaceIndexForSuggestions
that generated the Place ID.
For SearchPlaceIndexForSuggestions
operations, the
* PlaceId
is returned by place indexes that use Esri, Grab, or HERE
* as data providers.
The unique identifier of the Place. You can use this with the
* GetPlace
operation to find the place again later, or to get full
* information for the Place.
The GetPlace
request must use the
* same PlaceIndex
resource as the
* SearchPlaceIndexForSuggestions
that generated the Place ID.
For SearchPlaceIndexForSuggestions
operations, the
* PlaceId
is returned by place indexes that use Esri, Grab, or HERE
* as data providers.
The unique identifier of the Place. You can use this with the
* GetPlace
operation to find the place again later, or to get full
* information for the Place.
The GetPlace
request must use the
* same PlaceIndex
resource as the
* SearchPlaceIndexForSuggestions
that generated the Place ID.
For SearchPlaceIndexForSuggestions
operations, the
* PlaceId
is returned by place indexes that use Esri, Grab, or HERE
* as data providers.
Categories from the data provider that describe the Place that are not mapped * to any Amazon Location categories.
*/ inline const Aws::VectorCategories from the data provider that describe the Place that are not mapped * to any Amazon Location categories.
*/ inline bool SupplementalCategoriesHasBeenSet() const { return m_supplementalCategoriesHasBeenSet; } /** *Categories from the data provider that describe the Place that are not mapped * to any Amazon Location categories.
*/ inline void SetSupplementalCategories(const Aws::VectorCategories from the data provider that describe the Place that are not mapped * to any Amazon Location categories.
*/ inline void SetSupplementalCategories(Aws::VectorCategories from the data provider that describe the Place that are not mapped * to any Amazon Location categories.
*/ inline SearchForSuggestionsResult& WithSupplementalCategories(const Aws::VectorCategories from the data provider that describe the Place that are not mapped * to any Amazon Location categories.
*/ inline SearchForSuggestionsResult& WithSupplementalCategories(Aws::VectorCategories from the data provider that describe the Place that are not mapped * to any Amazon Location categories.
*/ inline SearchForSuggestionsResult& AddSupplementalCategories(const Aws::String& value) { m_supplementalCategoriesHasBeenSet = true; m_supplementalCategories.push_back(value); return *this; } /** *Categories from the data provider that describe the Place that are not mapped * to any Amazon Location categories.
*/ inline SearchForSuggestionsResult& AddSupplementalCategories(Aws::String&& value) { m_supplementalCategoriesHasBeenSet = true; m_supplementalCategories.push_back(std::move(value)); return *this; } /** *Categories from the data provider that describe the Place that are not mapped * to any Amazon Location categories.
*/ inline SearchForSuggestionsResult& AddSupplementalCategories(const char* value) { m_supplementalCategoriesHasBeenSet = true; m_supplementalCategories.push_back(value); return *this; } /** *The text of the place suggestion, typically formatted as an address * string.
*/ inline const Aws::String& GetText() const{ return m_text; } /** *The text of the place suggestion, typically formatted as an address * string.
*/ inline bool TextHasBeenSet() const { return m_textHasBeenSet; } /** *The text of the place suggestion, typically formatted as an address * string.
*/ inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } /** *The text of the place suggestion, typically formatted as an address * string.
*/ inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } /** *The text of the place suggestion, typically formatted as an address * string.
*/ inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } /** *The text of the place suggestion, typically formatted as an address * string.
*/ inline SearchForSuggestionsResult& WithText(const Aws::String& value) { SetText(value); return *this;} /** *The text of the place suggestion, typically formatted as an address * string.
*/ inline SearchForSuggestionsResult& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} /** *The text of the place suggestion, typically formatted as an address * string.
*/ inline SearchForSuggestionsResult& WithText(const char* value) { SetText(value); return *this;} private: Aws::Vector