/** * 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 face has a beard, and the confidence level in * the determination.

See Also:

AWS * API Reference

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

Boolean value that indicates whether the face has beard or not.

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

Boolean value that indicates whether the face has beard or not.

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

Boolean value that indicates whether the face has beard or not.

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

Boolean value that indicates whether the face has beard or not.

*/ inline Beard& 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 Beard& WithConfidence(double value) { SetConfidence(value); return *this;} private: bool m_value; bool m_valueHasBeenSet; double m_confidence; bool m_confidenceHasBeenSet; }; } // namespace Model } // namespace Rekognition } // namespace Aws