/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides face metadata for target image faces that are analyzed by
* CompareFaces and RecognizeCelebrities.See
* Also:
AWS
* API Reference
Bounding box of the face.
*/ inline const BoundingBox& GetBoundingBox() const{ return m_boundingBox; } /** *Bounding box of the face.
*/ inline bool BoundingBoxHasBeenSet() const { return m_boundingBoxHasBeenSet; } /** *Bounding box of the face.
*/ inline void SetBoundingBox(const BoundingBox& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = value; } /** *Bounding box of the face.
*/ inline void SetBoundingBox(BoundingBox&& value) { m_boundingBoxHasBeenSet = true; m_boundingBox = std::move(value); } /** *Bounding box of the face.
*/ inline ComparedFace& WithBoundingBox(const BoundingBox& value) { SetBoundingBox(value); return *this;} /** *Bounding box of the face.
*/ inline ComparedFace& WithBoundingBox(BoundingBox&& value) { SetBoundingBox(std::move(value)); return *this;} /** *Level of confidence that what the bounding box contains is a face.
*/ inline double GetConfidence() const{ return m_confidence; } /** *Level of confidence that what the bounding box contains is a face.
*/ inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; } /** *Level of confidence that what the bounding box contains is a face.
*/ inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; } /** *Level of confidence that what the bounding box contains is a face.
*/ inline ComparedFace& WithConfidence(double value) { SetConfidence(value); return *this;} /** *An array of facial landmarks.
*/ inline const Aws::VectorAn array of facial landmarks.
*/ inline bool LandmarksHasBeenSet() const { return m_landmarksHasBeenSet; } /** *An array of facial landmarks.
*/ inline void SetLandmarks(const Aws::VectorAn array of facial landmarks.
*/ inline void SetLandmarks(Aws::VectorAn array of facial landmarks.
*/ inline ComparedFace& WithLandmarks(const Aws::VectorAn array of facial landmarks.
*/ inline ComparedFace& WithLandmarks(Aws::VectorAn array of facial landmarks.
*/ inline ComparedFace& AddLandmarks(const Landmark& value) { m_landmarksHasBeenSet = true; m_landmarks.push_back(value); return *this; } /** *An array of facial landmarks.
*/ inline ComparedFace& AddLandmarks(Landmark&& value) { m_landmarksHasBeenSet = true; m_landmarks.push_back(std::move(value)); return *this; } /** *Indicates the pose of the face as determined by its pitch, roll, and yaw.
*/ inline const Pose& GetPose() const{ return m_pose; } /** *Indicates the pose of the face as determined by its pitch, roll, and yaw.
*/ inline bool PoseHasBeenSet() const { return m_poseHasBeenSet; } /** *Indicates the pose of the face as determined by its pitch, roll, and yaw.
*/ inline void SetPose(const Pose& value) { m_poseHasBeenSet = true; m_pose = value; } /** *Indicates the pose of the face as determined by its pitch, roll, and yaw.
*/ inline void SetPose(Pose&& value) { m_poseHasBeenSet = true; m_pose = std::move(value); } /** *Indicates the pose of the face as determined by its pitch, roll, and yaw.
*/ inline ComparedFace& WithPose(const Pose& value) { SetPose(value); return *this;} /** *Indicates the pose of the face as determined by its pitch, roll, and yaw.
*/ inline ComparedFace& WithPose(Pose&& value) { SetPose(std::move(value)); return *this;} /** *Identifies face image brightness and sharpness.
*/ inline const ImageQuality& GetQuality() const{ return m_quality; } /** *Identifies face image brightness and sharpness.
*/ inline bool QualityHasBeenSet() const { return m_qualityHasBeenSet; } /** *Identifies face image brightness and sharpness.
*/ inline void SetQuality(const ImageQuality& value) { m_qualityHasBeenSet = true; m_quality = value; } /** *Identifies face image brightness and sharpness.
*/ inline void SetQuality(ImageQuality&& value) { m_qualityHasBeenSet = true; m_quality = std::move(value); } /** *Identifies face image brightness and sharpness.
*/ inline ComparedFace& WithQuality(const ImageQuality& value) { SetQuality(value); return *this;} /** *Identifies face image brightness and sharpness.
*/ inline ComparedFace& WithQuality(ImageQuality&& value) { SetQuality(std::move(value)); return *this;} private: BoundingBox m_boundingBox; bool m_boundingBoxHasBeenSet; double m_confidence; bool m_confidenceHasBeenSet; Aws::Vector