AWS SDK for C++

AWS SDK for C++ Version 1.11.718

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Rekognition {
20namespace Model {
21
29 public:
30 AWS_REKOGNITION_API TechnicalCueSegment() = default;
31 AWS_REKOGNITION_API TechnicalCueSegment(Aws::Utils::Json::JsonView jsonValue);
33 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline TechnicalCueType GetType() const { return m_type; }
40 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
41 inline void SetType(TechnicalCueType value) {
42 m_typeHasBeenSet = true;
43 m_type = value;
44 }
46 SetType(value);
47 return *this;
48 }
50
52
56 inline double GetConfidence() const { return m_confidence; }
57 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
58 inline void SetConfidence(double value) {
59 m_confidenceHasBeenSet = true;
60 m_confidence = value;
61 }
62 inline TechnicalCueSegment& WithConfidence(double value) {
63 SetConfidence(value);
64 return *this;
65 }
67 private:
69
70 double m_confidence{0.0};
71 bool m_typeHasBeenSet = false;
72 bool m_confidenceHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace Rekognition
77} // 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