AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IndexFacesResult.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rekognition/model/OrientationCorrection.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/rekognition/model/FaceRecord.h>
12#include <aws/rekognition/model/UnindexedFace.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 IndexFacesResult();
37
38
40
45 inline const Aws::Vector<FaceRecord>& GetFaceRecords() const{ return m_faceRecords; }
46 inline void SetFaceRecords(const Aws::Vector<FaceRecord>& value) { m_faceRecords = value; }
47 inline void SetFaceRecords(Aws::Vector<FaceRecord>&& value) { m_faceRecords = std::move(value); }
48 inline IndexFacesResult& WithFaceRecords(const Aws::Vector<FaceRecord>& value) { SetFaceRecords(value); return *this;}
49 inline IndexFacesResult& WithFaceRecords(Aws::Vector<FaceRecord>&& value) { SetFaceRecords(std::move(value)); return *this;}
50 inline IndexFacesResult& AddFaceRecords(const FaceRecord& value) { m_faceRecords.push_back(value); return *this; }
51 inline IndexFacesResult& AddFaceRecords(FaceRecord&& value) { m_faceRecords.push_back(std::move(value)); return *this; }
53
55
76 inline const OrientationCorrection& GetOrientationCorrection() const{ return m_orientationCorrection; }
77 inline void SetOrientationCorrection(const OrientationCorrection& value) { m_orientationCorrection = value; }
78 inline void SetOrientationCorrection(OrientationCorrection&& value) { m_orientationCorrection = std::move(value); }
82
84
88 inline const Aws::String& GetFaceModelVersion() const{ return m_faceModelVersion; }
89 inline void SetFaceModelVersion(const Aws::String& value) { m_faceModelVersion = value; }
90 inline void SetFaceModelVersion(Aws::String&& value) { m_faceModelVersion = std::move(value); }
91 inline void SetFaceModelVersion(const char* value) { m_faceModelVersion.assign(value); }
92 inline IndexFacesResult& WithFaceModelVersion(const Aws::String& value) { SetFaceModelVersion(value); return *this;}
93 inline IndexFacesResult& WithFaceModelVersion(Aws::String&& value) { SetFaceModelVersion(std::move(value)); return *this;}
94 inline IndexFacesResult& WithFaceModelVersion(const char* value) { SetFaceModelVersion(value); return *this;}
96
98
105 inline const Aws::Vector<UnindexedFace>& GetUnindexedFaces() const{ return m_unindexedFaces; }
106 inline void SetUnindexedFaces(const Aws::Vector<UnindexedFace>& value) { m_unindexedFaces = value; }
107 inline void SetUnindexedFaces(Aws::Vector<UnindexedFace>&& value) { m_unindexedFaces = std::move(value); }
109 inline IndexFacesResult& WithUnindexedFaces(Aws::Vector<UnindexedFace>&& value) { SetUnindexedFaces(std::move(value)); return *this;}
110 inline IndexFacesResult& AddUnindexedFaces(const UnindexedFace& value) { m_unindexedFaces.push_back(value); return *this; }
111 inline IndexFacesResult& AddUnindexedFaces(UnindexedFace&& value) { m_unindexedFaces.push_back(std::move(value)); return *this; }
113
115
116 inline const Aws::String& GetRequestId() const{ return m_requestId; }
117 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
118 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
119 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
120 inline IndexFacesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
121 inline IndexFacesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
122 inline IndexFacesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
124 private:
125
126 Aws::Vector<FaceRecord> m_faceRecords;
127
128 OrientationCorrection m_orientationCorrection;
129
130 Aws::String m_faceModelVersion;
131
132 Aws::Vector<UnindexedFace> m_unindexedFaces;
133
134 Aws::String m_requestId;
135 };
136
137} // namespace Model
138} // namespace Rekognition
139} // namespace Aws
IndexFacesResult & WithFaceModelVersion(const char *value)
IndexFacesResult & WithOrientationCorrection(const OrientationCorrection &value)
IndexFacesResult & WithFaceModelVersion(Aws::String &&value)
const Aws::String & GetFaceModelVersion() const
IndexFacesResult & AddUnindexedFaces(UnindexedFace &&value)
AWS_REKOGNITION_API IndexFacesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUnindexedFaces(const Aws::Vector< UnindexedFace > &value)
const Aws::Vector< FaceRecord > & GetFaceRecords() const
IndexFacesResult & WithRequestId(const Aws::String &value)
AWS_REKOGNITION_API IndexFacesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
IndexFacesResult & WithFaceRecords(Aws::Vector< FaceRecord > &&value)
void SetRequestId(const Aws::String &value)
void SetUnindexedFaces(Aws::Vector< UnindexedFace > &&value)
void SetOrientationCorrection(const OrientationCorrection &value)
IndexFacesResult & WithRequestId(Aws::String &&value)
void SetFaceRecords(const Aws::Vector< FaceRecord > &value)
IndexFacesResult & WithUnindexedFaces(Aws::Vector< UnindexedFace > &&value)
IndexFacesResult & WithFaceRecords(const Aws::Vector< FaceRecord > &value)
IndexFacesResult & WithOrientationCorrection(OrientationCorrection &&value)
const Aws::Vector< UnindexedFace > & GetUnindexedFaces() const
void SetFaceModelVersion(const Aws::String &value)
IndexFacesResult & WithUnindexedFaces(const Aws::Vector< UnindexedFace > &value)
IndexFacesResult & AddUnindexedFaces(const UnindexedFace &value)
const OrientationCorrection & GetOrientationCorrection() const
IndexFacesResult & WithFaceModelVersion(const Aws::String &value)
void SetFaceRecords(Aws::Vector< FaceRecord > &&value)
IndexFacesResult & WithRequestId(const char *value)
void SetOrientationCorrection(OrientationCorrection &&value)
IndexFacesResult & AddFaceRecords(FaceRecord &&value)
IndexFacesResult & AddFaceRecords(const FaceRecord &value)
void SetFaceModelVersion(Aws::String &&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