AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FaceDetection.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/FaceDetail.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Rekognition
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_REKOGNITION_API FaceDetection() = default;
36 AWS_REKOGNITION_API FaceDetection(Aws::Utils::Json::JsonView jsonValue);
37 AWS_REKOGNITION_API FaceDetection& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline long long GetTimestamp() const { return m_timestamp; }
48 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
49 inline void SetTimestamp(long long value) { m_timestampHasBeenSet = true; m_timestamp = value; }
50 inline FaceDetection& WithTimestamp(long long value) { SetTimestamp(value); return *this;}
52
54
57 inline const FaceDetail& GetFace() const { return m_face; }
58 inline bool FaceHasBeenSet() const { return m_faceHasBeenSet; }
59 template<typename FaceT = FaceDetail>
60 void SetFace(FaceT&& value) { m_faceHasBeenSet = true; m_face = std::forward<FaceT>(value); }
61 template<typename FaceT = FaceDetail>
62 FaceDetection& WithFace(FaceT&& value) { SetFace(std::forward<FaceT>(value)); return *this;}
64 private:
65
66 long long m_timestamp{0};
67 bool m_timestampHasBeenSet = false;
68
69 FaceDetail m_face;
70 bool m_faceHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Rekognition
75} // namespace Aws
FaceDetection & WithFace(FaceT &&value)
AWS_REKOGNITION_API FaceDetection(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API FaceDetection()=default
const FaceDetail & GetFace() const
AWS_REKOGNITION_API FaceDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
FaceDetection & WithTimestamp(long long value)
Aws::Utils::Json::JsonValue JsonValue