/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace LocationService { namespace Model { class DescribeRouteCalculatorResult { public: AWS_LOCATIONSERVICE_API DescribeRouteCalculatorResult(); AWS_LOCATIONSERVICE_API DescribeRouteCalculatorResult(const Aws::AmazonWebServiceResult& result); AWS_LOCATIONSERVICE_API DescribeRouteCalculatorResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) for the Route calculator resource. Use the ARN * when you specify a resource across Amazon Web Services.

  • Format * example: * arn:aws:geo:region:account-id:route-calculator/ExampleCalculator *

*/ inline const Aws::String& GetCalculatorArn() const{ return m_calculatorArn; } /** *

The Amazon Resource Name (ARN) for the Route calculator resource. Use the ARN * when you specify a resource across Amazon Web Services.

  • Format * example: * arn:aws:geo:region:account-id:route-calculator/ExampleCalculator *

*/ inline void SetCalculatorArn(const Aws::String& value) { m_calculatorArn = value; } /** *

The Amazon Resource Name (ARN) for the Route calculator resource. Use the ARN * when you specify a resource across Amazon Web Services.

  • Format * example: * arn:aws:geo:region:account-id:route-calculator/ExampleCalculator *

*/ inline void SetCalculatorArn(Aws::String&& value) { m_calculatorArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the Route calculator resource. Use the ARN * when you specify a resource across Amazon Web Services.

  • Format * example: * arn:aws:geo:region:account-id:route-calculator/ExampleCalculator *

*/ inline void SetCalculatorArn(const char* value) { m_calculatorArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the Route calculator resource. Use the ARN * when you specify a resource across Amazon Web Services.

  • Format * example: * arn:aws:geo:region:account-id:route-calculator/ExampleCalculator *

*/ inline DescribeRouteCalculatorResult& WithCalculatorArn(const Aws::String& value) { SetCalculatorArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the Route calculator resource. Use the ARN * when you specify a resource across Amazon Web Services.

  • Format * example: * arn:aws:geo:region:account-id:route-calculator/ExampleCalculator *

*/ inline DescribeRouteCalculatorResult& WithCalculatorArn(Aws::String&& value) { SetCalculatorArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the Route calculator resource. Use the ARN * when you specify a resource across Amazon Web Services.

  • Format * example: * arn:aws:geo:region:account-id:route-calculator/ExampleCalculator *

*/ inline DescribeRouteCalculatorResult& WithCalculatorArn(const char* value) { SetCalculatorArn(value); return *this;} /** *

The name of the route calculator resource being described.

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

The name of the route calculator resource being described.

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

The name of the route calculator resource being described.

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

The name of the route calculator resource being described.

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

The name of the route calculator resource being described.

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

The name of the route calculator resource being described.

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

The name of the route calculator resource being described.

*/ inline DescribeRouteCalculatorResult& 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 void SetCreateTime(const Aws::Utils::DateTime& value) { 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_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 DescribeRouteCalculatorResult& 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 DescribeRouteCalculatorResult& 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 void SetDataSource(const Aws::String& value) { 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_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_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 DescribeRouteCalculatorResult& 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 DescribeRouteCalculatorResult& 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 DescribeRouteCalculatorResult& 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 void SetDescription(const Aws::String& value) { m_description = value; } /** *

The optional description of the route calculator resource.

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

The optional description of the route calculator resource.

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

The optional description of the route calculator resource.

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

The optional description of the route calculator resource.

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

The optional description of the route calculator resource.

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

Tags associated with route calculator resource.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Tags associated with route calculator resource.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

Tags associated with route calculator resource.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

Tags associated with route calculator resource.

*/ inline DescribeRouteCalculatorResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Tags associated with route calculator resource.

*/ inline DescribeRouteCalculatorResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Tags associated with route calculator resource.

*/ inline DescribeRouteCalculatorResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

Tags associated with route calculator resource.

*/ inline DescribeRouteCalculatorResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

Tags associated with route calculator resource.

*/ inline DescribeRouteCalculatorResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags associated with route calculator resource.

*/ inline DescribeRouteCalculatorResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Tags associated with route calculator resource.

*/ inline DescribeRouteCalculatorResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags associated with route calculator resource.

*/ inline DescribeRouteCalculatorResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

Tags associated with route calculator resource.

*/ inline DescribeRouteCalculatorResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, 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 void SetUpdateTime(const Aws::Utils::DateTime& value) { 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_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 DescribeRouteCalculatorResult& 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 DescribeRouteCalculatorResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeRouteCalculatorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeRouteCalculatorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeRouteCalculatorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_calculatorArn; Aws::String m_calculatorName; Aws::Utils::DateTime m_createTime; Aws::String m_dataSource; Aws::String m_description; Aws::Map m_tags; Aws::Utils::DateTime m_updateTime; Aws::String m_requestId; }; } // namespace Model } // namespace LocationService } // namespace Aws