7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rekognition/Rekognition_EXPORTS.h>
11#include <aws/rekognition/model/ContentType.h>
12#include <aws/rekognition/model/HumanLoopActivationOutput.h>
13#include <aws/rekognition/model/ModerationLabel.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace Rekognition {
40 template <
typename ModerationLabelsT = Aws::Vector<ModerationLabel>>
42 m_moderationLabelsHasBeenSet =
true;
43 m_moderationLabels = std::forward<ModerationLabelsT>(value);
45 template <
typename ModerationLabelsT = Aws::Vector<ModerationLabel>>
50 template <
typename ModerationLabelsT = ModerationLabel>
52 m_moderationLabelsHasBeenSet =
true;
53 m_moderationLabels.emplace_back(std::forward<ModerationLabelsT>(value));
64 template <
typename ModerationModelVersionT = Aws::String>
66 m_moderationModelVersionHasBeenSet =
true;
67 m_moderationModelVersion = std::forward<ModerationModelVersionT>(value);
69 template <
typename ModerationModelVersionT = Aws::String>
81 template <
typename HumanLoopActivationOutputT = HumanLoopActivationOutput>
83 m_humanLoopActivationOutputHasBeenSet =
true;
84 m_humanLoopActivationOutput = std::forward<HumanLoopActivationOutputT>(value);
86 template <
typename HumanLoopActivationOutputT = HumanLoopActivationOutput>
100 template <
typename ProjectVersionT = Aws::String>
102 m_projectVersionHasBeenSet =
true;
103 m_projectVersion = std::forward<ProjectVersionT>(value);
105 template <
typename ProjectVersionT = Aws::String>
118 template <
typename ContentTypesT = Aws::Vector<ContentType>>
120 m_contentTypesHasBeenSet =
true;
121 m_contentTypes = std::forward<ContentTypesT>(value);
123 template <
typename ContentTypesT = Aws::Vector<ContentType>>
128 template <
typename ContentTypesT = ContentType>
130 m_contentTypesHasBeenSet =
true;
131 m_contentTypes.emplace_back(std::forward<ContentTypesT>(value));
139 template <
typename RequestIdT = Aws::String>
141 m_requestIdHasBeenSet =
true;
142 m_requestId = std::forward<RequestIdT>(value);
144 template <
typename RequestIdT = Aws::String>
165 bool m_moderationLabelsHasBeenSet =
false;
166 bool m_moderationModelVersionHasBeenSet =
false;
167 bool m_humanLoopActivationOutputHasBeenSet =
false;
168 bool m_projectVersionHasBeenSet =
false;
169 bool m_contentTypesHasBeenSet =
false;
170 bool m_requestIdHasBeenSet =
false;
const Aws::Vector< ContentType > & GetContentTypes() const
void SetHumanLoopActivationOutput(HumanLoopActivationOutputT &&value)
DetectModerationLabelsResult & WithModerationLabels(ModerationLabelsT &&value)
const Aws::String & GetProjectVersion() const
AWS_REKOGNITION_API DetectModerationLabelsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetectModerationLabelsResult & AddModerationLabels(ModerationLabelsT &&value)
AWS_REKOGNITION_API DetectModerationLabelsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetectModerationLabelsResult & AddContentTypes(ContentTypesT &&value)
DetectModerationLabelsResult & WithProjectVersion(ProjectVersionT &&value)
void SetRequestId(RequestIdT &&value)
void SetModerationLabels(ModerationLabelsT &&value)
DetectModerationLabelsResult & WithContentTypes(ContentTypesT &&value)
DetectModerationLabelsResult & WithHumanLoopActivationOutput(HumanLoopActivationOutputT &&value)
DetectModerationLabelsResult & WithModerationModelVersion(ModerationModelVersionT &&value)
const Aws::String & GetRequestId() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DetectModerationLabelsResult & WithRequestId(RequestIdT &&value)
AWS_REKOGNITION_API DetectModerationLabelsResult()=default
const HumanLoopActivationOutput & GetHumanLoopActivationOutput() const
const Aws::Vector< ModerationLabel > & GetModerationLabels() const
void SetContentTypes(ContentTypesT &&value)
const Aws::String & GetModerationModelVersion() const
void SetProjectVersion(ProjectVersionT &&value)
void SetModerationModelVersion(ModerationModelVersionT &&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