AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
CustomizationFeatureContentModerationConfig.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 CustomizationFeatureContentModerationConfig() = default;
30 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline double GetConfidenceThreshold() const { return m_confidenceThreshold; }
38 inline bool ConfidenceThresholdHasBeenSet() const { return m_confidenceThresholdHasBeenSet; }
39 inline void SetConfidenceThreshold(double value) {
40 m_confidenceThresholdHasBeenSet = true;
41 m_confidenceThreshold = value;
42 }
45 return *this;
46 }
48 private:
49 double m_confidenceThreshold{0.0};
50 bool m_confidenceThresholdHasBeenSet = false;
51};
52
53} // namespace Model
54} // namespace Rekognition
55} // namespace Aws
CustomizationFeatureContentModerationConfig & WithConfidenceThreshold(double value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API CustomizationFeatureContentModerationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API CustomizationFeatureContentModerationConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue