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/DetectLabelsImageProperties.h>
12#include <aws/rekognition/model/Label.h>
13#include <aws/rekognition/model/OrientationCorrection.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace Rekognition {
39 template <
typename LabelsT = Aws::Vector<Label>>
41 m_labelsHasBeenSet =
true;
42 m_labels = std::forward<LabelsT>(value);
44 template <
typename LabelsT = Aws::Vector<Label>>
49 template <
typename LabelsT = Label>
51 m_labelsHasBeenSet =
true;
52 m_labels.emplace_back(std::forward<LabelsT>(value));
73 m_orientationCorrectionHasBeenSet =
true;
74 m_orientationCorrection = value;
88 template <
typename LabelModelVersionT = Aws::String>
90 m_labelModelVersionHasBeenSet =
true;
91 m_labelModelVersion = std::forward<LabelModelVersionT>(value);
93 template <
typename LabelModelVersionT = Aws::String>
106 template <
typename ImagePropertiesT = DetectLabelsImageProperties>
108 m_imagePropertiesHasBeenSet =
true;
109 m_imageProperties = std::forward<ImagePropertiesT>(value);
111 template <
typename ImagePropertiesT = DetectLabelsImageProperties>
121 template <
typename RequestIdT = Aws::String>
123 m_requestIdHasBeenSet =
true;
124 m_requestId = std::forward<RequestIdT>(value);
126 template <
typename RequestIdT = Aws::String>
141 DetectLabelsImageProperties m_imageProperties;
145 bool m_labelsHasBeenSet =
false;
146 bool m_orientationCorrectionHasBeenSet =
false;
147 bool m_labelModelVersionHasBeenSet =
false;
148 bool m_imagePropertiesHasBeenSet =
false;
149 bool m_requestIdHasBeenSet =
false;
AWS_REKOGNITION_API DetectLabelsResult()=default
DetectLabelsResult & WithLabels(LabelsT &&value)
void SetRequestId(RequestIdT &&value)
DetectLabelsResult & AddLabels(LabelsT &&value)
const Aws::String & GetLabelModelVersion() const
const Aws::String & GetRequestId() const
AWS_REKOGNITION_API DetectLabelsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const DetectLabelsImageProperties & GetImageProperties() const
const Aws::Vector< Label > & GetLabels() const
DetectLabelsResult & WithOrientationCorrection(OrientationCorrection value)
OrientationCorrection GetOrientationCorrection() const
DetectLabelsResult & WithLabelModelVersion(LabelModelVersionT &&value)
void SetOrientationCorrection(OrientationCorrection value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DetectLabelsResult & WithRequestId(RequestIdT &&value)
void SetLabels(LabelsT &&value)
AWS_REKOGNITION_API DetectLabelsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetImageProperties(ImagePropertiesT &&value)
DetectLabelsResult & WithImageProperties(ImagePropertiesT &&value)
void SetLabelModelVersion(LabelModelVersionT &&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