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

The quality of an image provided for label detection, with regard to * brightness, sharpness, and contrast.

See Also:

AWS * API Reference

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

The brightness of an image provided for label detection.

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

The brightness of an image provided for label detection.

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

The brightness of an image provided for label detection.

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

The brightness of an image provided for label detection.

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

The sharpness of an image provided for label detection.

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

The sharpness of an image provided for label detection.

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

The sharpness of an image provided for label detection.

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

The sharpness of an image provided for label detection.

*/ inline DetectLabelsImageQuality& WithSharpness(double value) { SetSharpness(value); return *this;} /** *

The contrast of an image provided for label detection.

*/ inline double GetContrast() const{ return m_contrast; } /** *

The contrast of an image provided for label detection.

*/ inline bool ContrastHasBeenSet() const { return m_contrastHasBeenSet; } /** *

The contrast of an image provided for label detection.

*/ inline void SetContrast(double value) { m_contrastHasBeenSet = true; m_contrast = value; } /** *

The contrast of an image provided for label detection.

*/ inline DetectLabelsImageQuality& WithContrast(double value) { SetContrast(value); return *this;} private: double m_brightness; bool m_brightnessHasBeenSet = false; double m_sharpness; bool m_sharpnessHasBeenSet = false; double m_contrast; bool m_contrastHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws