AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFaceSearchResult.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/VideoJobStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rekognition/model/VideoMetadata.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/rekognition/model/Video.h>
13#include <aws/rekognition/model/PersonMatch.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Rekognition
29{
30namespace Model
31{
33 {
34 public:
35 AWS_REKOGNITION_API GetFaceSearchResult();
38
39
41
44 inline const VideoJobStatus& GetJobStatus() const{ return m_jobStatus; }
45 inline void SetJobStatus(const VideoJobStatus& value) { m_jobStatus = value; }
46 inline void SetJobStatus(VideoJobStatus&& value) { m_jobStatus = std::move(value); }
47 inline GetFaceSearchResult& WithJobStatus(const VideoJobStatus& value) { SetJobStatus(value); return *this;}
48 inline GetFaceSearchResult& WithJobStatus(VideoJobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
50
52
56 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
57 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
58 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
59 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
60 inline GetFaceSearchResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
61 inline GetFaceSearchResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
62 inline GetFaceSearchResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
64
66
71 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
73 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
74 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
75 inline GetFaceSearchResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
76 inline GetFaceSearchResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
77 inline GetFaceSearchResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
79
81
86 inline const VideoMetadata& GetVideoMetadata() const{ return m_videoMetadata; }
87 inline void SetVideoMetadata(const VideoMetadata& value) { m_videoMetadata = value; }
88 inline void SetVideoMetadata(VideoMetadata&& value) { m_videoMetadata = std::move(value); }
89 inline GetFaceSearchResult& WithVideoMetadata(const VideoMetadata& value) { SetVideoMetadata(value); return *this;}
90 inline GetFaceSearchResult& WithVideoMetadata(VideoMetadata&& value) { SetVideoMetadata(std::move(value)); return *this;}
92
94
103 inline const Aws::Vector<PersonMatch>& GetPersons() const{ return m_persons; }
104 inline void SetPersons(const Aws::Vector<PersonMatch>& value) { m_persons = value; }
105 inline void SetPersons(Aws::Vector<PersonMatch>&& value) { m_persons = std::move(value); }
106 inline GetFaceSearchResult& WithPersons(const Aws::Vector<PersonMatch>& value) { SetPersons(value); return *this;}
107 inline GetFaceSearchResult& WithPersons(Aws::Vector<PersonMatch>&& value) { SetPersons(std::move(value)); return *this;}
108 inline GetFaceSearchResult& AddPersons(const PersonMatch& value) { m_persons.push_back(value); return *this; }
109 inline GetFaceSearchResult& AddPersons(PersonMatch&& value) { m_persons.push_back(std::move(value)); return *this; }
111
113
118 inline const Aws::String& GetJobId() const{ return m_jobId; }
119 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
120 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
121 inline void SetJobId(const char* value) { m_jobId.assign(value); }
122 inline GetFaceSearchResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
123 inline GetFaceSearchResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
124 inline GetFaceSearchResult& WithJobId(const char* value) { SetJobId(value); return *this;}
126
128
129 inline const Video& GetVideo() const{ return m_video; }
130 inline void SetVideo(const Video& value) { m_video = value; }
131 inline void SetVideo(Video&& value) { m_video = std::move(value); }
132 inline GetFaceSearchResult& WithVideo(const Video& value) { SetVideo(value); return *this;}
133 inline GetFaceSearchResult& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
135
137
142 inline const Aws::String& GetJobTag() const{ return m_jobTag; }
143 inline void SetJobTag(const Aws::String& value) { m_jobTag = value; }
144 inline void SetJobTag(Aws::String&& value) { m_jobTag = std::move(value); }
145 inline void SetJobTag(const char* value) { m_jobTag.assign(value); }
146 inline GetFaceSearchResult& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
147 inline GetFaceSearchResult& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
148 inline GetFaceSearchResult& WithJobTag(const char* value) { SetJobTag(value); return *this;}
150
152
153 inline const Aws::String& GetRequestId() const{ return m_requestId; }
154 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
155 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
156 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
157 inline GetFaceSearchResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
158 inline GetFaceSearchResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
159 inline GetFaceSearchResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
161 private:
162
163 VideoJobStatus m_jobStatus;
164
165 Aws::String m_statusMessage;
166
167 Aws::String m_nextToken;
168
169 VideoMetadata m_videoMetadata;
170
171 Aws::Vector<PersonMatch> m_persons;
172
173 Aws::String m_jobId;
174
175 Video m_video;
176
177 Aws::String m_jobTag;
178
179 Aws::String m_requestId;
180 };
181
182} // namespace Model
183} // namespace Rekognition
184} // namespace Aws
GetFaceSearchResult & WithNextToken(const char *value)
GetFaceSearchResult & WithStatusMessage(const char *value)
AWS_REKOGNITION_API GetFaceSearchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< PersonMatch > & GetPersons() const
GetFaceSearchResult & WithJobTag(const Aws::String &value)
GetFaceSearchResult & WithNextToken(Aws::String &&value)
GetFaceSearchResult & WithStatusMessage(const Aws::String &value)
GetFaceSearchResult & WithVideo(const Video &value)
GetFaceSearchResult & AddPersons(PersonMatch &&value)
void SetPersons(Aws::Vector< PersonMatch > &&value)
GetFaceSearchResult & WithRequestId(const Aws::String &value)
GetFaceSearchResult & WithJobId(const Aws::String &value)
GetFaceSearchResult & WithRequestId(Aws::String &&value)
GetFaceSearchResult & WithJobTag(Aws::String &&value)
void SetVideoMetadata(const VideoMetadata &value)
GetFaceSearchResult & WithNextToken(const Aws::String &value)
GetFaceSearchResult & WithJobStatus(const VideoJobStatus &value)
GetFaceSearchResult & WithVideoMetadata(const VideoMetadata &value)
AWS_REKOGNITION_API GetFaceSearchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFaceSearchResult & WithJobId(const char *value)
GetFaceSearchResult & WithJobId(Aws::String &&value)
GetFaceSearchResult & WithStatusMessage(Aws::String &&value)
GetFaceSearchResult & WithJobTag(const char *value)
GetFaceSearchResult & WithRequestId(const char *value)
GetFaceSearchResult & WithVideo(Video &&value)
void SetPersons(const Aws::Vector< PersonMatch > &value)
GetFaceSearchResult & WithVideoMetadata(VideoMetadata &&value)
GetFaceSearchResult & AddPersons(const PersonMatch &value)
GetFaceSearchResult & WithPersons(Aws::Vector< PersonMatch > &&value)
void SetStatusMessage(const Aws::String &value)
GetFaceSearchResult & WithPersons(const Aws::Vector< PersonMatch > &value)
void SetJobStatus(const VideoJobStatus &value)
GetFaceSearchResult & WithJobStatus(VideoJobStatus &&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