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

Object containing both the face metadata (stored in the backend database), * and facial attributes that are detected but aren't stored in the * database.

See Also:

AWS * API Reference

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

Describes the face properties such as the bounding box, face ID, image ID of * the input image, and external image ID that you assigned.

*/ inline const Face& GetFace() const{ return m_face; } /** *

Describes the face properties such as the bounding box, face ID, image ID of * the input image, and external image ID that you assigned.

*/ inline bool FaceHasBeenSet() const { return m_faceHasBeenSet; } /** *

Describes the face properties such as the bounding box, face ID, image ID of * the input image, and external image ID that you assigned.

*/ inline void SetFace(const Face& value) { m_faceHasBeenSet = true; m_face = value; } /** *

Describes the face properties such as the bounding box, face ID, image ID of * the input image, and external image ID that you assigned.

*/ inline void SetFace(Face&& value) { m_faceHasBeenSet = true; m_face = std::move(value); } /** *

Describes the face properties such as the bounding box, face ID, image ID of * the input image, and external image ID that you assigned.

*/ inline FaceRecord& WithFace(const Face& value) { SetFace(value); return *this;} /** *

Describes the face properties such as the bounding box, face ID, image ID of * the input image, and external image ID that you assigned.

*/ inline FaceRecord& WithFace(Face&& value) { SetFace(std::move(value)); return *this;} /** *

Structure containing attributes of the face that the algorithm detected.

*/ inline const FaceDetail& GetFaceDetail() const{ return m_faceDetail; } /** *

Structure containing attributes of the face that the algorithm detected.

*/ inline bool FaceDetailHasBeenSet() const { return m_faceDetailHasBeenSet; } /** *

Structure containing attributes of the face that the algorithm detected.

*/ inline void SetFaceDetail(const FaceDetail& value) { m_faceDetailHasBeenSet = true; m_faceDetail = value; } /** *

Structure containing attributes of the face that the algorithm detected.

*/ inline void SetFaceDetail(FaceDetail&& value) { m_faceDetailHasBeenSet = true; m_faceDetail = std::move(value); } /** *

Structure containing attributes of the face that the algorithm detected.

*/ inline FaceRecord& WithFaceDetail(const FaceDetail& value) { SetFaceDetail(value); return *this;} /** *

Structure containing attributes of the face that the algorithm detected.

*/ inline FaceRecord& WithFaceDetail(FaceDetail&& value) { SetFaceDetail(std::move(value)); return *this;} private: Face m_face; bool m_faceHasBeenSet = false; FaceDetail m_faceDetail; bool m_faceDetailHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws