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

The Amazon Resource Name (ARN) for the route calculator resource. Use the ARN * when you specify a resource across all 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 all 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 all 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 all 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 all Amazon Web Services.

  • *

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

*/ inline CreateRouteCalculatorResult& 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 all Amazon Web Services.

  • *

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

*/ inline CreateRouteCalculatorResult& 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 all Amazon Web Services.

  • *

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

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

The name of the route calculator resource.

  • For example, * ExampleRouteCalculator.

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

The name of the route calculator resource.

  • For example, * ExampleRouteCalculator.

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

The name of the route calculator resource.

  • For example, * ExampleRouteCalculator.

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

The name of the route calculator resource.

  • For example, * ExampleRouteCalculator.

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

The name of the route calculator resource.

  • For example, * ExampleRouteCalculator.

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

The name of the route calculator resource.

  • For example, * ExampleRouteCalculator.

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

The name of the route calculator resource.

  • For example, * ExampleRouteCalculator.

*/ inline CreateRouteCalculatorResult& 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 CreateRouteCalculatorResult& 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 CreateRouteCalculatorResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(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 CreateRouteCalculatorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateRouteCalculatorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateRouteCalculatorResult& 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_requestId; }; } // namespace Model } // namespace LocationService } // namespace Aws