AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFace(const FaceDetail& value) { m_faceHasBeenSet = true; m_face = value; }
60 inline void SetFace(FaceDetail&& value) { m_faceHasBeenSet = true; m_face = std::move(value); }
61 inline FaceDetection& WithFace(const FaceDetail& value) { SetFace(value); return *this;}
62 inline FaceDetection& WithFace(FaceDetail&& value) { SetFace(std::move(value)); return *this;}
64 private:
65
66 long long m_timestamp;
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
void SetFace(const FaceDetail &value)
AWS_REKOGNITION_API FaceDetection(Aws::Utils::Json::JsonView jsonValue)
const FaceDetail & GetFace() const
AWS_REKOGNITION_API FaceDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
FaceDetection & WithFace(const FaceDetail &value)
FaceDetection & WithTimestamp(long long value)
FaceDetection & WithFace(FaceDetail &&value)
Aws::Utils::Json::JsonValue JsonValue