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/BoundingBox.h>
11#include <aws/rekognition/model/FaceMatch.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace Rekognition {
38 template <
typename SearchedFaceBoundingBoxT = BoundingBox>
40 m_searchedFaceBoundingBoxHasBeenSet =
true;
41 m_searchedFaceBoundingBox = std::forward<SearchedFaceBoundingBoxT>(value);
43 template <
typename SearchedFaceBoundingBoxT = BoundingBox>
57 m_searchedFaceConfidenceHasBeenSet =
true;
58 m_searchedFaceConfidence = value;
72 template <
typename FaceMatchesT = Aws::Vector<FaceMatch>>
74 m_faceMatchesHasBeenSet =
true;
75 m_faceMatches = std::forward<FaceMatchesT>(value);
77 template <
typename FaceMatchesT = Aws::Vector<FaceMatch>>
82 template <
typename FaceMatchesT = FaceMatch>
84 m_faceMatchesHasBeenSet =
true;
85 m_faceMatches.emplace_back(std::forward<FaceMatchesT>(value));
96 template <
typename FaceModelVersionT = Aws::String>
98 m_faceModelVersionHasBeenSet =
true;
99 m_faceModelVersion = std::forward<FaceModelVersionT>(value);
101 template <
typename FaceModelVersionT = Aws::String>
111 template <
typename RequestIdT = Aws::String>
113 m_requestIdHasBeenSet =
true;
114 m_requestId = std::forward<RequestIdT>(value);
116 template <
typename RequestIdT = Aws::String>
125 double m_searchedFaceConfidence{0.0};
132 bool m_searchedFaceBoundingBoxHasBeenSet =
false;
133 bool m_searchedFaceConfidenceHasBeenSet =
false;
134 bool m_faceMatchesHasBeenSet =
false;
135 bool m_faceModelVersionHasBeenSet =
false;
136 bool m_requestIdHasBeenSet =
false;
SearchFacesByImageResult & AddFaceMatches(FaceMatchesT &&value)
SearchFacesByImageResult & WithRequestId(RequestIdT &&value)
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