/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides face metadata. In addition, it also provides the confidence in the
* match of this face with the input face.See Also:
AWS
* API Reference
Confidence in the match of this face with the input face.
*/ inline double GetSimilarity() const{ return m_similarity; } /** *Confidence in the match of this face with the input face.
*/ inline bool SimilarityHasBeenSet() const { return m_similarityHasBeenSet; } /** *Confidence in the match of this face with the input face.
*/ inline void SetSimilarity(double value) { m_similarityHasBeenSet = true; m_similarity = value; } /** *Confidence in the match of this face with the input face.
*/ inline FaceMatch& WithSimilarity(double value) { SetSimilarity(value); return *this;} /** *Describes the face properties such as the bounding box, face ID, image ID of * the source 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 source 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 source 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 source 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 source image, and external image ID that you assigned.
*/ inline FaceMatch& WithFace(const Face& value) { SetFace(value); return *this;} /** *Describes the face properties such as the bounding box, face ID, image ID of * the source image, and external image ID that you assigned.
*/ inline FaceMatch& WithFace(Face&& value) { SetFace(std::move(value)); return *this;} private: double m_similarity; bool m_similarityHasBeenSet = false; Face m_face; bool m_faceHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws