AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPerson(const PersonDetail& value) { m_personHasBeenSet = true; m_person = value; }
64 inline void SetPerson(PersonDetail&& value) { m_personHasBeenSet = true; m_person = std::move(value); }
65 inline PersonDetection& WithPerson(const PersonDetail& value) { SetPerson(value); return *this;}
66 inline PersonDetection& WithPerson(PersonDetail&& value) { SetPerson(std::move(value)); return *this;}
68 private:
69
70 long long m_timestamp;
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 Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API PersonDetection(Aws::Utils::Json::JsonView jsonValue)
PersonDetection & WithPerson(PersonDetail &&value)
PersonDetection & WithTimestamp(long long value)
AWS_REKOGNITION_API PersonDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPerson(const PersonDetail &value)
const PersonDetail & GetPerson() const
PersonDetection & WithPerson(const PersonDetail &value)
Aws::Utils::Json::JsonValue JsonValue