AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DetectLabelsImageQuality.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Rekognition {
17namespace Model {
18
26 public:
27 AWS_REKOGNITION_API DetectLabelsImageQuality() = default;
30 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline double GetBrightness() const { return m_brightness; }
37 inline bool BrightnessHasBeenSet() const { return m_brightnessHasBeenSet; }
38 inline void SetBrightness(double value) {
39 m_brightnessHasBeenSet = true;
40 m_brightness = value;
41 }
43 SetBrightness(value);
44 return *this;
45 }
47
49
52 inline double GetSharpness() const { return m_sharpness; }
53 inline bool SharpnessHasBeenSet() const { return m_sharpnessHasBeenSet; }
54 inline void SetSharpness(double value) {
55 m_sharpnessHasBeenSet = true;
56 m_sharpness = value;
57 }
59 SetSharpness(value);
60 return *this;
61 }
63
65
68 inline double GetContrast() const { return m_contrast; }
69 inline bool ContrastHasBeenSet() const { return m_contrastHasBeenSet; }
70 inline void SetContrast(double value) {
71 m_contrastHasBeenSet = true;
72 m_contrast = value;
73 }
74 inline DetectLabelsImageQuality& WithContrast(double value) {
75 SetContrast(value);
76 return *this;
77 }
79 private:
80 double m_brightness{0.0};
81
82 double m_sharpness{0.0};
83
84 double m_contrast{0.0};
85 bool m_brightnessHasBeenSet = false;
86 bool m_sharpnessHasBeenSet = false;
87 bool m_contrastHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace Rekognition
92} // namespace Aws
AWS_REKOGNITION_API DetectLabelsImageQuality()=default
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API DetectLabelsImageQuality & operator=(Aws::Utils::Json::JsonView jsonValue)
DetectLabelsImageQuality & WithSharpness(double value)
AWS_REKOGNITION_API DetectLabelsImageQuality(Aws::Utils::Json::JsonView jsonValue)
DetectLabelsImageQuality & WithBrightness(double value)
DetectLabelsImageQuality & WithContrast(double value)
Aws::Utils::Json::JsonValue JsonValue