/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a person whose face matches a face(s) in an Amazon
* Rekognition collection. Includes information about the faces in the Amazon
* Rekognition collection (FaceMatch), information about the person
* (PersonDetail), and the time stamp for when the person was detected in a
* video. An array of PersonMatch
objects is returned by
* GetFaceSearch. See Also:
AWS
* API Reference
The time, in milliseconds from the beginning of the video, that the person * was matched in the video.
*/ inline long long GetTimestamp() const{ return m_timestamp; } /** *The time, in milliseconds from the beginning of the video, that the person * was matched in the video.
*/ inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; } /** *The time, in milliseconds from the beginning of the video, that the person * was matched in the video.
*/ inline void SetTimestamp(long long value) { m_timestampHasBeenSet = true; m_timestamp = value; } /** *The time, in milliseconds from the beginning of the video, that the person * was matched in the video.
*/ inline PersonMatch& WithTimestamp(long long value) { SetTimestamp(value); return *this;} /** *Information about the matched person.
*/ inline const PersonDetail& GetPerson() const{ return m_person; } /** *Information about the matched person.
*/ inline bool PersonHasBeenSet() const { return m_personHasBeenSet; } /** *Information about the matched person.
*/ inline void SetPerson(const PersonDetail& value) { m_personHasBeenSet = true; m_person = value; } /** *Information about the matched person.
*/ inline void SetPerson(PersonDetail&& value) { m_personHasBeenSet = true; m_person = std::move(value); } /** *Information about the matched person.
*/ inline PersonMatch& WithPerson(const PersonDetail& value) { SetPerson(value); return *this;} /** *Information about the matched person.
*/ inline PersonMatch& WithPerson(PersonDetail&& value) { SetPerson(std::move(value)); return *this;} /** *Information about the faces in the input collection that match the face of a * person in the video.
*/ inline const Aws::VectorInformation about the faces in the input collection that match the face of a * person in the video.
*/ inline bool FaceMatchesHasBeenSet() const { return m_faceMatchesHasBeenSet; } /** *Information about the faces in the input collection that match the face of a * person in the video.
*/ inline void SetFaceMatches(const Aws::VectorInformation about the faces in the input collection that match the face of a * person in the video.
*/ inline void SetFaceMatches(Aws::VectorInformation about the faces in the input collection that match the face of a * person in the video.
*/ inline PersonMatch& WithFaceMatches(const Aws::VectorInformation about the faces in the input collection that match the face of a * person in the video.
*/ inline PersonMatch& WithFaceMatches(Aws::VectorInformation about the faces in the input collection that match the face of a * person in the video.
*/ inline PersonMatch& AddFaceMatches(const FaceMatch& value) { m_faceMatchesHasBeenSet = true; m_faceMatches.push_back(value); return *this; } /** *Information about the faces in the input collection that match the face of a * person in the video.
*/ inline PersonMatch& AddFaceMatches(FaceMatch&& value) { m_faceMatchesHasBeenSet = true; m_faceMatches.push_back(std::move(value)); return *this; } private: long long m_timestamp; bool m_timestampHasBeenSet = false; PersonDetail m_person; bool m_personHasBeenSet = false; Aws::Vector