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>
54 inline void SetTimestamp(
long long value) { m_timestampHasBeenSet =
true; m_timestamp = value; }
64 template<
typename PersonT = PersonDetail>
65 void SetPerson(PersonT&& value) { m_personHasBeenSet =
true; m_person = std::forward<PersonT>(value); }
66 template<
typename PersonT = PersonDetail>
77 template<
typename FaceMatchesT = Aws::Vector<FaceMatch>>
78 void SetFaceMatches(FaceMatchesT&& value) { m_faceMatchesHasBeenSet =
true; m_faceMatches = std::forward<FaceMatchesT>(value); }
79 template<
typename FaceMatchesT = Aws::Vector<FaceMatch>>
81 template<
typename FaceMatchesT = FaceMatch>
82 PersonMatch&
AddFaceMatches(FaceMatchesT&& value) { m_faceMatchesHasBeenSet =
true; m_faceMatches.emplace_back(std::forward<FaceMatchesT>(value));
return *
this; }
86 long long m_timestamp{0};
87 bool m_timestampHasBeenSet =
false;
89 PersonDetail m_person;
90 bool m_personHasBeenSet =
false;
93 bool m_faceMatchesHasBeenSet =
false;
PersonMatch & WithPerson(PersonT &&value)
bool PersonHasBeenSet() const
AWS_REKOGNITION_API PersonMatch(Aws::Utils::Json::JsonView jsonValue)
void SetTimestamp(long long value)
PersonMatch & WithFaceMatches(FaceMatchesT &&value)
const PersonDetail & GetPerson() const
bool FaceMatchesHasBeenSet() const
PersonMatch & AddFaceMatches(FaceMatchesT &&value)
PersonMatch & WithTimestamp(long long value)
void SetFaceMatches(FaceMatchesT &&value)
void SetPerson(PersonT &&value)
AWS_REKOGNITION_API PersonMatch()=default
const Aws::Vector< FaceMatch > & GetFaceMatches() const
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
bool TimestampHasBeenSet() const
AWS_REKOGNITION_API PersonMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetTimestamp() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue