/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A summary of the calculated route matrix.See Also:
AWS
* API Reference
The data provider of traffic and road network data used to calculate the * routes. Indicates one of the available providers:
* 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 data provider of traffic and road network data used to calculate the * routes. Indicates one of the available providers:
* Esri
Grab
* Here
For more information about data providers, * see Amazon * Location Service data providers.
*/ inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; } /** *The data provider of traffic and road network data used to calculate the * routes. Indicates one of the available providers:
* 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 data provider of traffic and road network data used to calculate the * routes. Indicates one of the available providers:
* 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 data provider of traffic and road network data used to calculate the * routes. Indicates one of the available providers:
* 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 data provider of traffic and road network data used to calculate the * routes. Indicates one of the available providers:
* Esri
Grab
* Here
For more information about data providers, * see Amazon * Location Service data providers.
*/ inline CalculateRouteMatrixSummary& WithDataSource(const Aws::String& value) { SetDataSource(value); return *this;} /** *The data provider of traffic and road network data used to calculate the * routes. Indicates one of the available providers:
* Esri
Grab
* Here
For more information about data providers, * see Amazon * Location Service data providers.
*/ inline CalculateRouteMatrixSummary& WithDataSource(Aws::String&& value) { SetDataSource(std::move(value)); return *this;} /** *The data provider of traffic and road network data used to calculate the * routes. Indicates one of the available providers:
* Esri
Grab
* Here
For more information about data providers, * see Amazon * Location Service data providers.
*/ inline CalculateRouteMatrixSummary& WithDataSource(const char* value) { SetDataSource(value); return *this;} /** *The unit of measurement for route distances.
*/ inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; } /** *The unit of measurement for route distances.
*/ inline bool DistanceUnitHasBeenSet() const { return m_distanceUnitHasBeenSet; } /** *The unit of measurement for route distances.
*/ inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = value; } /** *The unit of measurement for route distances.
*/ inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = std::move(value); } /** *The unit of measurement for route distances.
*/ inline CalculateRouteMatrixSummary& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;} /** *The unit of measurement for route distances.
*/ inline CalculateRouteMatrixSummary& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;} /** *The count of error results in the route matrix. If this number is 0, all * routes were calculated successfully.
*/ inline int GetErrorCount() const{ return m_errorCount; } /** *The count of error results in the route matrix. If this number is 0, all * routes were calculated successfully.
*/ inline bool ErrorCountHasBeenSet() const { return m_errorCountHasBeenSet; } /** *The count of error results in the route matrix. If this number is 0, all * routes were calculated successfully.
*/ inline void SetErrorCount(int value) { m_errorCountHasBeenSet = true; m_errorCount = value; } /** *The count of error results in the route matrix. If this number is 0, all * routes were calculated successfully.
*/ inline CalculateRouteMatrixSummary& WithErrorCount(int value) { SetErrorCount(value); return *this;} /** *The count of cells in the route matrix. Equal to the number of
* DeparturePositions
multiplied by the number of
* DestinationPositions
.
The count of cells in the route matrix. Equal to the number of
* DeparturePositions
multiplied by the number of
* DestinationPositions
.
The count of cells in the route matrix. Equal to the number of
* DeparturePositions
multiplied by the number of
* DestinationPositions
.
The count of cells in the route matrix. Equal to the number of
* DeparturePositions
multiplied by the number of
* DestinationPositions
.