7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rekognition/RekognitionRequest.h>
10#include <aws/rekognition/Rekognition_EXPORTS.h>
11#include <aws/rekognition/model/Attribute.h>
12#include <aws/rekognition/model/Image.h>
13#include <aws/rekognition/model/QualityFilter.h>
18namespace Rekognition {
44 template <
typename CollectionIdT = Aws::String>
46 m_collectionIdHasBeenSet =
true;
47 m_collectionId = std::forward<CollectionIdT>(value);
49 template <
typename CollectionIdT = Aws::String>
67 template <
typename ImageT = Image>
69 m_imageHasBeenSet =
true;
70 m_image = std::forward<ImageT>(value);
72 template <
typename ImageT = Image>
74 SetImage(std::forward<ImageT>(value));
85 template <
typename ExternalImageIdT = Aws::String>
87 m_externalImageIdHasBeenSet =
true;
88 m_externalImageId = std::forward<ExternalImageIdT>(value);
90 template <
typename ExternalImageIdT = Aws::String>
112 template <
typename DetectionAttributesT = Aws::Vector<Attribute>>
114 m_detectionAttributesHasBeenSet =
true;
115 m_detectionAttributes = std::forward<DetectionAttributesT>(value);
117 template <
typename DetectionAttributesT = Aws::Vector<Attribute>>
123 m_detectionAttributesHasBeenSet =
true;
124 m_detectionAttributes.push_back(value);
148 m_maxFacesHasBeenSet =
true;
174 m_qualityFilterHasBeenSet =
true;
175 m_qualityFilter = value;
184 bool m_collectionIdHasBeenSet =
false;
187 bool m_imageHasBeenSet =
false;
190 bool m_externalImageIdHasBeenSet =
false;
193 bool m_detectionAttributesHasBeenSet =
false;
196 bool m_maxFacesHasBeenSet =
false;
199 bool m_qualityFilterHasBeenSet =
false;
AWS_REKOGNITION_API Aws::String SerializePayload() const override
const Aws::String & GetExternalImageId() const
const Image & GetImage() const
void SetDetectionAttributes(DetectionAttributesT &&value)
const Aws::String & GetCollectionId() const
bool ImageHasBeenSet() const
IndexFacesRequest & WithImage(ImageT &&value)
IndexFacesRequest & WithMaxFaces(int value)
const Aws::Vector< Attribute > & GetDetectionAttributes() const
void SetMaxFaces(int value)
bool ExternalImageIdHasBeenSet() const
void SetImage(ImageT &&value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
IndexFacesRequest & WithExternalImageId(ExternalImageIdT &&value)
bool QualityFilterHasBeenSet() const
IndexFacesRequest & AddDetectionAttributes(Attribute value)
QualityFilter GetQualityFilter() const
IndexFacesRequest & WithQualityFilter(QualityFilter value)
bool MaxFacesHasBeenSet() const
void SetQualityFilter(QualityFilter value)
void SetCollectionId(CollectionIdT &&value)
virtual const char * GetServiceRequestName() const override
IndexFacesRequest & WithCollectionId(CollectionIdT &&value)
void SetExternalImageId(ExternalImageIdT &&value)
AWS_REKOGNITION_API IndexFacesRequest()=default
bool CollectionIdHasBeenSet() const
bool DetectionAttributesHasBeenSet() const
IndexFacesRequest & WithDetectionAttributes(DetectionAttributesT &&value)
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