AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchUsersResult.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/SearchedFace.h>
11#include <aws/rekognition/model/SearchedUser.h>
12#include <aws/rekognition/model/UserMatch.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 SearchUsersResult();
37
38
40
44 inline const Aws::Vector<UserMatch>& GetUserMatches() const{ return m_userMatches; }
45 inline void SetUserMatches(const Aws::Vector<UserMatch>& value) { m_userMatches = value; }
46 inline void SetUserMatches(Aws::Vector<UserMatch>&& value) { m_userMatches = std::move(value); }
47 inline SearchUsersResult& WithUserMatches(const Aws::Vector<UserMatch>& value) { SetUserMatches(value); return *this;}
48 inline SearchUsersResult& WithUserMatches(Aws::Vector<UserMatch>&& value) { SetUserMatches(std::move(value)); return *this;}
49 inline SearchUsersResult& AddUserMatches(const UserMatch& value) { m_userMatches.push_back(value); return *this; }
50 inline SearchUsersResult& AddUserMatches(UserMatch&& value) { m_userMatches.push_back(std::move(value)); return *this; }
52
54
58 inline const Aws::String& GetFaceModelVersion() const{ return m_faceModelVersion; }
59 inline void SetFaceModelVersion(const Aws::String& value) { m_faceModelVersion = value; }
60 inline void SetFaceModelVersion(Aws::String&& value) { m_faceModelVersion = std::move(value); }
61 inline void SetFaceModelVersion(const char* value) { m_faceModelVersion.assign(value); }
62 inline SearchUsersResult& WithFaceModelVersion(const Aws::String& value) { SetFaceModelVersion(value); return *this;}
63 inline SearchUsersResult& WithFaceModelVersion(Aws::String&& value) { SetFaceModelVersion(std::move(value)); return *this;}
64 inline SearchUsersResult& WithFaceModelVersion(const char* value) { SetFaceModelVersion(value); return *this;}
66
68
72 inline const SearchedFace& GetSearchedFace() const{ return m_searchedFace; }
73 inline void SetSearchedFace(const SearchedFace& value) { m_searchedFace = value; }
74 inline void SetSearchedFace(SearchedFace&& value) { m_searchedFace = std::move(value); }
75 inline SearchUsersResult& WithSearchedFace(const SearchedFace& value) { SetSearchedFace(value); return *this;}
76 inline SearchUsersResult& WithSearchedFace(SearchedFace&& value) { SetSearchedFace(std::move(value)); return *this;}
78
80
84 inline const SearchedUser& GetSearchedUser() const{ return m_searchedUser; }
85 inline void SetSearchedUser(const SearchedUser& value) { m_searchedUser = value; }
86 inline void SetSearchedUser(SearchedUser&& value) { m_searchedUser = std::move(value); }
87 inline SearchUsersResult& WithSearchedUser(const SearchedUser& value) { SetSearchedUser(value); return *this;}
88 inline SearchUsersResult& WithSearchedUser(SearchedUser&& value) { SetSearchedUser(std::move(value)); return *this;}
90
92
93 inline const Aws::String& GetRequestId() const{ return m_requestId; }
94 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
95 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
96 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
97 inline SearchUsersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
98 inline SearchUsersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
99 inline SearchUsersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
101 private:
102
103 Aws::Vector<UserMatch> m_userMatches;
104
105 Aws::String m_faceModelVersion;
106
107 SearchedFace m_searchedFace;
108
109 SearchedUser m_searchedUser;
110
111 Aws::String m_requestId;
112 };
113
114} // namespace Model
115} // namespace Rekognition
116} // namespace Aws
AWS_REKOGNITION_API SearchUsersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchUsersResult & WithFaceModelVersion(Aws::String &&value)
SearchUsersResult & WithFaceModelVersion(const char *value)
SearchUsersResult & WithFaceModelVersion(const Aws::String &value)
SearchUsersResult & WithUserMatches(Aws::Vector< UserMatch > &&value)
void SetUserMatches(const Aws::Vector< UserMatch > &value)
SearchUsersResult & WithSearchedUser(SearchedUser &&value)
SearchUsersResult & WithUserMatches(const Aws::Vector< UserMatch > &value)
SearchUsersResult & WithRequestId(const char *value)
AWS_REKOGNITION_API SearchUsersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const SearchedFace & GetSearchedFace() const
const Aws::String & GetFaceModelVersion() const
SearchUsersResult & AddUserMatches(UserMatch &&value)
SearchUsersResult & WithSearchedUser(const SearchedUser &value)
void SetFaceModelVersion(const Aws::String &value)
SearchUsersResult & WithRequestId(const Aws::String &value)
void SetSearchedUser(const SearchedUser &value)
SearchUsersResult & AddUserMatches(const UserMatch &value)
const SearchedUser & GetSearchedUser() const
void SetSearchedFace(const SearchedFace &value)
const Aws::Vector< UserMatch > & GetUserMatches() const
void SetRequestId(const Aws::String &value)
SearchUsersResult & WithRequestId(Aws::String &&value)
SearchUsersResult & WithSearchedFace(SearchedFace &&value)
SearchUsersResult & WithSearchedFace(const SearchedFace &value)
void SetUserMatches(Aws::Vector< UserMatch > &&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