7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rekognition/Rekognition_EXPORTS.h>
10#include <aws/rekognition/model/DetectLabelsImageProperties.h>
11#include <aws/rekognition/model/Label.h>
12#include <aws/rekognition/model/OrientationCorrection.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace Rekognition {
38 template <
typename LabelsT = Aws::Vector<Label>>
40 m_labelsHasBeenSet =
true;
41 m_labels = std::forward<LabelsT>(value);
43 template <
typename LabelsT = Aws::Vector<Label>>
48 template <
typename LabelsT = Label>
50 m_labelsHasBeenSet =
true;
51 m_labels.emplace_back(std::forward<LabelsT>(value));
72 m_orientationCorrectionHasBeenSet =
true;
73 m_orientationCorrection = value;
87 template <
typename LabelModelVersionT = Aws::String>
89 m_labelModelVersionHasBeenSet =
true;
90 m_labelModelVersion = std::forward<LabelModelVersionT>(value);
92 template <
typename LabelModelVersionT = Aws::String>
105 template <
typename ImagePropertiesT = DetectLabelsImageProperties>
107 m_imagePropertiesHasBeenSet =
true;
108 m_imageProperties = std::forward<ImagePropertiesT>(value);
110 template <
typename ImagePropertiesT = DetectLabelsImageProperties>
120 template <
typename RequestIdT = Aws::String>
122 m_requestIdHasBeenSet =
true;
123 m_requestId = std::forward<RequestIdT>(value);
125 template <
typename RequestIdT = Aws::String>
138 DetectLabelsImageProperties m_imageProperties;
141 bool m_labelsHasBeenSet =
false;
142 bool m_orientationCorrectionHasBeenSet =
false;
143 bool m_labelModelVersionHasBeenSet =
false;
144 bool m_imagePropertiesHasBeenSet =
false;
145 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)
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