AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetectLabelsResult.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rekognition/model/OrientationCorrection.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/rekognition/model/DetectLabelsImageProperties.h>
12#include <aws/rekognition/model/Label.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Rekognition
28{
29namespace Model
30{
32 {
33 public:
34 AWS_REKOGNITION_API DetectLabelsResult();
37
38
40
43 inline const Aws::Vector<Label>& GetLabels() const{ return m_labels; }
44 inline void SetLabels(const Aws::Vector<Label>& value) { m_labels = value; }
45 inline void SetLabels(Aws::Vector<Label>&& value) { m_labels = std::move(value); }
46 inline DetectLabelsResult& WithLabels(const Aws::Vector<Label>& value) { SetLabels(value); return *this;}
47 inline DetectLabelsResult& WithLabels(Aws::Vector<Label>&& value) { SetLabels(std::move(value)); return *this;}
48 inline DetectLabelsResult& AddLabels(const Label& value) { m_labels.push_back(value); return *this; }
49 inline DetectLabelsResult& AddLabels(Label&& value) { m_labels.push_back(std::move(value)); return *this; }
51
53
66 inline const OrientationCorrection& GetOrientationCorrection() const{ return m_orientationCorrection; }
67 inline void SetOrientationCorrection(const OrientationCorrection& value) { m_orientationCorrection = value; }
68 inline void SetOrientationCorrection(OrientationCorrection&& value) { m_orientationCorrection = std::move(value); }
72
74
78 inline const Aws::String& GetLabelModelVersion() const{ return m_labelModelVersion; }
79 inline void SetLabelModelVersion(const Aws::String& value) { m_labelModelVersion = value; }
80 inline void SetLabelModelVersion(Aws::String&& value) { m_labelModelVersion = std::move(value); }
81 inline void SetLabelModelVersion(const char* value) { m_labelModelVersion.assign(value); }
82 inline DetectLabelsResult& WithLabelModelVersion(const Aws::String& value) { SetLabelModelVersion(value); return *this;}
83 inline DetectLabelsResult& WithLabelModelVersion(Aws::String&& value) { SetLabelModelVersion(std::move(value)); return *this;}
84 inline DetectLabelsResult& WithLabelModelVersion(const char* value) { SetLabelModelVersion(value); return *this;}
86
88
92 inline const DetectLabelsImageProperties& GetImageProperties() const{ return m_imageProperties; }
93 inline void SetImageProperties(const DetectLabelsImageProperties& value) { m_imageProperties = value; }
94 inline void SetImageProperties(DetectLabelsImageProperties&& value) { m_imageProperties = std::move(value); }
96 inline DetectLabelsResult& WithImageProperties(DetectLabelsImageProperties&& value) { SetImageProperties(std::move(value)); return *this;}
98
100
101 inline const Aws::String& GetRequestId() const{ return m_requestId; }
102 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
103 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
104 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
105 inline DetectLabelsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
106 inline DetectLabelsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
107 inline DetectLabelsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
109 private:
110
111 Aws::Vector<Label> m_labels;
112
113 OrientationCorrection m_orientationCorrection;
114
115 Aws::String m_labelModelVersion;
116
117 DetectLabelsImageProperties m_imageProperties;
118
119 Aws::String m_requestId;
120 };
121
122} // namespace Model
123} // namespace Rekognition
124} // namespace Aws
DetectLabelsResult & WithLabelModelVersion(const Aws::String &value)
void SetLabels(Aws::Vector< Label > &&value)
DetectLabelsResult & WithLabelModelVersion(const char *value)
DetectLabelsResult & WithLabelModelVersion(Aws::String &&value)
DetectLabelsResult & WithImageProperties(DetectLabelsImageProperties &&value)
void SetLabelModelVersion(const Aws::String &value)
DetectLabelsResult & WithImageProperties(const DetectLabelsImageProperties &value)
void SetOrientationCorrection(OrientationCorrection &&value)
const Aws::String & GetLabelModelVersion() const
DetectLabelsResult & AddLabels(Label &&value)
DetectLabelsResult & WithRequestId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
AWS_REKOGNITION_API DetectLabelsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const DetectLabelsImageProperties & GetImageProperties() const
const OrientationCorrection & GetOrientationCorrection() const
void SetImageProperties(const DetectLabelsImageProperties &value)
DetectLabelsResult & WithLabels(Aws::Vector< Label > &&value)
const Aws::Vector< Label > & GetLabels() const
DetectLabelsResult & WithRequestId(Aws::String &&value)
DetectLabelsResult & WithRequestId(const char *value)
void SetImageProperties(DetectLabelsImageProperties &&value)
DetectLabelsResult & WithOrientationCorrection(const OrientationCorrection &value)
AWS_REKOGNITION_API DetectLabelsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLabels(const Aws::Vector< Label > &value)
DetectLabelsResult & WithLabels(const Aws::Vector< Label > &value)
DetectLabelsResult & WithOrientationCorrection(OrientationCorrection &&value)
DetectLabelsResult & AddLabels(const Label &value)
void SetOrientationCorrection(const OrientationCorrection &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