AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
37
38
40
44 inline const Aws::Vector<UserMatch>& GetUserMatches() const { return m_userMatches; }
45 template<typename UserMatchesT = Aws::Vector<UserMatch>>
46 void SetUserMatches(UserMatchesT&& value) { m_userMatchesHasBeenSet = true; m_userMatches = std::forward<UserMatchesT>(value); }
47 template<typename UserMatchesT = Aws::Vector<UserMatch>>
48 SearchUsersResult& WithUserMatches(UserMatchesT&& value) { SetUserMatches(std::forward<UserMatchesT>(value)); return *this;}
49 template<typename UserMatchesT = UserMatch>
50 SearchUsersResult& AddUserMatches(UserMatchesT&& value) { m_userMatchesHasBeenSet = true; m_userMatches.emplace_back(std::forward<UserMatchesT>(value)); return *this; }
52
54
58 inline const Aws::String& GetFaceModelVersion() const { return m_faceModelVersion; }
59 template<typename FaceModelVersionT = Aws::String>
60 void SetFaceModelVersion(FaceModelVersionT&& value) { m_faceModelVersionHasBeenSet = true; m_faceModelVersion = std::forward<FaceModelVersionT>(value); }
61 template<typename FaceModelVersionT = Aws::String>
62 SearchUsersResult& WithFaceModelVersion(FaceModelVersionT&& value) { SetFaceModelVersion(std::forward<FaceModelVersionT>(value)); return *this;}
64
66
70 inline const SearchedFace& GetSearchedFace() const { return m_searchedFace; }
71 template<typename SearchedFaceT = SearchedFace>
72 void SetSearchedFace(SearchedFaceT&& value) { m_searchedFaceHasBeenSet = true; m_searchedFace = std::forward<SearchedFaceT>(value); }
73 template<typename SearchedFaceT = SearchedFace>
74 SearchUsersResult& WithSearchedFace(SearchedFaceT&& value) { SetSearchedFace(std::forward<SearchedFaceT>(value)); return *this;}
76
78
82 inline const SearchedUser& GetSearchedUser() const { return m_searchedUser; }
83 template<typename SearchedUserT = SearchedUser>
84 void SetSearchedUser(SearchedUserT&& value) { m_searchedUserHasBeenSet = true; m_searchedUser = std::forward<SearchedUserT>(value); }
85 template<typename SearchedUserT = SearchedUser>
86 SearchUsersResult& WithSearchedUser(SearchedUserT&& value) { SetSearchedUser(std::forward<SearchedUserT>(value)); return *this;}
88
90
91 inline const Aws::String& GetRequestId() const { return m_requestId; }
92 template<typename RequestIdT = Aws::String>
93 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
94 template<typename RequestIdT = Aws::String>
95 SearchUsersResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
97 private:
98
99 Aws::Vector<UserMatch> m_userMatches;
100 bool m_userMatchesHasBeenSet = false;
101
102 Aws::String m_faceModelVersion;
103 bool m_faceModelVersionHasBeenSet = false;
104
105 SearchedFace m_searchedFace;
106 bool m_searchedFaceHasBeenSet = false;
107
108 SearchedUser m_searchedUser;
109 bool m_searchedUserHasBeenSet = false;
110
111 Aws::String m_requestId;
112 bool m_requestIdHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Rekognition
117} // namespace Aws
AWS_REKOGNITION_API SearchUsersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSearchedFace(SearchedFaceT &&value)
SearchUsersResult & WithRequestId(RequestIdT &&value)
AWS_REKOGNITION_API SearchUsersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const SearchedFace & GetSearchedFace() const
const Aws::String & GetFaceModelVersion() const
SearchUsersResult & WithSearchedUser(SearchedUserT &&value)
SearchUsersResult & AddUserMatches(UserMatchesT &&value)
void SetSearchedUser(SearchedUserT &&value)
SearchUsersResult & WithUserMatches(UserMatchesT &&value)
const SearchedUser & GetSearchedUser() const
void SetFaceModelVersion(FaceModelVersionT &&value)
SearchUsersResult & WithFaceModelVersion(FaceModelVersionT &&value)
const Aws::Vector< UserMatch > & GetUserMatches() const
SearchUsersResult & WithSearchedFace(SearchedFaceT &&value)
AWS_REKOGNITION_API SearchUsersResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue