AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
CoversBodyPart.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
27 public:
28 AWS_REKOGNITION_API CoversBodyPart() = default;
29 AWS_REKOGNITION_API CoversBodyPart(Aws::Utils::Json::JsonView jsonValue);
30 AWS_REKOGNITION_API CoversBodyPart& operator=(Aws::Utils::Json::JsonView jsonValue);
31 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
38 inline double GetConfidence() const { return m_confidence; }
39 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
40 inline void SetConfidence(double value) {
41 m_confidenceHasBeenSet = true;
42 m_confidence = value;
43 }
44 inline CoversBodyPart& WithConfidence(double value) {
45 SetConfidence(value);
46 return *this;
47 }
49
51
54 inline bool GetValue() const { return m_value; }
55 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
56 inline void SetValue(bool value) {
57 m_valueHasBeenSet = true;
58 m_value = value;
59 }
60 inline CoversBodyPart& WithValue(bool value) {
61 SetValue(value);
62 return *this;
63 }
65 private:
66 double m_confidence{0.0};
67 bool m_confidenceHasBeenSet = false;
68
69 bool m_value{false};
70 bool m_valueHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace Rekognition
75} // namespace Aws
AWS_REKOGNITION_API CoversBodyPart & operator=(Aws::Utils::Json::JsonView jsonValue)
CoversBodyPart & WithValue(bool value)
AWS_REKOGNITION_API CoversBodyPart()=default
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