AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ShotSegment.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Rekognition
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_REKOGNITION_API ShotSegment();
34 AWS_REKOGNITION_API ShotSegment(Aws::Utils::Json::JsonView jsonValue);
35 AWS_REKOGNITION_API ShotSegment& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline long long GetIndex() const{ return m_index; }
44 inline bool IndexHasBeenSet() const { return m_indexHasBeenSet; }
45 inline void SetIndex(long long value) { m_indexHasBeenSet = true; m_index = value; }
46 inline ShotSegment& WithIndex(long long value) { SetIndex(value); return *this;}
48
50
54 inline double GetConfidence() const{ return m_confidence; }
55 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
56 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
57 inline ShotSegment& WithConfidence(double value) { SetConfidence(value); return *this;}
59 private:
60
61 long long m_index;
62 bool m_indexHasBeenSet = false;
63
64 double m_confidence;
65 bool m_confidenceHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace Rekognition
70} // namespace Aws
AWS_REKOGNITION_API ShotSegment(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API ShotSegment()
ShotSegment & WithConfidence(double value)
Definition ShotSegment.h:57
AWS_REKOGNITION_API ShotSegment & operator=(Aws::Utils::Json::JsonView jsonValue)
ShotSegment & WithIndex(long long value)
Definition ShotSegment.h:46
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue