AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetectFacesResult.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/FaceDetail.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Rekognition
27{
28namespace Model
29{
31 {
32 public:
33 AWS_REKOGNITION_API DetectFacesResult();
36
37
39
42 inline const Aws::Vector<FaceDetail>& GetFaceDetails() const{ return m_faceDetails; }
43 inline void SetFaceDetails(const Aws::Vector<FaceDetail>& value) { m_faceDetails = value; }
44 inline void SetFaceDetails(Aws::Vector<FaceDetail>&& value) { m_faceDetails = std::move(value); }
45 inline DetectFacesResult& WithFaceDetails(const Aws::Vector<FaceDetail>& value) { SetFaceDetails(value); return *this;}
46 inline DetectFacesResult& WithFaceDetails(Aws::Vector<FaceDetail>&& value) { SetFaceDetails(std::move(value)); return *this;}
47 inline DetectFacesResult& AddFaceDetails(const FaceDetail& value) { m_faceDetails.push_back(value); return *this; }
48 inline DetectFacesResult& AddFaceDetails(FaceDetail&& value) { m_faceDetails.push_back(std::move(value)); return *this; }
50
52
65 inline const OrientationCorrection& GetOrientationCorrection() const{ return m_orientationCorrection; }
66 inline void SetOrientationCorrection(const OrientationCorrection& value) { m_orientationCorrection = value; }
67 inline void SetOrientationCorrection(OrientationCorrection&& value) { m_orientationCorrection = std::move(value); }
71
73
74 inline const Aws::String& GetRequestId() const{ return m_requestId; }
75 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
76 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
77 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
78 inline DetectFacesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
79 inline DetectFacesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
80 inline DetectFacesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
82 private:
83
84 Aws::Vector<FaceDetail> m_faceDetails;
85
86 OrientationCorrection m_orientationCorrection;
87
88 Aws::String m_requestId;
89 };
90
91} // namespace Model
92} // namespace Rekognition
93} // namespace Aws
const Aws::Vector< FaceDetail > & GetFaceDetails() const
DetectFacesResult & WithOrientationCorrection(const OrientationCorrection &value)
AWS_REKOGNITION_API DetectFacesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFaceDetails(const Aws::Vector< FaceDetail > &value)
DetectFacesResult & WithFaceDetails(Aws::Vector< FaceDetail > &&value)
const OrientationCorrection & GetOrientationCorrection() const
void SetOrientationCorrection(OrientationCorrection &&value)
DetectFacesResult & WithRequestId(Aws::String &&value)
DetectFacesResult & WithRequestId(const Aws::String &value)
DetectFacesResult & WithRequestId(const char *value)
DetectFacesResult & WithFaceDetails(const Aws::Vector< FaceDetail > &value)
AWS_REKOGNITION_API DetectFacesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFaceDetails(Aws::Vector< FaceDetail > &&value)
void SetOrientationCorrection(const OrientationCorrection &value)
DetectFacesResult & AddFaceDetails(const FaceDetail &value)
DetectFacesResult & AddFaceDetails(FaceDetail &&value)
DetectFacesResult & WithOrientationCorrection(OrientationCorrection &&value)
void SetRequestId(const 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