/** * 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 { /** *

Identifies face image brightness and sharpness.

See Also:

* AWS * API Reference

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

Value representing brightness of the face. The service returns a value * between 0 and 100 (inclusive). A higher value indicates a brighter face * image.

*/ inline double GetBrightness() const{ return m_brightness; } /** *

Value representing brightness of the face. The service returns a value * between 0 and 100 (inclusive). A higher value indicates a brighter face * image.

*/ inline bool BrightnessHasBeenSet() const { return m_brightnessHasBeenSet; } /** *

Value representing brightness of the face. The service returns a value * between 0 and 100 (inclusive). A higher value indicates a brighter face * image.

*/ inline void SetBrightness(double value) { m_brightnessHasBeenSet = true; m_brightness = value; } /** *

Value representing brightness of the face. The service returns a value * between 0 and 100 (inclusive). A higher value indicates a brighter face * image.

*/ inline ImageQuality& WithBrightness(double value) { SetBrightness(value); return *this;} /** *

Value representing sharpness of the face. The service returns a value between * 0 and 100 (inclusive). A higher value indicates a sharper face image.

*/ inline double GetSharpness() const{ return m_sharpness; } /** *

Value representing sharpness of the face. The service returns a value between * 0 and 100 (inclusive). A higher value indicates a sharper face image.

*/ inline bool SharpnessHasBeenSet() const { return m_sharpnessHasBeenSet; } /** *

Value representing sharpness of the face. The service returns a value between * 0 and 100 (inclusive). A higher value indicates a sharper face image.

*/ inline void SetSharpness(double value) { m_sharpnessHasBeenSet = true; m_sharpness = value; } /** *

Value representing sharpness of the face. The service returns a value between * 0 and 100 (inclusive). A higher value indicates a sharper face image.

*/ inline ImageQuality& WithSharpness(double value) { SetSharpness(value); return *this;} private: double m_brightness; bool m_brightnessHasBeenSet = false; double m_sharpness; bool m_sharpnessHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws