AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FaceRecord.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/Face.h>
9#include <aws/rekognition/model/FaceDetail.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Rekognition
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_REKOGNITION_API FaceRecord();
38 AWS_REKOGNITION_API FaceRecord(Aws::Utils::Json::JsonView jsonValue);
39 AWS_REKOGNITION_API FaceRecord& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Face& GetFace() const{ return m_face; }
49 inline bool FaceHasBeenSet() const { return m_faceHasBeenSet; }
50 inline void SetFace(const Face& value) { m_faceHasBeenSet = true; m_face = value; }
51 inline void SetFace(Face&& value) { m_faceHasBeenSet = true; m_face = std::move(value); }
52 inline FaceRecord& WithFace(const Face& value) { SetFace(value); return *this;}
53 inline FaceRecord& WithFace(Face&& value) { SetFace(std::move(value)); return *this;}
55
57
60 inline const FaceDetail& GetFaceDetail() const{ return m_faceDetail; }
61 inline bool FaceDetailHasBeenSet() const { return m_faceDetailHasBeenSet; }
62 inline void SetFaceDetail(const FaceDetail& value) { m_faceDetailHasBeenSet = true; m_faceDetail = value; }
63 inline void SetFaceDetail(FaceDetail&& value) { m_faceDetailHasBeenSet = true; m_faceDetail = std::move(value); }
64 inline FaceRecord& WithFaceDetail(const FaceDetail& value) { SetFaceDetail(value); return *this;}
65 inline FaceRecord& WithFaceDetail(FaceDetail&& value) { SetFaceDetail(std::move(value)); return *this;}
67 private:
68
69 Face m_face;
70 bool m_faceHasBeenSet = false;
71
72 FaceDetail m_faceDetail;
73 bool m_faceDetailHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Rekognition
78} // namespace Aws
AWS_REKOGNITION_API FaceRecord()
AWS_REKOGNITION_API FaceRecord(Aws::Utils::Json::JsonView jsonValue)
FaceRecord & WithFace(const Face &value)
Definition FaceRecord.h:52
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFaceDetail(FaceDetail &&value)
Definition FaceRecord.h:63
FaceRecord & WithFaceDetail(FaceDetail &&value)
Definition FaceRecord.h:65
void SetFace(const Face &value)
Definition FaceRecord.h:50
void SetFaceDetail(const FaceDetail &value)
Definition FaceRecord.h:62
const FaceDetail & GetFaceDetail() const
Definition FaceRecord.h:60
FaceRecord & WithFaceDetail(const FaceDetail &value)
Definition FaceRecord.h:64
AWS_REKOGNITION_API FaceRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
FaceRecord & WithFace(Face &&value)
Definition FaceRecord.h:53
Aws::Utils::Json::JsonValue JsonValue