AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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