7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rekognition/model/Image.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/rekognition/model/QualityFilter.h>
13#include <aws/rekognition/model/Attribute.h>
50 inline void SetCollectionId(
const char* value) { m_collectionIdHasBeenSet =
true; m_collectionId.assign(value); }
67 inline void SetImage(
const Image& value) { m_imageHasBeenSet =
true; m_image = value; }
68 inline void SetImage(
Image&& value) { m_imageHasBeenSet =
true; m_image = std::move(value); }
81 inline void SetExternalImageId(
const char* value) { m_externalImageIdHasBeenSet =
true; m_externalImageId.assign(value); }
128 inline void SetMaxFaces(
int value) { m_maxFacesHasBeenSet =
true; m_maxFaces = value; }
156 bool m_collectionIdHasBeenSet =
false;
159 bool m_imageHasBeenSet =
false;
162 bool m_externalImageIdHasBeenSet =
false;
165 bool m_detectionAttributesHasBeenSet =
false;
168 bool m_maxFacesHasBeenSet =
false;
171 bool m_qualityFilterHasBeenSet =
false;
AWS_REKOGNITION_API Aws::String SerializePayload() const override
IndexFacesRequest & WithCollectionId(const Aws::String &value)
void SetImage(const Image &value)
void SetQualityFilter(QualityFilter &&value)
const Aws::String & GetExternalImageId() const
const Image & GetImage() const
void SetCollectionId(Aws::String &&value)
const QualityFilter & GetQualityFilter() const
const Aws::String & GetCollectionId() const
bool ImageHasBeenSet() const
IndexFacesRequest & AddDetectionAttributes(Attribute &&value)
void SetExternalImageId(const char *value)
IndexFacesRequest & AddDetectionAttributes(const Attribute &value)
IndexFacesRequest & WithMaxFaces(int value)
IndexFacesRequest & WithExternalImageId(const Aws::String &value)
const Aws::Vector< Attribute > & GetDetectionAttributes() const
void SetDetectionAttributes(Aws::Vector< Attribute > &&value)
void SetMaxFaces(int value)
bool ExternalImageIdHasBeenSet() const
void SetImage(Image &&value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
IndexFacesRequest & WithImage(const Image &value)
void SetQualityFilter(const QualityFilter &value)
IndexFacesRequest & WithExternalImageId(const char *value)
IndexFacesRequest & WithQualityFilter(QualityFilter &&value)
bool QualityFilterHasBeenSet() const
IndexFacesRequest & WithExternalImageId(Aws::String &&value)
IndexFacesRequest & WithCollectionId(const char *value)
void SetExternalImageId(Aws::String &&value)
void SetCollectionId(const char *value)
IndexFacesRequest & WithQualityFilter(const QualityFilter &value)
bool MaxFacesHasBeenSet() const
IndexFacesRequest & WithCollectionId(Aws::String &&value)
IndexFacesRequest & WithDetectionAttributes(const Aws::Vector< Attribute > &value)
virtual const char * GetServiceRequestName() const override
AWS_REKOGNITION_API IndexFacesRequest()
IndexFacesRequest & WithDetectionAttributes(Aws::Vector< Attribute > &&value)
bool CollectionIdHasBeenSet() const
void SetExternalImageId(const Aws::String &value)
void SetCollectionId(const Aws::String &value)
bool DetectionAttributesHasBeenSet() const
IndexFacesRequest & WithImage(Image &&value)
void SetDetectionAttributes(const Aws::Vector< Attribute > &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