/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the face properties such as the bounding box, face ID, image ID of
* the input image, and external image ID that you assigned. See
* Also:
AWS
* API Reference
Unique identifier that Amazon Rekognition assigns to the face.
*/ inline const Aws::String& GetFaceId() const{ return m_faceId; } /** *Unique identifier that Amazon Rekognition assigns to the face.
*/ inline bool FaceIdHasBeenSet() const { return m_faceIdHasBeenSet; } /** *Unique identifier that Amazon Rekognition assigns to the face.
*/ inline void SetFaceId(const Aws::String& value) { m_faceIdHasBeenSet = true; m_faceId = value; } /** *Unique identifier that Amazon Rekognition assigns to the face.
*/ inline void SetFaceId(Aws::String&& value) { m_faceIdHasBeenSet = true; m_faceId = std::move(value); } /** *Unique identifier that Amazon Rekognition assigns to the face.
*/ inline void SetFaceId(const char* value) { m_faceIdHasBeenSet = true; m_faceId.assign(value); } /** *Unique identifier that Amazon Rekognition assigns to the face.
*/ inline Face& WithFaceId(const Aws::String& value) { SetFaceId(value); return *this;} /** *Unique identifier that Amazon Rekognition assigns to the face.
*/ inline Face& WithFaceId(Aws::String&& value) { SetFaceId(std::move(value)); return *this;} /** *Unique identifier that Amazon Rekognition assigns to the face.
*/ inline Face& WithFaceId(const char* value) { SetFaceId(value); return *this;} /** *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 Face& WithBoundingBox(const BoundingBox& value) { SetBoundingBox(value); return *this;} /** *Bounding box of the face.
*/ inline Face& WithBoundingBox(BoundingBox&& value) { SetBoundingBox(std::move(value)); return *this;} /** *Unique identifier that Amazon Rekognition assigns to the input image.
*/ inline const Aws::String& GetImageId() const{ return m_imageId; } /** *Unique identifier that Amazon Rekognition assigns to the input image.
*/ inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; } /** *Unique identifier that Amazon Rekognition assigns to the input image.
*/ inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; } /** *Unique identifier that Amazon Rekognition assigns to the input image.
*/ inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); } /** *Unique identifier that Amazon Rekognition assigns to the input image.
*/ inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); } /** *Unique identifier that Amazon Rekognition assigns to the input image.
*/ inline Face& WithImageId(const Aws::String& value) { SetImageId(value); return *this;} /** *Unique identifier that Amazon Rekognition assigns to the input image.
*/ inline Face& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;} /** *Unique identifier that Amazon Rekognition assigns to the input image.
*/ inline Face& WithImageId(const char* value) { SetImageId(value); return *this;} /** *Identifier that you assign to all the faces in the input image.
*/ inline const Aws::String& GetExternalImageId() const{ return m_externalImageId; } /** *Identifier that you assign to all the faces in the input image.
*/ inline bool ExternalImageIdHasBeenSet() const { return m_externalImageIdHasBeenSet; } /** *Identifier that you assign to all the faces in the input image.
*/ inline void SetExternalImageId(const Aws::String& value) { m_externalImageIdHasBeenSet = true; m_externalImageId = value; } /** *Identifier that you assign to all the faces in the input image.
*/ inline void SetExternalImageId(Aws::String&& value) { m_externalImageIdHasBeenSet = true; m_externalImageId = std::move(value); } /** *Identifier that you assign to all the faces in the input image.
*/ inline void SetExternalImageId(const char* value) { m_externalImageIdHasBeenSet = true; m_externalImageId.assign(value); } /** *Identifier that you assign to all the faces in the input image.
*/ inline Face& WithExternalImageId(const Aws::String& value) { SetExternalImageId(value); return *this;} /** *Identifier that you assign to all the faces in the input image.
*/ inline Face& WithExternalImageId(Aws::String&& value) { SetExternalImageId(std::move(value)); return *this;} /** *Identifier that you assign to all the faces in the input image.
*/ inline Face& WithExternalImageId(const char* value) { SetExternalImageId(value); return *this;} /** *Confidence level that the bounding box contains a face (and not a different * object such as a tree).
*/ inline double GetConfidence() const{ return m_confidence; } /** *Confidence level that the bounding box contains a face (and not a different * object such as a tree).
*/ inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; } /** *Confidence level that the bounding box contains a face (and not a different * object such as a tree).
*/ inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; } /** *Confidence level that the bounding box contains a face (and not a different * object such as a tree).
*/ inline Face& WithConfidence(double value) { SetConfidence(value); return *this;} /** *The version of the face detect and storage model that was used when indexing * the face vector.
*/ inline const Aws::String& GetIndexFacesModelVersion() const{ return m_indexFacesModelVersion; } /** *The version of the face detect and storage model that was used when indexing * the face vector.
*/ inline bool IndexFacesModelVersionHasBeenSet() const { return m_indexFacesModelVersionHasBeenSet; } /** *The version of the face detect and storage model that was used when indexing * the face vector.
*/ inline void SetIndexFacesModelVersion(const Aws::String& value) { m_indexFacesModelVersionHasBeenSet = true; m_indexFacesModelVersion = value; } /** *The version of the face detect and storage model that was used when indexing * the face vector.
*/ inline void SetIndexFacesModelVersion(Aws::String&& value) { m_indexFacesModelVersionHasBeenSet = true; m_indexFacesModelVersion = std::move(value); } /** *The version of the face detect and storage model that was used when indexing * the face vector.
*/ inline void SetIndexFacesModelVersion(const char* value) { m_indexFacesModelVersionHasBeenSet = true; m_indexFacesModelVersion.assign(value); } /** *The version of the face detect and storage model that was used when indexing * the face vector.
*/ inline Face& WithIndexFacesModelVersion(const Aws::String& value) { SetIndexFacesModelVersion(value); return *this;} /** *The version of the face detect and storage model that was used when indexing * the face vector.
*/ inline Face& WithIndexFacesModelVersion(Aws::String&& value) { SetIndexFacesModelVersion(std::move(value)); return *this;} /** *The version of the face detect and storage model that was used when indexing * the face vector.
*/ inline Face& WithIndexFacesModelVersion(const char* value) { SetIndexFacesModelVersion(value); return *this;} /** *Unique identifier assigned to the user.
*/ inline const Aws::String& GetUserId() const{ return m_userId; } /** *Unique identifier assigned to the user.
*/ inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } /** *Unique identifier assigned to the user.
*/ inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } /** *Unique identifier assigned to the user.
*/ inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } /** *Unique identifier assigned to the user.
*/ inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } /** *Unique identifier assigned to the user.
*/ inline Face& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} /** *Unique identifier assigned to the user.
*/ inline Face& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} /** *Unique identifier assigned to the user.
*/ inline Face& WithUserId(const char* value) { SetUserId(value); return *this;} private: Aws::String m_faceId; bool m_faceIdHasBeenSet = false; BoundingBox m_boundingBox; bool m_boundingBoxHasBeenSet = false; Aws::String m_imageId; bool m_imageIdHasBeenSet = false; Aws::String m_externalImageId; bool m_externalImageIdHasBeenSet = false; double m_confidence; bool m_confidenceHasBeenSet = false; Aws::String m_indexFacesModelVersion; bool m_indexFacesModelVersionHasBeenSet = false; Aws::String m_userId; bool m_userIdHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws