AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchFacesByImageResult.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/BoundingBox.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/rekognition/model/FaceMatch.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Rekognition
27{
28namespace Model
29{
31 {
32 public:
33 AWS_REKOGNITION_API SearchFacesByImageResult();
36
37
39
43 inline const BoundingBox& GetSearchedFaceBoundingBox() const{ return m_searchedFaceBoundingBox; }
44 inline void SetSearchedFaceBoundingBox(const BoundingBox& value) { m_searchedFaceBoundingBox = value; }
45 inline void SetSearchedFaceBoundingBox(BoundingBox&& value) { m_searchedFaceBoundingBox = std::move(value); }
49
51
55 inline double GetSearchedFaceConfidence() const{ return m_searchedFaceConfidence; }
56 inline void SetSearchedFaceConfidence(double value) { m_searchedFaceConfidence = value; }
59
61
65 inline const Aws::Vector<FaceMatch>& GetFaceMatches() const{ return m_faceMatches; }
66 inline void SetFaceMatches(const Aws::Vector<FaceMatch>& value) { m_faceMatches = value; }
67 inline void SetFaceMatches(Aws::Vector<FaceMatch>&& value) { m_faceMatches = std::move(value); }
69 inline SearchFacesByImageResult& WithFaceMatches(Aws::Vector<FaceMatch>&& value) { SetFaceMatches(std::move(value)); return *this;}
70 inline SearchFacesByImageResult& AddFaceMatches(const FaceMatch& value) { m_faceMatches.push_back(value); return *this; }
71 inline SearchFacesByImageResult& AddFaceMatches(FaceMatch&& value) { m_faceMatches.push_back(std::move(value)); return *this; }
73
75
79 inline const Aws::String& GetFaceModelVersion() const{ return m_faceModelVersion; }
80 inline void SetFaceModelVersion(const Aws::String& value) { m_faceModelVersion = value; }
81 inline void SetFaceModelVersion(Aws::String&& value) { m_faceModelVersion = std::move(value); }
82 inline void SetFaceModelVersion(const char* value) { m_faceModelVersion.assign(value); }
84 inline SearchFacesByImageResult& WithFaceModelVersion(Aws::String&& value) { SetFaceModelVersion(std::move(value)); return *this;}
85 inline SearchFacesByImageResult& WithFaceModelVersion(const char* value) { SetFaceModelVersion(value); return *this;}
87
89
90 inline const Aws::String& GetRequestId() const{ return m_requestId; }
91 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
92 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
93 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
94 inline SearchFacesByImageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
95 inline SearchFacesByImageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
96 inline SearchFacesByImageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
98 private:
99
100 BoundingBox m_searchedFaceBoundingBox;
101
102 double m_searchedFaceConfidence;
103
104 Aws::Vector<FaceMatch> m_faceMatches;
105
106 Aws::String m_faceModelVersion;
107
108 Aws::String m_requestId;
109 };
110
111} // namespace Model
112} // namespace Rekognition
113} // namespace Aws
SearchFacesByImageResult & WithRequestId(const char *value)
SearchFacesByImageResult & WithFaceModelVersion(const char *value)
SearchFacesByImageResult & WithSearchedFaceConfidence(double value)
void SetFaceMatches(const Aws::Vector< FaceMatch > &value)
SearchFacesByImageResult & WithRequestId(const Aws::String &value)
SearchFacesByImageResult & WithFaceMatches(Aws::Vector< FaceMatch > &&value)
SearchFacesByImageResult & WithFaceModelVersion(Aws::String &&value)
SearchFacesByImageResult & AddFaceMatches(FaceMatch &&value)
void SetFaceMatches(Aws::Vector< FaceMatch > &&value)
SearchFacesByImageResult & WithRequestId(Aws::String &&value)
const Aws::Vector< FaceMatch > & GetFaceMatches() const
SearchFacesByImageResult & WithSearchedFaceBoundingBox(const BoundingBox &value)
AWS_REKOGNITION_API SearchFacesByImageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchFacesByImageResult & WithFaceMatches(const Aws::Vector< FaceMatch > &value)
AWS_REKOGNITION_API SearchFacesByImageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchFacesByImageResult & WithFaceModelVersion(const Aws::String &value)
SearchFacesByImageResult & WithSearchedFaceBoundingBox(BoundingBox &&value)
SearchFacesByImageResult & AddFaceMatches(const FaceMatch &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue