/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Rekognition { namespace Model { /** *

Indicates whether or not the mouth on the face is open, and the confidence * level in the determination.

See Also:

AWS * API Reference

*/ class MouthOpen { public: AWS_REKOGNITION_API MouthOpen(); AWS_REKOGNITION_API MouthOpen(Aws::Utils::Json::JsonView jsonValue); AWS_REKOGNITION_API MouthOpen& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Boolean value that indicates whether the mouth on the face is open or * not.

*/ inline bool GetValue() const{ return m_value; } /** *

Boolean value that indicates whether the mouth on the face is open or * not.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

Boolean value that indicates whether the mouth on the face is open or * not.

*/ inline void SetValue(bool value) { m_valueHasBeenSet = true; m_value = value; } /** *

Boolean value that indicates whether the mouth on the face is open or * not.

*/ inline MouthOpen& WithValue(bool value) { SetValue(value); return *this;} /** *

Level of confidence in the determination.

*/ inline double GetConfidence() const{ return m_confidence; } /** *

Level of confidence in the determination.

*/ inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; } /** *

Level of confidence in the determination.

*/ inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; } /** *

Level of confidence in the determination.

*/ inline MouthOpen& WithConfidence(double value) { SetConfidence(value); return *this;} private: bool m_value; bool m_valueHasBeenSet = false; double m_confidence; bool m_confidenceHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws