/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The emotions that appear to be expressed on the face, and the confidence
* level in the determination. The API is only making a determination of the
* physical appearance of a person's face. It is not a determination of the
* person’s internal emotional state and should not be used in such a way. For
* example, a person pretending to have a sad face might not be sad
* emotionally.See Also:
AWS
* API Reference
Type of emotion detected.
*/ inline const EmotionName& GetType() const{ return m_type; } /** *Type of emotion detected.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *Type of emotion detected.
*/ inline void SetType(const EmotionName& value) { m_typeHasBeenSet = true; m_type = value; } /** *Type of emotion detected.
*/ inline void SetType(EmotionName&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *Type of emotion detected.
*/ inline Emotion& WithType(const EmotionName& value) { SetType(value); return *this;} /** *Type of emotion detected.
*/ inline Emotion& WithType(EmotionName&& value) { SetType(std::move(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 Emotion& WithConfidence(double value) { SetConfidence(value); return *this;} private: EmotionName m_type; bool m_typeHasBeenSet = false; double m_confidence; bool m_confidenceHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws