7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rekognition/Rekognition_EXPORTS.h>
11#include <aws/rekognition/model/BoundingBox.h>
12#include <aws/rekognition/model/FaceMatch.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace Rekognition {
39 template <
typename SearchedFaceBoundingBoxT = BoundingBox>
41 m_searchedFaceBoundingBoxHasBeenSet =
true;
42 m_searchedFaceBoundingBox = std::forward<SearchedFaceBoundingBoxT>(value);
44 template <
typename SearchedFaceBoundingBoxT = BoundingBox>
58 m_searchedFaceConfidenceHasBeenSet =
true;
59 m_searchedFaceConfidence = value;
73 template <
typename FaceMatchesT = Aws::Vector<FaceMatch>>
75 m_faceMatchesHasBeenSet =
true;
76 m_faceMatches = std::forward<FaceMatchesT>(value);
78 template <
typename FaceMatchesT = Aws::Vector<FaceMatch>>
83 template <
typename FaceMatchesT = FaceMatch>
85 m_faceMatchesHasBeenSet =
true;
86 m_faceMatches.emplace_back(std::forward<FaceMatchesT>(value));
97 template <
typename FaceModelVersionT = Aws::String>
99 m_faceModelVersionHasBeenSet =
true;
100 m_faceModelVersion = std::forward<FaceModelVersionT>(value);
102 template <
typename FaceModelVersionT = Aws::String>
112 template <
typename RequestIdT = Aws::String>
114 m_requestIdHasBeenSet =
true;
115 m_requestId = std::forward<RequestIdT>(value);
117 template <
typename RequestIdT = Aws::String>
128 double m_searchedFaceConfidence{0.0};
136 bool m_searchedFaceBoundingBoxHasBeenSet =
false;
137 bool m_searchedFaceConfidenceHasBeenSet =
false;
138 bool m_faceMatchesHasBeenSet =
false;
139 bool m_faceModelVersionHasBeenSet =
false;
140 bool m_requestIdHasBeenSet =
false;
SearchFacesByImageResult & AddFaceMatches(FaceMatchesT &&value)
SearchFacesByImageResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
void SetSearchedFaceBoundingBox(SearchedFaceBoundingBoxT &&value)
SearchFacesByImageResult & WithSearchedFaceConfidence(double value)
SearchFacesByImageResult & WithFaceMatches(FaceMatchesT &&value)
SearchFacesByImageResult & WithFaceModelVersion(FaceModelVersionT &&value)
void SetFaceMatches(FaceMatchesT &&value)
double GetSearchedFaceConfidence() const
void SetFaceModelVersion(FaceModelVersionT &&value)
const Aws::Vector< FaceMatch > & GetFaceMatches() const
AWS_REKOGNITION_API SearchFacesByImageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchFacesByImageResult & WithSearchedFaceBoundingBox(SearchedFaceBoundingBoxT &&value)
AWS_REKOGNITION_API SearchFacesByImageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSearchedFaceConfidence(double value)
const Aws::String & GetFaceModelVersion() const
AWS_REKOGNITION_API SearchFacesByImageResult()=default
const Aws::String & GetRequestId() const
const BoundingBox & GetSearchedFaceBoundingBox() 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