AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PersonMatch.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/PersonDetail.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rekognition/model/FaceMatch.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Rekognition
24{
25namespace Model
26{
27
39 {
40 public:
41 AWS_REKOGNITION_API PersonMatch();
42 AWS_REKOGNITION_API PersonMatch(Aws::Utils::Json::JsonView jsonValue);
43 AWS_REKOGNITION_API PersonMatch& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline long long GetTimestamp() const{ return m_timestamp; }
53 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
54 inline void SetTimestamp(long long value) { m_timestampHasBeenSet = true; m_timestamp = value; }
55 inline PersonMatch& WithTimestamp(long long value) { SetTimestamp(value); return *this;}
57
59
62 inline const PersonDetail& GetPerson() const{ return m_person; }
63 inline bool PersonHasBeenSet() const { return m_personHasBeenSet; }
64 inline void SetPerson(const PersonDetail& value) { m_personHasBeenSet = true; m_person = value; }
65 inline void SetPerson(PersonDetail&& value) { m_personHasBeenSet = true; m_person = std::move(value); }
66 inline PersonMatch& WithPerson(const PersonDetail& value) { SetPerson(value); return *this;}
67 inline PersonMatch& WithPerson(PersonDetail&& value) { SetPerson(std::move(value)); return *this;}
69
71
75 inline const Aws::Vector<FaceMatch>& GetFaceMatches() const{ return m_faceMatches; }
76 inline bool FaceMatchesHasBeenSet() const { return m_faceMatchesHasBeenSet; }
77 inline void SetFaceMatches(const Aws::Vector<FaceMatch>& value) { m_faceMatchesHasBeenSet = true; m_faceMatches = value; }
78 inline void SetFaceMatches(Aws::Vector<FaceMatch>&& value) { m_faceMatchesHasBeenSet = true; m_faceMatches = std::move(value); }
79 inline PersonMatch& WithFaceMatches(const Aws::Vector<FaceMatch>& value) { SetFaceMatches(value); return *this;}
80 inline PersonMatch& WithFaceMatches(Aws::Vector<FaceMatch>&& value) { SetFaceMatches(std::move(value)); return *this;}
81 inline PersonMatch& AddFaceMatches(const FaceMatch& value) { m_faceMatchesHasBeenSet = true; m_faceMatches.push_back(value); return *this; }
82 inline PersonMatch& AddFaceMatches(FaceMatch&& value) { m_faceMatchesHasBeenSet = true; m_faceMatches.push_back(std::move(value)); return *this; }
84 private:
85
86 long long m_timestamp;
87 bool m_timestampHasBeenSet = false;
88
89 PersonDetail m_person;
90 bool m_personHasBeenSet = false;
91
92 Aws::Vector<FaceMatch> m_faceMatches;
93 bool m_faceMatchesHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Rekognition
98} // namespace Aws
PersonMatch & AddFaceMatches(FaceMatch &&value)
Definition PersonMatch.h:82
AWS_REKOGNITION_API PersonMatch(Aws::Utils::Json::JsonView jsonValue)
void SetTimestamp(long long value)
Definition PersonMatch.h:54
const PersonDetail & GetPerson() const
Definition PersonMatch.h:62
PersonMatch & WithPerson(PersonDetail &&value)
Definition PersonMatch.h:67
void SetFaceMatches(Aws::Vector< FaceMatch > &&value)
Definition PersonMatch.h:78
PersonMatch & WithFaceMatches(Aws::Vector< FaceMatch > &&value)
Definition PersonMatch.h:80
PersonMatch & WithPerson(const PersonDetail &value)
Definition PersonMatch.h:66
PersonMatch & WithTimestamp(long long value)
Definition PersonMatch.h:55
void SetFaceMatches(const Aws::Vector< FaceMatch > &value)
Definition PersonMatch.h:77
PersonMatch & WithFaceMatches(const Aws::Vector< FaceMatch > &value)
Definition PersonMatch.h:79
const Aws::Vector< FaceMatch > & GetFaceMatches() const
Definition PersonMatch.h:75
void SetPerson(PersonDetail &&value)
Definition PersonMatch.h:65
void SetPerson(const PersonDetail &value)
Definition PersonMatch.h:64
AWS_REKOGNITION_API PersonMatch()
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API PersonMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
PersonMatch & AddFaceMatches(const FaceMatch &value)
Definition PersonMatch.h:81
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue