This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-rekognition/include/aws/rekognition/model/FaceDetection.h

108 lines
2.9 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/rekognition/Rekognition_EXPORTS.h>
#include <aws/rekognition/model/FaceDetail.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Rekognition
{
namespace Model
{
/**
* <p>Information about a face detected in a video analysis request and the time
* the face was detected in the video. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/rekognition-2016-06-27/FaceDetection">AWS
* API Reference</a></p>
*/
class AWS_REKOGNITION_API FaceDetection
{
public:
FaceDetection();
FaceDetection(Aws::Utils::Json::JsonView jsonValue);
FaceDetection& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Time, in milliseconds from the start of the video, that the face was
* detected.</p>
*/
inline long long GetTimestamp() const{ return m_timestamp; }
/**
* <p>Time, in milliseconds from the start of the video, that the face was
* detected.</p>
*/
inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
/**
* <p>Time, in milliseconds from the start of the video, that the face was
* detected.</p>
*/
inline void SetTimestamp(long long value) { m_timestampHasBeenSet = true; m_timestamp = value; }
/**
* <p>Time, in milliseconds from the start of the video, that the face was
* detected.</p>
*/
inline FaceDetection& WithTimestamp(long long value) { SetTimestamp(value); return *this;}
/**
* <p>The face properties for the detected face.</p>
*/
inline const FaceDetail& GetFace() const{ return m_face; }
/**
* <p>The face properties for the detected face.</p>
*/
inline bool FaceHasBeenSet() const { return m_faceHasBeenSet; }
/**
* <p>The face properties for the detected face.</p>
*/
inline void SetFace(const FaceDetail& value) { m_faceHasBeenSet = true; m_face = value; }
/**
* <p>The face properties for the detected face.</p>
*/
inline void SetFace(FaceDetail&& value) { m_faceHasBeenSet = true; m_face = std::move(value); }
/**
* <p>The face properties for the detected face.</p>
*/
inline FaceDetection& WithFace(const FaceDetail& value) { SetFace(value); return *this;}
/**
* <p>The face properties for the detected face.</p>
*/
inline FaceDetection& WithFace(FaceDetail&& value) { SetFace(std::move(value)); return *this;}
private:
long long m_timestamp;
bool m_timestampHasBeenSet;
FaceDetail m_face;
bool m_faceHasBeenSet;
};
} // namespace Model
} // namespace Rekognition
} // namespace Aws