7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/ComparedSourceImageFace.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rekognition/model/OrientationCorrection.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/rekognition/model/CompareFacesMatch.h>
13#include <aws/rekognition/model/ComparedFace.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template<
typename SourceImageFaceT = ComparedSourceImageFace>
46 void SetSourceImageFace(SourceImageFaceT&& value) { m_sourceImageFaceHasBeenSet =
true; m_sourceImageFace = std::forward<SourceImageFaceT>(value); }
47 template<
typename SourceImageFaceT = ComparedSourceImageFace>
59 template<
typename FaceMatchesT = Aws::Vector<CompareFacesMatch>>
60 void SetFaceMatches(FaceMatchesT&& value) { m_faceMatchesHasBeenSet =
true; m_faceMatches = std::forward<FaceMatchesT>(value); }
61 template<
typename FaceMatchesT = Aws::Vector<CompareFacesMatch>>
63 template<
typename FaceMatchesT = CompareFacesMatch>
64 CompareFacesResult&
AddFaceMatches(FaceMatchesT&& value) { m_faceMatchesHasBeenSet =
true; m_faceMatches.emplace_back(std::forward<FaceMatchesT>(value));
return *
this; }
73 template<
typename UnmatchedFacesT = Aws::Vector<ComparedFace>>
74 void SetUnmatchedFaces(UnmatchedFacesT&& value) { m_unmatchedFacesHasBeenSet =
true; m_unmatchedFaces = std::forward<UnmatchedFacesT>(value); }
75 template<
typename UnmatchedFacesT = Aws::Vector<ComparedFace>>
77 template<
typename UnmatchedFacesT = ComparedFace>
78 CompareFacesResult&
AddUnmatchedFaces(UnmatchedFacesT&& value) { m_unmatchedFacesHasBeenSet =
true; m_unmatchedFaces.emplace_back(std::forward<UnmatchedFacesT>(value));
return *
this; }
122 template<
typename RequestIdT = Aws::String>
123 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
124 template<
typename RequestIdT = Aws::String>
130 bool m_sourceImageFaceHasBeenSet =
false;
133 bool m_faceMatchesHasBeenSet =
false;
136 bool m_unmatchedFacesHasBeenSet =
false;
139 bool m_sourceImageOrientationCorrectionHasBeenSet =
false;
142 bool m_targetImageOrientationCorrectionHasBeenSet =
false;
145 bool m_requestIdHasBeenSet =
false;
void SetSourceImageOrientationCorrection(OrientationCorrection value)
void SetRequestId(RequestIdT &&value)
const ComparedSourceImageFace & GetSourceImageFace() const
AWS_REKOGNITION_API CompareFacesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFaceMatches(FaceMatchesT &&value)
const Aws::Vector< CompareFacesMatch > & GetFaceMatches() const
const Aws::Vector< ComparedFace > & GetUnmatchedFaces() const
CompareFacesResult & AddUnmatchedFaces(UnmatchedFacesT &&value)
CompareFacesResult & WithSourceImageOrientationCorrection(OrientationCorrection value)
CompareFacesResult & WithUnmatchedFaces(UnmatchedFacesT &&value)
CompareFacesResult & WithSourceImageFace(SourceImageFaceT &&value)
CompareFacesResult & AddFaceMatches(FaceMatchesT &&value)
const Aws::String & GetRequestId() const
CompareFacesResult & WithFaceMatches(FaceMatchesT &&value)
AWS_REKOGNITION_API CompareFacesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTargetImageOrientationCorrection(OrientationCorrection value)
void SetUnmatchedFaces(UnmatchedFacesT &&value)
AWS_REKOGNITION_API CompareFacesResult()=default
CompareFacesResult & WithRequestId(RequestIdT &&value)
void SetSourceImageFace(SourceImageFaceT &&value)
CompareFacesResult & WithTargetImageOrientationCorrection(OrientationCorrection value)
OrientationCorrection GetSourceImageOrientationCorrection() const
OrientationCorrection GetTargetImageOrientationCorrection() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue