AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFaceLivenessSessionResultsResult.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rekognition/model/LivenessSessionStatus.h>
10#include <aws/rekognition/model/AuditImage.h>
11#include <aws/core/utils/memory/stl/AWSVector.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:
36
37
39
42 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
43 inline void SetSessionId(const Aws::String& value) { m_sessionId = value; }
44 inline void SetSessionId(Aws::String&& value) { m_sessionId = std::move(value); }
45 inline void SetSessionId(const char* value) { m_sessionId.assign(value); }
46 inline GetFaceLivenessSessionResultsResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
47 inline GetFaceLivenessSessionResultsResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
48 inline GetFaceLivenessSessionResultsResult& WithSessionId(const char* value) { SetSessionId(value); return *this;}
50
52
56 inline const LivenessSessionStatus& GetStatus() const{ return m_status; }
57 inline void SetStatus(const LivenessSessionStatus& value) { m_status = value; }
58 inline void SetStatus(LivenessSessionStatus&& value) { m_status = std::move(value); }
60 inline GetFaceLivenessSessionResultsResult& WithStatus(LivenessSessionStatus&& value) { SetStatus(std::move(value)); return *this;}
62
64
68 inline double GetConfidence() const{ return m_confidence; }
69 inline void SetConfidence(double value) { m_confidence = value; }
70 inline GetFaceLivenessSessionResultsResult& WithConfidence(double value) { SetConfidence(value); return *this;}
72
74
82 inline const AuditImage& GetReferenceImage() const{ return m_referenceImage; }
83 inline void SetReferenceImage(const AuditImage& value) { m_referenceImage = value; }
84 inline void SetReferenceImage(AuditImage&& value) { m_referenceImage = std::move(value); }
86 inline GetFaceLivenessSessionResultsResult& WithReferenceImage(AuditImage&& value) { SetReferenceImage(std::move(value)); return *this;}
88
90
98 inline const Aws::Vector<AuditImage>& GetAuditImages() const{ return m_auditImages; }
99 inline void SetAuditImages(const Aws::Vector<AuditImage>& value) { m_auditImages = value; }
100 inline void SetAuditImages(Aws::Vector<AuditImage>&& value) { m_auditImages = std::move(value); }
103 inline GetFaceLivenessSessionResultsResult& AddAuditImages(const AuditImage& value) { m_auditImages.push_back(value); return *this; }
104 inline GetFaceLivenessSessionResultsResult& AddAuditImages(AuditImage&& value) { m_auditImages.push_back(std::move(value)); return *this; }
106
108
109 inline const Aws::String& GetRequestId() const{ return m_requestId; }
110 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
111 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
112 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
113 inline GetFaceLivenessSessionResultsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
114 inline GetFaceLivenessSessionResultsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
115 inline GetFaceLivenessSessionResultsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
117 private:
118
119 Aws::String m_sessionId;
120
121 LivenessSessionStatus m_status;
122
123 double m_confidence;
124
125 AuditImage m_referenceImage;
126
127 Aws::Vector<AuditImage> m_auditImages;
128
129 Aws::String m_requestId;
130 };
131
132} // namespace Model
133} // namespace Rekognition
134} // namespace Aws
GetFaceLivenessSessionResultsResult & WithRequestId(const Aws::String &value)
GetFaceLivenessSessionResultsResult & WithRequestId(Aws::String &&value)
GetFaceLivenessSessionResultsResult & AddAuditImages(const AuditImage &value)
GetFaceLivenessSessionResultsResult & WithSessionId(Aws::String &&value)
GetFaceLivenessSessionResultsResult & WithSessionId(const Aws::String &value)
GetFaceLivenessSessionResultsResult & WithReferenceImage(AuditImage &&value)
GetFaceLivenessSessionResultsResult & WithAuditImages(const Aws::Vector< AuditImage > &value)
GetFaceLivenessSessionResultsResult & WithRequestId(const char *value)
GetFaceLivenessSessionResultsResult & WithStatus(LivenessSessionStatus &&value)
GetFaceLivenessSessionResultsResult & WithReferenceImage(const AuditImage &value)
GetFaceLivenessSessionResultsResult & WithStatus(const LivenessSessionStatus &value)
GetFaceLivenessSessionResultsResult & AddAuditImages(AuditImage &&value)
GetFaceLivenessSessionResultsResult & WithSessionId(const char *value)
GetFaceLivenessSessionResultsResult & WithAuditImages(Aws::Vector< AuditImage > &&value)
AWS_REKOGNITION_API GetFaceLivenessSessionResultsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_REKOGNITION_API GetFaceLivenessSessionResultsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue