AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TechnicalCueSegment.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/TechnicalCueType.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 TechnicalCueSegment() = default;
36 AWS_REKOGNITION_API TechnicalCueSegment(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline TechnicalCueType GetType() const { return m_type; }
46 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
47 inline void SetType(TechnicalCueType value) { m_typeHasBeenSet = true; m_type = value; }
48 inline TechnicalCueSegment& WithType(TechnicalCueType value) { SetType(value); return *this;}
50
52
56 inline double GetConfidence() const { return m_confidence; }
57 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
58 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
59 inline TechnicalCueSegment& WithConfidence(double value) { SetConfidence(value); return *this;}
61 private:
62
64 bool m_typeHasBeenSet = false;
65
66 double m_confidence{0.0};
67 bool m_confidenceHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Rekognition
72} // namespace Aws
TechnicalCueSegment & WithType(TechnicalCueType value)
AWS_REKOGNITION_API TechnicalCueSegment(Aws::Utils::Json::JsonView jsonValue)
TechnicalCueSegment & WithConfidence(double value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API TechnicalCueSegment()=default
AWS_REKOGNITION_API TechnicalCueSegment & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue