AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchUsersByImageResult.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rekognition/model/SearchedFaceDetails.h>
11#include <aws/rekognition/model/UserMatch.h>
12#include <aws/rekognition/model/UnsearchedFace.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Rekognition
28{
29namespace Model
30{
32 {
33 public:
34 AWS_REKOGNITION_API SearchUsersByImageResult();
37
38
40
45 inline const Aws::Vector<UserMatch>& GetUserMatches() const{ return m_userMatches; }
46 inline void SetUserMatches(const Aws::Vector<UserMatch>& value) { m_userMatches = value; }
47 inline void SetUserMatches(Aws::Vector<UserMatch>&& value) { m_userMatches = std::move(value); }
49 inline SearchUsersByImageResult& WithUserMatches(Aws::Vector<UserMatch>&& value) { SetUserMatches(std::move(value)); return *this;}
50 inline SearchUsersByImageResult& AddUserMatches(const UserMatch& value) { m_userMatches.push_back(value); return *this; }
51 inline SearchUsersByImageResult& AddUserMatches(UserMatch&& value) { m_userMatches.push_back(std::move(value)); return *this; }
53
55
59 inline const Aws::String& GetFaceModelVersion() const{ return m_faceModelVersion; }
60 inline void SetFaceModelVersion(const Aws::String& value) { m_faceModelVersion = value; }
61 inline void SetFaceModelVersion(Aws::String&& value) { m_faceModelVersion = std::move(value); }
62 inline void SetFaceModelVersion(const char* value) { m_faceModelVersion.assign(value); }
64 inline SearchUsersByImageResult& WithFaceModelVersion(Aws::String&& value) { SetFaceModelVersion(std::move(value)); return *this;}
65 inline SearchUsersByImageResult& WithFaceModelVersion(const char* value) { SetFaceModelVersion(value); return *this;}
67
69
75 inline const SearchedFaceDetails& GetSearchedFace() const{ return m_searchedFace; }
76 inline void SetSearchedFace(const SearchedFaceDetails& value) { m_searchedFace = value; }
77 inline void SetSearchedFace(SearchedFaceDetails&& value) { m_searchedFace = std::move(value); }
79 inline SearchUsersByImageResult& WithSearchedFace(SearchedFaceDetails&& value) { SetSearchedFace(std::move(value)); return *this;}
81
83
88 inline const Aws::Vector<UnsearchedFace>& GetUnsearchedFaces() const{ return m_unsearchedFaces; }
89 inline void SetUnsearchedFaces(const Aws::Vector<UnsearchedFace>& value) { m_unsearchedFaces = value; }
90 inline void SetUnsearchedFaces(Aws::Vector<UnsearchedFace>&& value) { m_unsearchedFaces = std::move(value); }
93 inline SearchUsersByImageResult& AddUnsearchedFaces(const UnsearchedFace& value) { m_unsearchedFaces.push_back(value); return *this; }
94 inline SearchUsersByImageResult& AddUnsearchedFaces(UnsearchedFace&& value) { m_unsearchedFaces.push_back(std::move(value)); return *this; }
96
98
99 inline const Aws::String& GetRequestId() const{ return m_requestId; }
100 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
101 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
102 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
103 inline SearchUsersByImageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
104 inline SearchUsersByImageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
105 inline SearchUsersByImageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
107 private:
108
109 Aws::Vector<UserMatch> m_userMatches;
110
111 Aws::String m_faceModelVersion;
112
113 SearchedFaceDetails m_searchedFace;
114
115 Aws::Vector<UnsearchedFace> m_unsearchedFaces;
116
117 Aws::String m_requestId;
118 };
119
120} // namespace Model
121} // namespace Rekognition
122} // namespace Aws
SearchUsersByImageResult & WithSearchedFace(const SearchedFaceDetails &value)
const Aws::Vector< UnsearchedFace > & GetUnsearchedFaces() const
SearchUsersByImageResult & AddUnsearchedFaces(UnsearchedFace &&value)
SearchUsersByImageResult & WithUserMatches(const Aws::Vector< UserMatch > &value)
SearchUsersByImageResult & WithRequestId(const Aws::String &value)
void SetUnsearchedFaces(const Aws::Vector< UnsearchedFace > &value)
SearchUsersByImageResult & WithFaceModelVersion(const char *value)
SearchUsersByImageResult & WithRequestId(Aws::String &&value)
SearchUsersByImageResult & WithUserMatches(Aws::Vector< UserMatch > &&value)
void SetSearchedFace(const SearchedFaceDetails &value)
AWS_REKOGNITION_API SearchUsersByImageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchUsersByImageResult & WithUnsearchedFaces(Aws::Vector< UnsearchedFace > &&value)
AWS_REKOGNITION_API SearchUsersByImageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchUsersByImageResult & AddUserMatches(const UserMatch &value)
void SetUnsearchedFaces(Aws::Vector< UnsearchedFace > &&value)
SearchUsersByImageResult & WithFaceModelVersion(const Aws::String &value)
SearchUsersByImageResult & AddUnsearchedFaces(const UnsearchedFace &value)
SearchUsersByImageResult & WithRequestId(const char *value)
SearchUsersByImageResult & WithFaceModelVersion(Aws::String &&value)
const Aws::Vector< UserMatch > & GetUserMatches() const
void SetUserMatches(Aws::Vector< UserMatch > &&value)
SearchUsersByImageResult & AddUserMatches(UserMatch &&value)
SearchUsersByImageResult & WithSearchedFace(SearchedFaceDetails &&value)
void SetUserMatches(const Aws::Vector< UserMatch > &value)
SearchUsersByImageResult & WithUnsearchedFaces(const Aws::Vector< UnsearchedFace > &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