AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
MediaAnalysisOperationsConfig.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/MediaAnalysisDetectModerationLabelsConfig.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Rekognition {
20namespace Model {
21
29 public:
30 AWS_REKOGNITION_API MediaAnalysisOperationsConfig() = default;
33 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const MediaAnalysisDetectModerationLabelsConfig& GetDetectModerationLabels() const { return m_detectModerationLabels; }
40 inline bool DetectModerationLabelsHasBeenSet() const { return m_detectModerationLabelsHasBeenSet; }
41 template <typename DetectModerationLabelsT = MediaAnalysisDetectModerationLabelsConfig>
42 void SetDetectModerationLabels(DetectModerationLabelsT&& value) {
43 m_detectModerationLabelsHasBeenSet = true;
44 m_detectModerationLabels = std::forward<DetectModerationLabelsT>(value);
45 }
46 template <typename DetectModerationLabelsT = MediaAnalysisDetectModerationLabelsConfig>
48 SetDetectModerationLabels(std::forward<DetectModerationLabelsT>(value));
49 return *this;
50 }
52 private:
53 MediaAnalysisDetectModerationLabelsConfig m_detectModerationLabels;
54 bool m_detectModerationLabelsHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace Rekognition
59} // namespace Aws
AWS_REKOGNITION_API MediaAnalysisOperationsConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API MediaAnalysisOperationsConfig()=default
AWS_REKOGNITION_API MediaAnalysisOperationsConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
MediaAnalysisOperationsConfig & WithDetectModerationLabels(DetectModerationLabelsT &&value)
const MediaAnalysisDetectModerationLabelsConfig & GetDetectModerationLabels() const
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue