/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a detected celebrity and the time the celebrity was
* detected in a stored video. For more information, see GetCelebrityRecognition in
* the Amazon Rekognition Developer Guide.See Also:
AWS
* API Reference
The time, in milliseconds from the start of the video, that the celebrity was
* recognized. Note that Timestamp
is not guaranteed to be accurate to
* the individual frame where the celebrity first appears.
The time, in milliseconds from the start of the video, that the celebrity was
* recognized. Note that Timestamp
is not guaranteed to be accurate to
* the individual frame where the celebrity first appears.
The time, in milliseconds from the start of the video, that the celebrity was
* recognized. Note that Timestamp
is not guaranteed to be accurate to
* the individual frame where the celebrity first appears.
The time, in milliseconds from the start of the video, that the celebrity was
* recognized. Note that Timestamp
is not guaranteed to be accurate to
* the individual frame where the celebrity first appears.
Information about a recognized celebrity.
*/ inline const CelebrityDetail& GetCelebrity() const{ return m_celebrity; } /** *Information about a recognized celebrity.
*/ inline bool CelebrityHasBeenSet() const { return m_celebrityHasBeenSet; } /** *Information about a recognized celebrity.
*/ inline void SetCelebrity(const CelebrityDetail& value) { m_celebrityHasBeenSet = true; m_celebrity = value; } /** *Information about a recognized celebrity.
*/ inline void SetCelebrity(CelebrityDetail&& value) { m_celebrityHasBeenSet = true; m_celebrity = std::move(value); } /** *Information about a recognized celebrity.
*/ inline CelebrityRecognition& WithCelebrity(const CelebrityDetail& value) { SetCelebrity(value); return *this;} /** *Information about a recognized celebrity.
*/ inline CelebrityRecognition& WithCelebrity(CelebrityDetail&& value) { SetCelebrity(std::move(value)); return *this;} private: long long m_timestamp; bool m_timestampHasBeenSet = false; CelebrityDetail m_celebrity; bool m_celebrityHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws