AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
38
39
41
44 inline VideoJobStatus GetJobStatus() const { return m_jobStatus; }
45 inline void SetJobStatus(VideoJobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
46 inline GetFaceSearchResult& WithJobStatus(VideoJobStatus value) { SetJobStatus(value); return *this;}
48
50
54 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
55 template<typename StatusMessageT = Aws::String>
56 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
57 template<typename StatusMessageT = Aws::String>
58 GetFaceSearchResult& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
60
62
67 inline const Aws::String& GetNextToken() const { return m_nextToken; }
68 template<typename NextTokenT = Aws::String>
69 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
70 template<typename NextTokenT = Aws::String>
71 GetFaceSearchResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
73
75
80 inline const VideoMetadata& GetVideoMetadata() const { return m_videoMetadata; }
81 template<typename VideoMetadataT = VideoMetadata>
82 void SetVideoMetadata(VideoMetadataT&& value) { m_videoMetadataHasBeenSet = true; m_videoMetadata = std::forward<VideoMetadataT>(value); }
83 template<typename VideoMetadataT = VideoMetadata>
84 GetFaceSearchResult& WithVideoMetadata(VideoMetadataT&& value) { SetVideoMetadata(std::forward<VideoMetadataT>(value)); return *this;}
86
88
97 inline const Aws::Vector<PersonMatch>& GetPersons() const { return m_persons; }
98 template<typename PersonsT = Aws::Vector<PersonMatch>>
99 void SetPersons(PersonsT&& value) { m_personsHasBeenSet = true; m_persons = std::forward<PersonsT>(value); }
100 template<typename PersonsT = Aws::Vector<PersonMatch>>
101 GetFaceSearchResult& WithPersons(PersonsT&& value) { SetPersons(std::forward<PersonsT>(value)); return *this;}
102 template<typename PersonsT = PersonMatch>
103 GetFaceSearchResult& AddPersons(PersonsT&& value) { m_personsHasBeenSet = true; m_persons.emplace_back(std::forward<PersonsT>(value)); return *this; }
105
107
112 inline const Aws::String& GetJobId() const { return m_jobId; }
113 template<typename JobIdT = Aws::String>
114 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
115 template<typename JobIdT = Aws::String>
116 GetFaceSearchResult& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
118
120
121 inline const Video& GetVideo() const { return m_video; }
122 template<typename VideoT = Video>
123 void SetVideo(VideoT&& value) { m_videoHasBeenSet = true; m_video = std::forward<VideoT>(value); }
124 template<typename VideoT = Video>
125 GetFaceSearchResult& WithVideo(VideoT&& value) { SetVideo(std::forward<VideoT>(value)); return *this;}
127
129
134 inline const Aws::String& GetJobTag() const { return m_jobTag; }
135 template<typename JobTagT = Aws::String>
136 void SetJobTag(JobTagT&& value) { m_jobTagHasBeenSet = true; m_jobTag = std::forward<JobTagT>(value); }
137 template<typename JobTagT = Aws::String>
138 GetFaceSearchResult& WithJobTag(JobTagT&& value) { SetJobTag(std::forward<JobTagT>(value)); return *this;}
140
142
143 inline const Aws::String& GetRequestId() const { return m_requestId; }
144 template<typename RequestIdT = Aws::String>
145 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
146 template<typename RequestIdT = Aws::String>
147 GetFaceSearchResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
149 private:
150
152 bool m_jobStatusHasBeenSet = false;
153
154 Aws::String m_statusMessage;
155 bool m_statusMessageHasBeenSet = false;
156
157 Aws::String m_nextToken;
158 bool m_nextTokenHasBeenSet = false;
159
160 VideoMetadata m_videoMetadata;
161 bool m_videoMetadataHasBeenSet = false;
162
163 Aws::Vector<PersonMatch> m_persons;
164 bool m_personsHasBeenSet = false;
165
166 Aws::String m_jobId;
167 bool m_jobIdHasBeenSet = false;
168
169 Video m_video;
170 bool m_videoHasBeenSet = false;
171
172 Aws::String m_jobTag;
173 bool m_jobTagHasBeenSet = false;
174
175 Aws::String m_requestId;
176 bool m_requestIdHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace Rekognition
181} // namespace Aws
GetFaceSearchResult & WithVideoMetadata(VideoMetadataT &&value)
AWS_REKOGNITION_API GetFaceSearchResult()=default
AWS_REKOGNITION_API GetFaceSearchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< PersonMatch > & GetPersons() const
GetFaceSearchResult & WithJobId(JobIdT &&value)
GetFaceSearchResult & WithStatusMessage(StatusMessageT &&value)
AWS_REKOGNITION_API GetFaceSearchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFaceSearchResult & AddPersons(PersonsT &&value)
GetFaceSearchResult & WithJobStatus(VideoJobStatus value)
GetFaceSearchResult & WithVideo(VideoT &&value)
GetFaceSearchResult & WithNextToken(NextTokenT &&value)
GetFaceSearchResult & WithRequestId(RequestIdT &&value)
GetFaceSearchResult & WithPersons(PersonsT &&value)
GetFaceSearchResult & WithJobTag(JobTagT &&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