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/FaceMatch.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace Rekognition {
37 template <
typename SearchedFaceIdT = Aws::String>
39 m_searchedFaceIdHasBeenSet =
true;
40 m_searchedFaceId = std::forward<SearchedFaceIdT>(value);
42 template <
typename SearchedFaceIdT = Aws::String>
55 template <
typename FaceMatchesT = Aws::Vector<FaceMatch>>
57 m_faceMatchesHasBeenSet =
true;
58 m_faceMatches = std::forward<FaceMatchesT>(value);
60 template <
typename FaceMatchesT = Aws::Vector<FaceMatch>>
65 template <
typename FaceMatchesT = FaceMatch>
67 m_faceMatchesHasBeenSet =
true;
68 m_faceMatches.emplace_back(std::forward<FaceMatchesT>(value));
79 template <
typename FaceModelVersionT = Aws::String>
81 m_faceModelVersionHasBeenSet =
true;
82 m_faceModelVersion = std::forward<FaceModelVersionT>(value);
84 template <
typename FaceModelVersionT = Aws::String>
94 template <
typename RequestIdT = Aws::String>
96 m_requestIdHasBeenSet =
true;
97 m_requestId = std::forward<RequestIdT>(value);
99 template <
typename RequestIdT = Aws::String>
116 bool m_searchedFaceIdHasBeenSet =
false;
117 bool m_faceMatchesHasBeenSet =
false;
118 bool m_faceModelVersionHasBeenSet =
false;
119 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetSearchedFaceId() const
SearchFacesResult & WithFaceModelVersion(FaceModelVersionT &&value)
AWS_REKOGNITION_API SearchFacesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_REKOGNITION_API SearchFacesResult()=default
void SetFaceMatches(FaceMatchesT &&value)
SearchFacesResult & WithSearchedFaceId(SearchedFaceIdT &&value)
const Aws::String & GetFaceModelVersion() const
SearchFacesResult & AddFaceMatches(FaceMatchesT &&value)
const Aws::Vector< FaceMatch > & GetFaceMatches() const
SearchFacesResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
void SetFaceModelVersion(FaceModelVersionT &&value)
SearchFacesResult & WithFaceMatches(FaceMatchesT &&value)
AWS_REKOGNITION_API SearchFacesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSearchedFaceId(SearchedFaceIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() 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