AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchFacesResult.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rekognition/model/FaceMatch.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Rekognition
26{
27namespace Model
28{
30 {
31 public:
32 AWS_REKOGNITION_API SearchFacesResult();
35
36
38
41 inline const Aws::String& GetSearchedFaceId() const{ return m_searchedFaceId; }
42 inline void SetSearchedFaceId(const Aws::String& value) { m_searchedFaceId = value; }
43 inline void SetSearchedFaceId(Aws::String&& value) { m_searchedFaceId = std::move(value); }
44 inline void SetSearchedFaceId(const char* value) { m_searchedFaceId.assign(value); }
45 inline SearchFacesResult& WithSearchedFaceId(const Aws::String& value) { SetSearchedFaceId(value); return *this;}
46 inline SearchFacesResult& WithSearchedFaceId(Aws::String&& value) { SetSearchedFaceId(std::move(value)); return *this;}
47 inline SearchFacesResult& WithSearchedFaceId(const char* value) { SetSearchedFaceId(value); return *this;}
49
51
55 inline const Aws::Vector<FaceMatch>& GetFaceMatches() const{ return m_faceMatches; }
56 inline void SetFaceMatches(const Aws::Vector<FaceMatch>& value) { m_faceMatches = value; }
57 inline void SetFaceMatches(Aws::Vector<FaceMatch>&& value) { m_faceMatches = std::move(value); }
58 inline SearchFacesResult& WithFaceMatches(const Aws::Vector<FaceMatch>& value) { SetFaceMatches(value); return *this;}
59 inline SearchFacesResult& WithFaceMatches(Aws::Vector<FaceMatch>&& value) { SetFaceMatches(std::move(value)); return *this;}
60 inline SearchFacesResult& AddFaceMatches(const FaceMatch& value) { m_faceMatches.push_back(value); return *this; }
61 inline SearchFacesResult& AddFaceMatches(FaceMatch&& value) { m_faceMatches.push_back(std::move(value)); return *this; }
63
65
69 inline const Aws::String& GetFaceModelVersion() const{ return m_faceModelVersion; }
70 inline void SetFaceModelVersion(const Aws::String& value) { m_faceModelVersion = value; }
71 inline void SetFaceModelVersion(Aws::String&& value) { m_faceModelVersion = std::move(value); }
72 inline void SetFaceModelVersion(const char* value) { m_faceModelVersion.assign(value); }
73 inline SearchFacesResult& WithFaceModelVersion(const Aws::String& value) { SetFaceModelVersion(value); return *this;}
74 inline SearchFacesResult& WithFaceModelVersion(Aws::String&& value) { SetFaceModelVersion(std::move(value)); return *this;}
75 inline SearchFacesResult& WithFaceModelVersion(const char* value) { SetFaceModelVersion(value); return *this;}
77
79
80 inline const Aws::String& GetRequestId() const{ return m_requestId; }
81 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
82 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
83 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
84 inline SearchFacesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline SearchFacesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline SearchFacesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
88 private:
89
90 Aws::String m_searchedFaceId;
91
92 Aws::Vector<FaceMatch> m_faceMatches;
93
94 Aws::String m_faceModelVersion;
95
96 Aws::String m_requestId;
97 };
98
99} // namespace Model
100} // namespace Rekognition
101} // namespace Aws
const Aws::String & GetSearchedFaceId() const
SearchFacesResult & WithFaceModelVersion(const Aws::String &value)
SearchFacesResult & WithSearchedFaceId(Aws::String &&value)
SearchFacesResult & WithFaceMatches(const Aws::Vector< FaceMatch > &value)
AWS_REKOGNITION_API SearchFacesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFaceMatches(const Aws::Vector< FaceMatch > &value)
const Aws::String & GetFaceModelVersion() const
const Aws::Vector< FaceMatch > & GetFaceMatches() const
SearchFacesResult & WithFaceModelVersion(Aws::String &&value)
SearchFacesResult & AddFaceMatches(const FaceMatch &value)
void SetFaceModelVersion(const Aws::String &value)
AWS_REKOGNITION_API SearchFacesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchFacesResult & WithFaceModelVersion(const char *value)
SearchFacesResult & WithFaceMatches(Aws::Vector< FaceMatch > &&value)
SearchFacesResult & WithSearchedFaceId(const char *value)
void SetRequestId(const Aws::String &value)
void SetSearchedFaceId(const Aws::String &value)
SearchFacesResult & WithRequestId(const Aws::String &value)
SearchFacesResult & WithRequestId(Aws::String &&value)
SearchFacesResult & AddFaceMatches(FaceMatch &&value)
SearchFacesResult & WithRequestId(const char *value)
SearchFacesResult & WithSearchedFaceId(const Aws::String &value)
void SetFaceMatches(Aws::Vector< 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