7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rekognition/Rekognition_EXPORTS.h>
10#include <aws/rekognition/model/CompareFacesMatch.h>
11#include <aws/rekognition/model/ComparedFace.h>
12#include <aws/rekognition/model/ComparedSourceImageFace.h>
13#include <aws/rekognition/model/OrientationCorrection.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace Rekognition {
39 template <
typename SourceImageFaceT = ComparedSourceImageFace>
41 m_sourceImageFaceHasBeenSet =
true;
42 m_sourceImageFace = std::forward<SourceImageFaceT>(value);
44 template <
typename SourceImageFaceT = ComparedSourceImageFace>
59 template <
typename FaceMatchesT = Aws::Vector<CompareFacesMatch>>
61 m_faceMatchesHasBeenSet =
true;
62 m_faceMatches = std::forward<FaceMatchesT>(value);
64 template <
typename FaceMatchesT = Aws::Vector<CompareFacesMatch>>
69 template <
typename FaceMatchesT = CompareFacesMatch>
71 m_faceMatchesHasBeenSet =
true;
72 m_faceMatches.emplace_back(std::forward<FaceMatchesT>(value));
83 template <
typename UnmatchedFacesT = Aws::Vector<ComparedFace>>
85 m_unmatchedFacesHasBeenSet =
true;
86 m_unmatchedFaces = std::forward<UnmatchedFacesT>(value);
88 template <
typename UnmatchedFacesT = Aws::Vector<ComparedFace>>
93 template <
typename UnmatchedFacesT = ComparedFace>
95 m_unmatchedFacesHasBeenSet =
true;
96 m_unmatchedFaces.emplace_back(std::forward<UnmatchedFacesT>(value));
117 m_sourceImageOrientationCorrectionHasBeenSet =
true;
118 m_sourceImageOrientationCorrection = value;
142 m_targetImageOrientationCorrectionHasBeenSet =
true;
143 m_targetImageOrientationCorrection = value;
154 template <
typename RequestIdT = Aws::String>
156 m_requestIdHasBeenSet =
true;
157 m_requestId = std::forward<RequestIdT>(value);
159 template <
typename RequestIdT = Aws::String>
167 bool m_sourceImageFaceHasBeenSet =
false;
170 bool m_faceMatchesHasBeenSet =
false;
173 bool m_unmatchedFacesHasBeenSet =
false;
176 bool m_sourceImageOrientationCorrectionHasBeenSet =
false;
179 bool m_targetImageOrientationCorrectionHasBeenSet =
false;
182 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