7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/rekognition/model/Image.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rekognition/model/DetectLabelsSettings.h>
12#include <aws/rekognition/model/DetectLabelsFeatureName.h>
51 template<
typename ImageT = Image>
52 void SetImage(ImageT&& value) { m_imageHasBeenSet =
true; m_image = std::forward<ImageT>(value); }
53 template<
typename ImageT = Image>
66 inline void SetMaxLabels(
int value) { m_maxLabelsHasBeenSet =
true; m_maxLabels = value; }
81 inline void SetMinConfidence(
double value) { m_minConfidenceHasBeenSet =
true; m_minConfidence = value; }
94 template<
typename FeaturesT = Aws::Vector<DetectLabelsFeatureName>>
95 void SetFeatures(FeaturesT&& value) { m_featuresHasBeenSet =
true; m_features = std::forward<FeaturesT>(value); }
96 template<
typename FeaturesT = Aws::Vector<DetectLabelsFeatureName>>
113 template<
typename SettingsT = DetectLabelsSettings>
114 void SetSettings(SettingsT&& value) { m_settingsHasBeenSet =
true; m_settings = std::forward<SettingsT>(value); }
115 template<
typename SettingsT = DetectLabelsSettings>
121 bool m_imageHasBeenSet =
false;
124 bool m_maxLabelsHasBeenSet =
false;
126 double m_minConfidence{0.0};
127 bool m_minConfidenceHasBeenSet =
false;
130 bool m_featuresHasBeenSet =
false;
132 DetectLabelsSettings m_settings;
133 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