/** * 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 CreateTrackerResult { public: AWS_LOCATIONSERVICE_API CreateTrackerResult(); AWS_LOCATIONSERVICE_API CreateTrackerResult(const Aws::AmazonWebServiceResult& result); AWS_LOCATIONSERVICE_API CreateTrackerResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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

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

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

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

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

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

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

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

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

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

The Amazon Resource Name (ARN) for the tracker resource. Used when you need * to specify a resource across all Amazon Web Services.

  • Format * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

    *
*/ inline const Aws::String& GetTrackerArn() const{ return m_trackerArn; } /** *

The Amazon Resource Name (ARN) for the tracker resource. Used when you need * to specify a resource across all Amazon Web Services.

  • Format * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

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

The Amazon Resource Name (ARN) for the tracker resource. Used when you need * to specify a resource across all Amazon Web Services.

  • Format * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

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

The Amazon Resource Name (ARN) for the tracker resource. Used when you need * to specify a resource across all Amazon Web Services.

  • Format * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

    *
*/ inline void SetTrackerArn(const char* value) { m_trackerArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the tracker resource. Used when you need * to specify a resource across all Amazon Web Services.

  • Format * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

    *
*/ inline CreateTrackerResult& WithTrackerArn(const Aws::String& value) { SetTrackerArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the tracker resource. Used when you need * to specify a resource across all Amazon Web Services.

  • Format * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

    *
*/ inline CreateTrackerResult& WithTrackerArn(Aws::String&& value) { SetTrackerArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the tracker resource. Used when you need * to specify a resource across all Amazon Web Services.

  • Format * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

    *
*/ inline CreateTrackerResult& WithTrackerArn(const char* value) { SetTrackerArn(value); return *this;} /** *

The name of the tracker resource.

*/ inline const Aws::String& GetTrackerName() const{ return m_trackerName; } /** *

The name of the tracker resource.

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

The name of the tracker resource.

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

The name of the tracker resource.

*/ inline void SetTrackerName(const char* value) { m_trackerName.assign(value); } /** *

The name of the tracker resource.

*/ inline CreateTrackerResult& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} /** *

The name of the tracker resource.

*/ inline CreateTrackerResult& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} /** *

The name of the tracker resource.

*/ inline CreateTrackerResult& WithTrackerName(const char* value) { SetTrackerName(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 CreateTrackerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateTrackerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateTrackerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::DateTime m_createTime; Aws::String m_trackerArn; Aws::String m_trackerName; Aws::String m_requestId; }; } // namespace Model } // namespace LocationService } // namespace Aws