AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
BlackFrame.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
30 public:
31 AWS_REKOGNITION_API BlackFrame() = default;
32 AWS_REKOGNITION_API BlackFrame(Aws::Utils::Json::JsonView jsonValue);
33 AWS_REKOGNITION_API BlackFrame& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
48 inline double GetMaxPixelThreshold() const { return m_maxPixelThreshold; }
49 inline bool MaxPixelThresholdHasBeenSet() const { return m_maxPixelThresholdHasBeenSet; }
50 inline void SetMaxPixelThreshold(double value) {
51 m_maxPixelThresholdHasBeenSet = true;
52 m_maxPixelThreshold = value;
53 }
54 inline BlackFrame& WithMaxPixelThreshold(double value) {
56 return *this;
57 }
59
61
69 inline double GetMinCoveragePercentage() const { return m_minCoveragePercentage; }
70 inline bool MinCoveragePercentageHasBeenSet() const { return m_minCoveragePercentageHasBeenSet; }
71 inline void SetMinCoveragePercentage(double value) {
72 m_minCoveragePercentageHasBeenSet = true;
73 m_minCoveragePercentage = value;
74 }
75 inline BlackFrame& WithMinCoveragePercentage(double value) {
77 return *this;
78 }
80 private:
81 double m_maxPixelThreshold{0.0};
82
83 double m_minCoveragePercentage{0.0};
84 bool m_maxPixelThresholdHasBeenSet = false;
85 bool m_minCoveragePercentageHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace Rekognition
90} // namespace Aws
AWS_REKOGNITION_API BlackFrame()=default
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
BlackFrame & WithMinCoveragePercentage(double value)
Definition BlackFrame.h:75
AWS_REKOGNITION_API BlackFrame(Aws::Utils::Json::JsonView jsonValue)
void SetMinCoveragePercentage(double value)
Definition BlackFrame.h:71
void SetMaxPixelThreshold(double value)
Definition BlackFrame.h:50
BlackFrame & WithMaxPixelThreshold(double value)
Definition BlackFrame.h:54
AWS_REKOGNITION_API BlackFrame & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue