AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LabelDetection.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/Label.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
33 {
34 public:
35 AWS_REKOGNITION_API LabelDetection();
36 AWS_REKOGNITION_API LabelDetection(Aws::Utils::Json::JsonView jsonValue);
37 AWS_REKOGNITION_API LabelDetection& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline long long GetTimestamp() const{ return m_timestamp; }
48 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
49 inline void SetTimestamp(long long value) { m_timestampHasBeenSet = true; m_timestamp = value; }
50 inline LabelDetection& WithTimestamp(long long value) { SetTimestamp(value); return *this;}
52
54
57 inline const Label& GetLabel() const{ return m_label; }
58 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
59 inline void SetLabel(const Label& value) { m_labelHasBeenSet = true; m_label = value; }
60 inline void SetLabel(Label&& value) { m_labelHasBeenSet = true; m_label = std::move(value); }
61 inline LabelDetection& WithLabel(const Label& value) { SetLabel(value); return *this;}
62 inline LabelDetection& WithLabel(Label&& value) { SetLabel(std::move(value)); return *this;}
64
66
70 inline long long GetStartTimestampMillis() const{ return m_startTimestampMillis; }
71 inline bool StartTimestampMillisHasBeenSet() const { return m_startTimestampMillisHasBeenSet; }
72 inline void SetStartTimestampMillis(long long value) { m_startTimestampMillisHasBeenSet = true; m_startTimestampMillis = value; }
73 inline LabelDetection& WithStartTimestampMillis(long long value) { SetStartTimestampMillis(value); return *this;}
75
77
81 inline long long GetEndTimestampMillis() const{ return m_endTimestampMillis; }
82 inline bool EndTimestampMillisHasBeenSet() const { return m_endTimestampMillisHasBeenSet; }
83 inline void SetEndTimestampMillis(long long value) { m_endTimestampMillisHasBeenSet = true; m_endTimestampMillis = value; }
84 inline LabelDetection& WithEndTimestampMillis(long long value) { SetEndTimestampMillis(value); return *this;}
86
88
92 inline long long GetDurationMillis() const{ return m_durationMillis; }
93 inline bool DurationMillisHasBeenSet() const { return m_durationMillisHasBeenSet; }
94 inline void SetDurationMillis(long long value) { m_durationMillisHasBeenSet = true; m_durationMillis = value; }
95 inline LabelDetection& WithDurationMillis(long long value) { SetDurationMillis(value); return *this;}
97 private:
98
99 long long m_timestamp;
100 bool m_timestampHasBeenSet = false;
101
102 Label m_label;
103 bool m_labelHasBeenSet = false;
104
105 long long m_startTimestampMillis;
106 bool m_startTimestampMillisHasBeenSet = false;
107
108 long long m_endTimestampMillis;
109 bool m_endTimestampMillisHasBeenSet = false;
110
111 long long m_durationMillis;
112 bool m_durationMillisHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Rekognition
117} // namespace Aws
AWS_REKOGNITION_API LabelDetection(Aws::Utils::Json::JsonView jsonValue)
LabelDetection & WithEndTimestampMillis(long long value)
LabelDetection & WithStartTimestampMillis(long long value)
void SetStartTimestampMillis(long long value)
LabelDetection & WithDurationMillis(long long value)
LabelDetection & WithTimestamp(long long value)
LabelDetection & WithLabel(Label &&value)
LabelDetection & WithLabel(const Label &value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API LabelDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEndTimestampMillis(long long value)
Aws::Utils::Json::JsonValue JsonValue