AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
MediaAnalysisDetectModerationLabelsConfig.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Rekognition
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_REKOGNITION_API MediaAnalysisDetectModerationLabelsConfig() = default;
37 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
46 inline double GetMinConfidence() const { return m_minConfidence; }
47 inline bool MinConfidenceHasBeenSet() const { return m_minConfidenceHasBeenSet; }
48 inline void SetMinConfidence(double value) { m_minConfidenceHasBeenSet = true; m_minConfidence = value; }
51
53
57 inline const Aws::String& GetProjectVersion() const { return m_projectVersion; }
58 inline bool ProjectVersionHasBeenSet() const { return m_projectVersionHasBeenSet; }
59 template<typename ProjectVersionT = Aws::String>
60 void SetProjectVersion(ProjectVersionT&& value) { m_projectVersionHasBeenSet = true; m_projectVersion = std::forward<ProjectVersionT>(value); }
61 template<typename ProjectVersionT = Aws::String>
62 MediaAnalysisDetectModerationLabelsConfig& WithProjectVersion(ProjectVersionT&& value) { SetProjectVersion(std::forward<ProjectVersionT>(value)); return *this;}
64 private:
65
66 double m_minConfidence{0.0};
67 bool m_minConfidenceHasBeenSet = false;
68
69 Aws::String m_projectVersion;
70 bool m_projectVersionHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Rekognition
75} // namespace Aws
AWS_REKOGNITION_API MediaAnalysisDetectModerationLabelsConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API MediaAnalysisDetectModerationLabelsConfig(Aws::Utils::Json::JsonView jsonValue)
MediaAnalysisDetectModerationLabelsConfig & WithProjectVersion(ProjectVersionT &&value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue