AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Sunglasses.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 Sunglasses();
34 AWS_REKOGNITION_API Sunglasses(Aws::Utils::Json::JsonView jsonValue);
35 AWS_REKOGNITION_API Sunglasses& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline bool GetValue() const{ return m_value; }
45 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
46 inline void SetValue(bool value) { m_valueHasBeenSet = true; m_value = value; }
47 inline Sunglasses& WithValue(bool value) { SetValue(value); return *this;}
49
51
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 Sunglasses& WithConfidence(double value) { SetConfidence(value); return *this;}
59 private:
60
61 bool m_value;
62 bool m_valueHasBeenSet = 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 Sunglasses(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Sunglasses & operator=(Aws::Utils::Json::JsonView jsonValue)
Sunglasses & WithValue(bool value)
Definition Sunglasses.h:47
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
Sunglasses & WithConfidence(double value)
Definition Sunglasses.h:57
AWS_REKOGNITION_API Sunglasses()
Aws::Utils::Json::JsonValue JsonValue