/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LocationService { namespace Model { /** *

A route calculator resource listed in your Amazon Web Services * account.

See Also:

AWS * API Reference

*/ class ListRouteCalculatorsResponseEntry { public: AWS_LOCATIONSERVICE_API ListRouteCalculatorsResponseEntry(); AWS_LOCATIONSERVICE_API ListRouteCalculatorsResponseEntry(Aws::Utils::Json::JsonView jsonValue); AWS_LOCATIONSERVICE_API ListRouteCalculatorsResponseEntry& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the route calculator resource.

*/ inline const Aws::String& GetCalculatorName() const{ return m_calculatorName; } /** *

The name of the route calculator resource.

*/ inline bool CalculatorNameHasBeenSet() const { return m_calculatorNameHasBeenSet; } /** *

The name of the route calculator resource.

*/ inline void SetCalculatorName(const Aws::String& value) { m_calculatorNameHasBeenSet = true; m_calculatorName = value; } /** *

The name of the route calculator resource.

*/ inline void SetCalculatorName(Aws::String&& value) { m_calculatorNameHasBeenSet = true; m_calculatorName = std::move(value); } /** *

The name of the route calculator resource.

*/ inline void SetCalculatorName(const char* value) { m_calculatorNameHasBeenSet = true; m_calculatorName.assign(value); } /** *

The name of the route calculator resource.

*/ inline ListRouteCalculatorsResponseEntry& WithCalculatorName(const Aws::String& value) { SetCalculatorName(value); return *this;} /** *

The name of the route calculator resource.

*/ inline ListRouteCalculatorsResponseEntry& WithCalculatorName(Aws::String&& value) { SetCalculatorName(std::move(value)); return *this;} /** *

The name of the route calculator resource.

*/ inline ListRouteCalculatorsResponseEntry& WithCalculatorName(const char* value) { SetCalculatorName(value); return *this;} /** *

The timestamp when the route calculator resource was created in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

  • For example, * 2020–07-2T12:15:20.000Z+01:00

*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *

The timestamp when the route calculator resource was created in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

  • For example, * 2020–07-2T12:15:20.000Z+01:00

*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** *

The timestamp when the route calculator resource was created in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

  • For example, * 2020–07-2T12:15:20.000Z+01:00

*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** *

The timestamp when the route calculator resource was created in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

  • For example, * 2020–07-2T12:15:20.000Z+01:00

*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** *

The timestamp when the route calculator resource was created in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

  • For example, * 2020–07-2T12:15:20.000Z+01:00

*/ inline ListRouteCalculatorsResponseEntry& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *

The timestamp when the route calculator resource was created in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

  • For example, * 2020–07-2T12:15:20.000Z+01:00

*/ inline ListRouteCalculatorsResponseEntry& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *

The data provider of traffic and road network data. 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. 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. 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. 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. 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. Indicates one of the * available providers:

  • Esri

  • * Grab

  • Here

For * more information about data providers, see Amazon * Location Service data providers.

*/ inline ListRouteCalculatorsResponseEntry& WithDataSource(const Aws::String& value) { SetDataSource(value); return *this;} /** *

The data provider of traffic and road network data. Indicates one of the * available providers:

  • Esri

  • * Grab

  • Here

For * more information about data providers, see Amazon * Location Service data providers.

*/ inline ListRouteCalculatorsResponseEntry& WithDataSource(Aws::String&& value) { SetDataSource(std::move(value)); return *this;} /** *

The data provider of traffic and road network data. Indicates one of the * available providers:

  • Esri

  • * Grab

  • Here

For * more information about data providers, see Amazon * Location Service data providers.

*/ inline ListRouteCalculatorsResponseEntry& WithDataSource(const char* value) { SetDataSource(value); return *this;} /** *

The optional description of the route calculator resource.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The optional description of the route calculator resource.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The optional description of the route calculator resource.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The optional description of the route calculator resource.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The optional description of the route calculator resource.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The optional description of the route calculator resource.

*/ inline ListRouteCalculatorsResponseEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The optional description of the route calculator resource.

*/ inline ListRouteCalculatorsResponseEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The optional description of the route calculator resource.

*/ inline ListRouteCalculatorsResponseEntry& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The timestamp when the route calculator resource was last updated in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

  • For example, * 2020–07-2T12:15:20.000Z+01:00

*/ inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } /** *

The timestamp when the route calculator resource was last updated in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

  • For example, * 2020–07-2T12:15:20.000Z+01:00

*/ inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; } /** *

The timestamp when the route calculator resource was last updated in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

  • For example, * 2020–07-2T12:15:20.000Z+01:00

*/ inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; } /** *

The timestamp when the route calculator resource was last updated in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

  • For example, * 2020–07-2T12:15:20.000Z+01:00

*/ inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); } /** *

The timestamp when the route calculator resource was last updated in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

  • For example, * 2020–07-2T12:15:20.000Z+01:00

*/ inline ListRouteCalculatorsResponseEntry& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} /** *

The timestamp when the route calculator resource was last updated in ISO 8601 * format: YYYY-MM-DDThh:mm:ss.sssZ.

  • For example, * 2020–07-2T12:15:20.000Z+01:00

*/ inline ListRouteCalculatorsResponseEntry& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} private: Aws::String m_calculatorName; bool m_calculatorNameHasBeenSet = false; Aws::Utils::DateTime m_createTime; bool m_createTimeHasBeenSet = false; Aws::String m_dataSource; bool m_dataSourceHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet = false; }; } // namespace Model } // namespace LocationService } // namespace Aws