AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Smile.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 Smile
31 {
32 public:
33 AWS_REKOGNITION_API Smile();
34 AWS_REKOGNITION_API Smile(Aws::Utils::Json::JsonView jsonValue);
35 AWS_REKOGNITION_API Smile& 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 Smile& 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 Smile& 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
bool ConfidenceHasBeenSet() const
Definition Smile.h:54
double GetConfidence() const
Definition Smile.h:53
void SetValue(bool value)
Definition Smile.h:45
bool ValueHasBeenSet() const
Definition Smile.h:44
AWS_REKOGNITION_API Smile & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Smile()
Smile & WithConfidence(double value)
Definition Smile.h:56
AWS_REKOGNITION_API Smile(Aws::Utils::Json::JsonView jsonValue)
void SetConfidence(double value)
Definition Smile.h:55
Smile & WithValue(bool value)
Definition Smile.h:46
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue