AWS SDK for C++

AWS SDK for C++ Version 1.11.687

Loading...
Searching...
No Matches
EyeOpen.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Rekognition {
17namespace Model {
18
25class EyeOpen {
26 public:
27 AWS_REKOGNITION_API EyeOpen() = default;
28 AWS_REKOGNITION_API EyeOpen(Aws::Utils::Json::JsonView jsonValue);
29 AWS_REKOGNITION_API EyeOpen& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline bool GetValue() const { return m_value; }
37 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
38 inline void SetValue(bool value) {
39 m_valueHasBeenSet = true;
40 m_value = value;
41 }
42 inline EyeOpen& WithValue(bool value) {
43 SetValue(value);
44 return *this;
45 }
47
49
52 inline double GetConfidence() const { return m_confidence; }
53 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
54 inline void SetConfidence(double value) {
55 m_confidenceHasBeenSet = true;
56 m_confidence = value;
57 }
58 inline EyeOpen& WithConfidence(double value) {
59 SetConfidence(value);
60 return *this;
61 }
63 private:
64 bool m_value{false};
65 bool m_valueHasBeenSet = false;
66
67 double m_confidence{0.0};
68 bool m_confidenceHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace Rekognition
73} // namespace Aws
AWS_REKOGNITION_API EyeOpen()=default
void SetConfidence(double value)
Definition EyeOpen.h:54
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API EyeOpen & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ConfidenceHasBeenSet() const
Definition EyeOpen.h:53
void SetValue(bool value)
Definition EyeOpen.h:38
EyeOpen & WithValue(bool value)
Definition EyeOpen.h:42
EyeOpen & WithConfidence(double value)
Definition EyeOpen.h:58
AWS_REKOGNITION_API EyeOpen(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue