/**
* 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
* SearchPlaceIndexForPosition
.See Also:
AWS
* API Reference
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 SearchPlaceIndexForPositionSummary& 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 SearchPlaceIndexForPositionSummary& 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 SearchPlaceIndexForPositionSummary& WithDataSource(const char* value) { SetDataSource(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 that is specified in the * request.
Default value: 50
Contains the optional result count limit that is specified in the * request.
Default value: 50
Contains the optional result count limit that is specified in the * request.
Default value: 50
Contains the optional result count limit that is specified in the * request.
Default value: 50
The position specified in the request.
*/ inline const Aws::VectorThe position specified in the request.
*/ inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; } /** *The position specified in the request.
*/ inline void SetPosition(const Aws::VectorThe position specified in the request.
*/ inline void SetPosition(Aws::VectorThe position specified in the request.
*/ inline SearchPlaceIndexForPositionSummary& WithPosition(const Aws::VectorThe position specified in the request.
*/ inline SearchPlaceIndexForPositionSummary& WithPosition(Aws::VectorThe position specified in the request.
*/ inline SearchPlaceIndexForPositionSummary& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; } private: Aws::String m_dataSource; bool m_dataSourceHasBeenSet = false; Aws::String m_language; bool m_languageHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::Vector