AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetectModerationLabelsResult.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rekognition/model/HumanLoopActivationOutput.h>
11#include <aws/rekognition/model/ModerationLabel.h>
12#include <aws/rekognition/model/ContentType.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Rekognition
28{
29namespace Model
30{
32 {
33 public:
34 AWS_REKOGNITION_API DetectModerationLabelsResult();
37
38
40
44 inline const Aws::Vector<ModerationLabel>& GetModerationLabels() const{ return m_moderationLabels; }
45 inline void SetModerationLabels(const Aws::Vector<ModerationLabel>& value) { m_moderationLabels = value; }
46 inline void SetModerationLabels(Aws::Vector<ModerationLabel>&& value) { m_moderationLabels = std::move(value); }
49 inline DetectModerationLabelsResult& AddModerationLabels(const ModerationLabel& value) { m_moderationLabels.push_back(value); return *this; }
50 inline DetectModerationLabelsResult& AddModerationLabels(ModerationLabel&& value) { m_moderationLabels.push_back(std::move(value)); return *this; }
52
54
58 inline const Aws::String& GetModerationModelVersion() const{ return m_moderationModelVersion; }
59 inline void SetModerationModelVersion(const Aws::String& value) { m_moderationModelVersion = value; }
60 inline void SetModerationModelVersion(Aws::String&& value) { m_moderationModelVersion = std::move(value); }
61 inline void SetModerationModelVersion(const char* value) { m_moderationModelVersion.assign(value); }
64 inline DetectModerationLabelsResult& WithModerationModelVersion(const char* value) { SetModerationModelVersion(value); return *this;}
66
68
71 inline const HumanLoopActivationOutput& GetHumanLoopActivationOutput() const{ return m_humanLoopActivationOutput; }
72 inline void SetHumanLoopActivationOutput(const HumanLoopActivationOutput& value) { m_humanLoopActivationOutput = value; }
73 inline void SetHumanLoopActivationOutput(HumanLoopActivationOutput&& value) { m_humanLoopActivationOutput = std::move(value); }
77
79
84 inline const Aws::String& GetProjectVersion() const{ return m_projectVersion; }
85 inline void SetProjectVersion(const Aws::String& value) { m_projectVersion = value; }
86 inline void SetProjectVersion(Aws::String&& value) { m_projectVersion = std::move(value); }
87 inline void SetProjectVersion(const char* value) { m_projectVersion.assign(value); }
89 inline DetectModerationLabelsResult& WithProjectVersion(Aws::String&& value) { SetProjectVersion(std::move(value)); return *this;}
90 inline DetectModerationLabelsResult& WithProjectVersion(const char* value) { SetProjectVersion(value); return *this;}
92
94
98 inline const Aws::Vector<ContentType>& GetContentTypes() const{ return m_contentTypes; }
99 inline void SetContentTypes(const Aws::Vector<ContentType>& value) { m_contentTypes = value; }
100 inline void SetContentTypes(Aws::Vector<ContentType>&& value) { m_contentTypes = std::move(value); }
103 inline DetectModerationLabelsResult& AddContentTypes(const ContentType& value) { m_contentTypes.push_back(value); return *this; }
104 inline DetectModerationLabelsResult& AddContentTypes(ContentType&& value) { m_contentTypes.push_back(std::move(value)); return *this; }
106
108
109 inline const Aws::String& GetRequestId() const{ return m_requestId; }
110 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
111 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
112 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
113 inline DetectModerationLabelsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
114 inline DetectModerationLabelsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
115 inline DetectModerationLabelsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
117 private:
118
119 Aws::Vector<ModerationLabel> m_moderationLabels;
120
121 Aws::String m_moderationModelVersion;
122
123 HumanLoopActivationOutput m_humanLoopActivationOutput;
124
125 Aws::String m_projectVersion;
126
127 Aws::Vector<ContentType> m_contentTypes;
128
129 Aws::String m_requestId;
130 };
131
132} // namespace Model
133} // namespace Rekognition
134} // namespace Aws
const Aws::Vector< ContentType > & GetContentTypes() const
DetectModerationLabelsResult & WithContentTypes(Aws::Vector< ContentType > &&value)
AWS_REKOGNITION_API DetectModerationLabelsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetectModerationLabelsResult & WithModerationModelVersion(Aws::String &&value)
DetectModerationLabelsResult & AddModerationLabels(const ModerationLabel &value)
DetectModerationLabelsResult & WithRequestId(const char *value)
AWS_REKOGNITION_API DetectModerationLabelsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetectModerationLabelsResult & WithModerationModelVersion(const char *value)
DetectModerationLabelsResult & WithRequestId(Aws::String &&value)
void SetHumanLoopActivationOutput(const HumanLoopActivationOutput &value)
void SetContentTypes(const Aws::Vector< ContentType > &value)
DetectModerationLabelsResult & WithHumanLoopActivationOutput(const HumanLoopActivationOutput &value)
DetectModerationLabelsResult & WithHumanLoopActivationOutput(HumanLoopActivationOutput &&value)
DetectModerationLabelsResult & WithProjectVersion(const char *value)
DetectModerationLabelsResult & AddContentTypes(ContentType &&value)
DetectModerationLabelsResult & WithContentTypes(const Aws::Vector< ContentType > &value)
const HumanLoopActivationOutput & GetHumanLoopActivationOutput() const
const Aws::Vector< ModerationLabel > & GetModerationLabels() const
DetectModerationLabelsResult & AddModerationLabels(ModerationLabel &&value)
DetectModerationLabelsResult & AddContentTypes(const ContentType &value)
DetectModerationLabelsResult & WithModerationLabels(const Aws::Vector< ModerationLabel > &value)
void SetModerationLabels(const Aws::Vector< ModerationLabel > &value)
void SetModerationLabels(Aws::Vector< ModerationLabel > &&value)
DetectModerationLabelsResult & WithProjectVersion(const Aws::String &value)
DetectModerationLabelsResult & WithModerationModelVersion(const Aws::String &value)
DetectModerationLabelsResult & WithProjectVersion(Aws::String &&value)
DetectModerationLabelsResult & WithModerationLabels(Aws::Vector< ModerationLabel > &&value)
void SetHumanLoopActivationOutput(HumanLoopActivationOutput &&value)
DetectModerationLabelsResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue