7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/rekognition/Rekognition_EXPORTS.h>
10#include <aws/rekognition/model/DetectLabelsFeatureName.h>
11#include <aws/rekognition/model/DetectLabelsSettings.h>
12#include <aws/rekognition/model/Image.h>
17namespace Rekognition {
47 template <
typename ImageT = Image>
49 m_imageHasBeenSet =
true;
50 m_image = std::forward<ImageT>(value);
52 template <
typename ImageT = Image>
54 SetImage(std::forward<ImageT>(value));
69 m_maxLabelsHasBeenSet =
true;
90 m_minConfidenceHasBeenSet =
true;
91 m_minConfidence = value;
108 template <
typename FeaturesT = Aws::Vector<DetectLabelsFeatureName>>
110 m_featuresHasBeenSet =
true;
111 m_features = std::forward<FeaturesT>(value);
113 template <
typename FeaturesT = Aws::Vector<DetectLabelsFeatureName>>
119 m_featuresHasBeenSet =
true;
120 m_features.push_back(value);
137 template <
typename SettingsT = DetectLabelsSettings>
139 m_settingsHasBeenSet =
true;
140 m_settings = std::forward<SettingsT>(value);
142 template <
typename SettingsT = DetectLabelsSettings>
153 double m_minConfidence{0.0};
157 DetectLabelsSettings m_settings;
158 bool m_imageHasBeenSet =
false;
159 bool m_maxLabelsHasBeenSet =
false;
160 bool m_minConfidenceHasBeenSet =
false;
161 bool m_featuresHasBeenSet =
false;
162 bool m_settingsHasBeenSet =
false;
DetectLabelsRequest & WithImage(ImageT &&value)
bool MaxLabelsHasBeenSet() const
const Image & GetImage() const
void SetFeatures(FeaturesT &&value)
DetectLabelsRequest & AddFeatures(DetectLabelsFeatureName value)
void SetMaxLabels(int value)
virtual const char * GetServiceRequestName() const override
DetectLabelsRequest & WithSettings(SettingsT &&value)
void SetImage(ImageT &&value)
const DetectLabelsSettings & GetSettings() const
bool SettingsHasBeenSet() const
bool MinConfidenceHasBeenSet() const
void SetMinConfidence(double value)
bool ImageHasBeenSet() const
DetectLabelsRequest & WithMinConfidence(double value)
double GetMinConfidence() const
DetectLabelsRequest & WithMaxLabels(int value)
bool FeaturesHasBeenSet() const
DetectLabelsRequest & WithFeatures(FeaturesT &&value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< DetectLabelsFeatureName > & GetFeatures() const
AWS_REKOGNITION_API Aws::String SerializePayload() const override
void SetSettings(SettingsT &&value)
AWS_REKOGNITION_API DetectLabelsRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector