AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EyeOpen.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
30 class EyeOpen
31 {
32 public:
33 AWS_REKOGNITION_API EyeOpen();
34 AWS_REKOGNITION_API EyeOpen(Aws::Utils::Json::JsonView jsonValue);
35 AWS_REKOGNITION_API EyeOpen& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline bool GetValue() const{ return m_value; }
44 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
45 inline void SetValue(bool value) { m_valueHasBeenSet = true; m_value = value; }
46 inline EyeOpen& WithValue(bool value) { SetValue(value); return *this;}
48
50
53 inline double GetConfidence() const{ return m_confidence; }
54 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
55 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
56 inline EyeOpen& WithConfidence(double value) { SetConfidence(value); return *this;}
58 private:
59
60 bool m_value;
61 bool m_valueHasBeenSet = false;
62
63 double m_confidence;
64 bool m_confidenceHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace Rekognition
69} // namespace Aws
void SetConfidence(double value)
Definition EyeOpen.h:55
AWS_REKOGNITION_API EyeOpen()
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:54
void SetValue(bool value)
Definition EyeOpen.h:45
EyeOpen & WithValue(bool value)
Definition EyeOpen.h:46
EyeOpen & WithConfidence(double value)
Definition EyeOpen.h:56
AWS_REKOGNITION_API EyeOpen(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue