/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 DescribeTrackerResult { public: AWS_LOCATIONSERVICE_API DescribeTrackerResult(); AWS_LOCATIONSERVICE_API DescribeTrackerResult(const Aws::AmazonWebServiceResult& result); AWS_LOCATIONSERVICE_API DescribeTrackerResult& 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 DescribeTrackerResult& 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 DescribeTrackerResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *

The optional description for the tracker resource.

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

The optional description for the tracker resource.

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

The optional description for the tracker resource.

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

The optional description for the tracker resource.

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

The optional description for the tracker resource.

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

The optional description for the tracker resource.

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

The optional description for the tracker resource.

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

Whether UPDATE events from this tracker in EventBridge are * enabled. If set to true these events will be sent to * EventBridge.

*/ inline bool GetEventBridgeEnabled() const{ return m_eventBridgeEnabled; } /** *

Whether UPDATE events from this tracker in EventBridge are * enabled. If set to true these events will be sent to * EventBridge.

*/ inline void SetEventBridgeEnabled(bool value) { m_eventBridgeEnabled = value; } /** *

Whether UPDATE events from this tracker in EventBridge are * enabled. If set to true these events will be sent to * EventBridge.

*/ inline DescribeTrackerResult& WithEventBridgeEnabled(bool value) { SetEventBridgeEnabled(value); return *this;} /** *

A key identifier for an Amazon * Web Services KMS customer managed key assigned to the Amazon Location * resource.

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *

A key identifier for an Amazon * Web Services KMS customer managed key assigned to the Amazon Location * resource.

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

A key identifier for an Amazon * Web Services KMS customer managed key assigned to the Amazon Location * resource.

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

A key identifier for an Amazon * Web Services KMS customer managed key assigned to the Amazon Location * resource.

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); } /** *

A key identifier for an Amazon * Web Services KMS customer managed key assigned to the Amazon Location * resource.

*/ inline DescribeTrackerResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *

A key identifier for an Amazon * Web Services KMS customer managed key assigned to the Amazon Location * resource.

*/ inline DescribeTrackerResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *

A key identifier for an Amazon * Web Services KMS customer managed key assigned to the Amazon Location * resource.

*/ inline DescribeTrackerResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** *

The position filtering method of the tracker resource.

*/ inline const PositionFiltering& GetPositionFiltering() const{ return m_positionFiltering; } /** *

The position filtering method of the tracker resource.

*/ inline void SetPositionFiltering(const PositionFiltering& value) { m_positionFiltering = value; } /** *

The position filtering method of the tracker resource.

*/ inline void SetPositionFiltering(PositionFiltering&& value) { m_positionFiltering = std::move(value); } /** *

The position filtering method of the tracker resource.

*/ inline DescribeTrackerResult& WithPositionFiltering(const PositionFiltering& value) { SetPositionFiltering(value); return *this;} /** *

The position filtering method of the tracker resource.

*/ inline DescribeTrackerResult& WithPositionFiltering(PositionFiltering&& value) { SetPositionFiltering(std::move(value)); return *this;} /** *

The tags associated with the tracker resource.

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

The tags associated with the tracker resource.

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

The tags associated with the tracker resource.

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

The tags associated with the tracker resource.

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

The tags associated with the tracker resource.

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

The tags associated with the tracker resource.

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

The tags associated with the tracker resource.

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

The tags associated with the tracker resource.

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

The tags associated with the tracker resource.

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

The tags associated with the tracker resource.

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

The tags associated with the tracker resource.

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

The tags associated with the tracker resource.

*/ inline DescribeTrackerResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, 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 DescribeTrackerResult& 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 DescribeTrackerResult& 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 DescribeTrackerResult& 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 DescribeTrackerResult& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} /** *

The name of the tracker resource.

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

The name of the tracker resource.

*/ inline DescribeTrackerResult& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} /** *

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

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

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

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

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

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

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

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

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

*/ inline DescribeTrackerResult& 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 DescribeTrackerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeTrackerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeTrackerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::DateTime m_createTime; Aws::String m_description; bool m_eventBridgeEnabled; Aws::String m_kmsKeyId; PositionFiltering m_positionFiltering; Aws::Map m_tags; Aws::String m_trackerArn; Aws::String m_trackerName; Aws::Utils::DateTime m_updateTime; Aws::String m_requestId; }; } // namespace Model } // namespace LocationService } // namespace Aws