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

Details and path tracking information for a single time a person's path is * tracked in a video. Amazon Rekognition operations that track people's paths * return an array of PersonDetection objects with elements for each * time a person's path is tracked in a video.

For more information, see * GetPersonTracking in the Amazon Rekognition Developer Guide.

See * Also:

AWS * API Reference

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

The time, in milliseconds from the start of the video, that the person's path * was tracked.

*/ inline long long GetTimestamp() const{ return m_timestamp; } /** *

The time, in milliseconds from the start of the video, that the person's path * was tracked.

*/ inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; } /** *

The time, in milliseconds from the start of the video, that the person's path * was tracked.

*/ inline void SetTimestamp(long long value) { m_timestampHasBeenSet = true; m_timestamp = value; } /** *

The time, in milliseconds from the start of the video, that the person's path * was tracked.

*/ inline PersonDetection& WithTimestamp(long long value) { SetTimestamp(value); return *this;} /** *

Details about a person whose path was tracked in a video.

*/ inline const PersonDetail& GetPerson() const{ return m_person; } /** *

Details about a person whose path was tracked in a video.

*/ inline bool PersonHasBeenSet() const { return m_personHasBeenSet; } /** *

Details about a person whose path was tracked in a video.

*/ inline void SetPerson(const PersonDetail& value) { m_personHasBeenSet = true; m_person = value; } /** *

Details about a person whose path was tracked in a video.

*/ inline void SetPerson(PersonDetail&& value) { m_personHasBeenSet = true; m_person = std::move(value); } /** *

Details about a person whose path was tracked in a video.

*/ inline PersonDetection& WithPerson(const PersonDetail& value) { SetPerson(value); return *this;} /** *

Details about a person whose path was tracked in a video.

*/ inline PersonDetection& WithPerson(PersonDetail&& value) { SetPerson(std::move(value)); return *this;} private: long long m_timestamp; bool m_timestampHasBeenSet; PersonDetail m_person; bool m_personHasBeenSet; }; } // namespace Model } // namespace Rekognition } // namespace Aws