AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CelebrityRecognition.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/CelebrityDetail.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
34 {
35 public:
36 AWS_REKOGNITION_API CelebrityRecognition();
37 AWS_REKOGNITION_API CelebrityRecognition(Aws::Utils::Json::JsonView jsonValue);
39 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline long long GetTimestamp() const{ return m_timestamp; }
49 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
50 inline void SetTimestamp(long long value) { m_timestampHasBeenSet = true; m_timestamp = value; }
51 inline CelebrityRecognition& WithTimestamp(long long value) { SetTimestamp(value); return *this;}
53
55
58 inline const CelebrityDetail& GetCelebrity() const{ return m_celebrity; }
59 inline bool CelebrityHasBeenSet() const { return m_celebrityHasBeenSet; }
60 inline void SetCelebrity(const CelebrityDetail& value) { m_celebrityHasBeenSet = true; m_celebrity = value; }
61 inline void SetCelebrity(CelebrityDetail&& value) { m_celebrityHasBeenSet = true; m_celebrity = std::move(value); }
62 inline CelebrityRecognition& WithCelebrity(const CelebrityDetail& value) { SetCelebrity(value); return *this;}
63 inline CelebrityRecognition& WithCelebrity(CelebrityDetail&& value) { SetCelebrity(std::move(value)); return *this;}
65 private:
66
67 long long m_timestamp;
68 bool m_timestampHasBeenSet = false;
69
70 CelebrityDetail m_celebrity;
71 bool m_celebrityHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Rekognition
76} // namespace Aws
AWS_REKOGNITION_API CelebrityRecognition(Aws::Utils::Json::JsonView jsonValue)
CelebrityRecognition & WithTimestamp(long long value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCelebrity(const CelebrityDetail &value)
CelebrityRecognition & WithCelebrity(const CelebrityDetail &value)
CelebrityRecognition & WithCelebrity(CelebrityDetail &&value)
AWS_REKOGNITION_API CelebrityRecognition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue