AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PersonDetection.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/PersonDetail.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
37 {
38 public:
39 AWS_REKOGNITION_API PersonDetection() = default;
40 AWS_REKOGNITION_API PersonDetection(Aws::Utils::Json::JsonView jsonValue);
41 AWS_REKOGNITION_API PersonDetection& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline long long GetTimestamp() const { return m_timestamp; }
52 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
53 inline void SetTimestamp(long long value) { m_timestampHasBeenSet = true; m_timestamp = value; }
54 inline PersonDetection& WithTimestamp(long long value) { SetTimestamp(value); return *this;}
56
58
61 inline const PersonDetail& GetPerson() const { return m_person; }
62 inline bool PersonHasBeenSet() const { return m_personHasBeenSet; }
63 template<typename PersonT = PersonDetail>
64 void SetPerson(PersonT&& value) { m_personHasBeenSet = true; m_person = std::forward<PersonT>(value); }
65 template<typename PersonT = PersonDetail>
66 PersonDetection& WithPerson(PersonT&& value) { SetPerson(std::forward<PersonT>(value)); return *this;}
68 private:
69
70 long long m_timestamp{0};
71 bool m_timestampHasBeenSet = false;
72
73 PersonDetail m_person;
74 bool m_personHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Rekognition
79} // namespace Aws
AWS_REKOGNITION_API PersonDetection()=default
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API PersonDetection(Aws::Utils::Json::JsonView jsonValue)
PersonDetection & WithTimestamp(long long value)
AWS_REKOGNITION_API PersonDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
const PersonDetail & GetPerson() const
PersonDetection & WithPerson(PersonT &&value)
Aws::Utils::Json::JsonValue JsonValue