/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A summary of the request sent by using
* SearchPlaceIndexForSuggestions
.See Also:
AWS
* API Reference
Contains the coordinates for the optional bias position specified in the * request.
This parameter contains a pair of numbers. The first number * represents the X coordinate, or longitude; the second number represents the Y * coordinate, or latitude.
For example, [-123.1174, 49.2847]
* represents the position with longitude -123.1174
and latitude
* 49.2847
.
Contains the coordinates for the optional bias position specified in the * request.
This parameter contains a pair of numbers. The first number * represents the X coordinate, or longitude; the second number represents the Y * coordinate, or latitude.
For example, [-123.1174, 49.2847]
* represents the position with longitude -123.1174
and latitude
* 49.2847
.
Contains the coordinates for the optional bias position specified in the * request.
This parameter contains a pair of numbers. The first number * represents the X coordinate, or longitude; the second number represents the Y * coordinate, or latitude.
For example, [-123.1174, 49.2847]
* represents the position with longitude -123.1174
and latitude
* 49.2847
.
Contains the coordinates for the optional bias position specified in the * request.
This parameter contains a pair of numbers. The first number * represents the X coordinate, or longitude; the second number represents the Y * coordinate, or latitude.
For example, [-123.1174, 49.2847]
* represents the position with longitude -123.1174
and latitude
* 49.2847
.
Contains the coordinates for the optional bias position specified in the * request.
This parameter contains a pair of numbers. The first number * represents the X coordinate, or longitude; the second number represents the Y * coordinate, or latitude.
For example, [-123.1174, 49.2847]
* represents the position with longitude -123.1174
and latitude
* 49.2847
.
Contains the coordinates for the optional bias position specified in the * request.
This parameter contains a pair of numbers. The first number * represents the X coordinate, or longitude; the second number represents the Y * coordinate, or latitude.
For example, [-123.1174, 49.2847]
* represents the position with longitude -123.1174
and latitude
* 49.2847
.
Contains the coordinates for the optional bias position specified in the * request.
This parameter contains a pair of numbers. The first number * represents the X coordinate, or longitude; the second number represents the Y * coordinate, or latitude.
For example, [-123.1174, 49.2847]
* represents the position with longitude -123.1174
and latitude
* 49.2847
.
The geospatial data provider attached to the place index resource specified * in the request. Values can be one of the following:
Esri
*Grab
Here
For more * information about data providers, see Amazon * Location Service data providers.
*/ inline const Aws::String& GetDataSource() const{ return m_dataSource; } /** *The geospatial data provider attached to the place index resource specified * in the request. Values can be one of the following:
Esri
*Grab
Here
For more * information about data providers, see Amazon * Location Service data providers.
*/ inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; } /** *The geospatial data provider attached to the place index resource specified * in the request. Values can be one of the following:
Esri
*Grab
Here
For more * information about data providers, see Amazon * Location Service data providers.
*/ inline void SetDataSource(const Aws::String& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; } /** *The geospatial data provider attached to the place index resource specified * in the request. Values can be one of the following:
Esri
*Grab
Here
For more * information about data providers, see Amazon * Location Service data providers.
*/ inline void SetDataSource(Aws::String&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); } /** *The geospatial data provider attached to the place index resource specified * in the request. Values can be one of the following:
Esri
*Grab
Here
For more * information about data providers, see Amazon * Location Service data providers.
*/ inline void SetDataSource(const char* value) { m_dataSourceHasBeenSet = true; m_dataSource.assign(value); } /** *The geospatial data provider attached to the place index resource specified * in the request. Values can be one of the following:
Esri
*Grab
Here
For more * information about data providers, see Amazon * Location Service data providers.
*/ inline SearchPlaceIndexForSuggestionsSummary& WithDataSource(const Aws::String& value) { SetDataSource(value); return *this;} /** *The geospatial data provider attached to the place index resource specified * in the request. Values can be one of the following:
Esri
*Grab
Here
For more * information about data providers, see Amazon * Location Service data providers.
*/ inline SearchPlaceIndexForSuggestionsSummary& WithDataSource(Aws::String&& value) { SetDataSource(std::move(value)); return *this;} /** *The geospatial data provider attached to the place index resource specified * in the request. Values can be one of the following:
Esri
*Grab
Here
For more * information about data providers, see Amazon * Location Service data providers.
*/ inline SearchPlaceIndexForSuggestionsSummary& WithDataSource(const char* value) { SetDataSource(value); return *this;} /** *Contains the coordinates for the optional bounding box specified in the * request.
*/ inline const Aws::VectorContains the coordinates for the optional bounding box specified in the * request.
*/ inline bool FilterBBoxHasBeenSet() const { return m_filterBBoxHasBeenSet; } /** *Contains the coordinates for the optional bounding box specified in the * request.
*/ inline void SetFilterBBox(const Aws::VectorContains the coordinates for the optional bounding box specified in the * request.
*/ inline void SetFilterBBox(Aws::VectorContains the coordinates for the optional bounding box specified in the * request.
*/ inline SearchPlaceIndexForSuggestionsSummary& WithFilterBBox(const Aws::VectorContains the coordinates for the optional bounding box specified in the * request.
*/ inline SearchPlaceIndexForSuggestionsSummary& WithFilterBBox(Aws::VectorContains the coordinates for the optional bounding box specified in the * request.
*/ inline SearchPlaceIndexForSuggestionsSummary& AddFilterBBox(double value) { m_filterBBoxHasBeenSet = true; m_filterBBox.push_back(value); return *this; } /** *The optional category filter specified in the request.
*/ inline const Aws::VectorThe optional category filter specified in the request.
*/ inline bool FilterCategoriesHasBeenSet() const { return m_filterCategoriesHasBeenSet; } /** *The optional category filter specified in the request.
*/ inline void SetFilterCategories(const Aws::VectorThe optional category filter specified in the request.
*/ inline void SetFilterCategories(Aws::VectorThe optional category filter specified in the request.
*/ inline SearchPlaceIndexForSuggestionsSummary& WithFilterCategories(const Aws::VectorThe optional category filter specified in the request.
*/ inline SearchPlaceIndexForSuggestionsSummary& WithFilterCategories(Aws::VectorThe optional category filter specified in the request.
*/ inline SearchPlaceIndexForSuggestionsSummary& AddFilterCategories(const Aws::String& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(value); return *this; } /** *The optional category filter specified in the request.
*/ inline SearchPlaceIndexForSuggestionsSummary& AddFilterCategories(Aws::String&& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(std::move(value)); return *this; } /** *The optional category filter specified in the request.
*/ inline SearchPlaceIndexForSuggestionsSummary& AddFilterCategories(const char* value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(value); return *this; } /** *Contains the optional country filter specified in the request.
*/ inline const Aws::VectorContains the optional country filter specified in the request.
*/ inline bool FilterCountriesHasBeenSet() const { return m_filterCountriesHasBeenSet; } /** *Contains the optional country filter specified in the request.
*/ inline void SetFilterCountries(const Aws::VectorContains the optional country filter specified in the request.
*/ inline void SetFilterCountries(Aws::VectorContains the optional country filter specified in the request.
*/ inline SearchPlaceIndexForSuggestionsSummary& WithFilterCountries(const Aws::VectorContains the optional country filter specified in the request.
*/ inline SearchPlaceIndexForSuggestionsSummary& WithFilterCountries(Aws::VectorContains the optional country filter specified in the request.
*/ inline SearchPlaceIndexForSuggestionsSummary& AddFilterCountries(const Aws::String& value) { m_filterCountriesHasBeenSet = true; m_filterCountries.push_back(value); return *this; } /** *Contains the optional country filter specified in the request.
*/ inline SearchPlaceIndexForSuggestionsSummary& AddFilterCountries(Aws::String&& value) { m_filterCountriesHasBeenSet = true; m_filterCountries.push_back(std::move(value)); return *this; } /** *Contains the optional country filter specified in the request.
*/ inline SearchPlaceIndexForSuggestionsSummary& AddFilterCountries(const char* value) { m_filterCountriesHasBeenSet = true; m_filterCountries.push_back(value); return *this; } /** *The preferred language used to return results. Matches the language in the
* request. The value is a valid BCP
* 47 language tag, for example, en
for English.
The preferred language used to return results. Matches the language in the
* request. The value is a valid BCP
* 47 language tag, for example, en
for English.
The preferred language used to return results. Matches the language in the
* request. The value is a valid BCP
* 47 language tag, for example, en
for English.
The preferred language used to return results. Matches the language in the
* request. The value is a valid BCP
* 47 language tag, for example, en
for English.
The preferred language used to return results. Matches the language in the
* request. The value is a valid BCP
* 47 language tag, for example, en
for English.
The preferred language used to return results. Matches the language in the
* request. The value is a valid BCP
* 47 language tag, for example, en
for English.
The preferred language used to return results. Matches the language in the
* request. The value is a valid BCP
* 47 language tag, for example, en
for English.
The preferred language used to return results. Matches the language in the
* request. The value is a valid BCP
* 47 language tag, for example, en
for English.
Contains the optional result count limit specified in the request.
*/ inline int GetMaxResults() const{ return m_maxResults; } /** *Contains the optional result count limit specified in the request.
*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *Contains the optional result count limit specified in the request.
*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *Contains the optional result count limit specified in the request.
*/ inline SearchPlaceIndexForSuggestionsSummary& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *The free-form partial text input specified in the request.
*/ inline const Aws::String& GetText() const{ return m_text; } /** *The free-form partial text input specified in the request.
*/ inline bool TextHasBeenSet() const { return m_textHasBeenSet; } /** *The free-form partial text input specified in the request.
*/ inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } /** *The free-form partial text input specified in the request.
*/ inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } /** *The free-form partial text input specified in the request.
*/ inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } /** *The free-form partial text input specified in the request.
*/ inline SearchPlaceIndexForSuggestionsSummary& WithText(const Aws::String& value) { SetText(value); return *this;} /** *The free-form partial text input specified in the request.
*/ inline SearchPlaceIndexForSuggestionsSummary& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} /** *The free-form partial text input specified in the request.
*/ inline SearchPlaceIndexForSuggestionsSummary& WithText(const char* value) { SetText(value); return *this;} private: Aws::Vector