7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rekognition/RekognitionRequest.h>
11#include <aws/rekognition/Rekognition_EXPORTS.h>
16namespace Rekognition {
41 template <
typename CollectionIdT = Aws::String>
43 m_collectionIdHasBeenSet =
true;
44 m_collectionId = std::forward<CollectionIdT>(value);
46 template <
typename CollectionIdT = Aws::String>
59 template <
typename UserIdT = Aws::String>
61 m_userIdHasBeenSet =
true;
62 m_userId = std::forward<UserIdT>(value);
64 template <
typename UserIdT = Aws::String>
77 template <
typename FaceIdsT = Aws::Vector<Aws::String>>
79 m_faceIdsHasBeenSet =
true;
80 m_faceIds = std::forward<FaceIdsT>(value);
82 template <
typename FaceIdsT = Aws::Vector<Aws::String>>
87 template <
typename FaceIdsT = Aws::String>
89 m_faceIdsHasBeenSet =
true;
90 m_faceIds.emplace_back(std::forward<FaceIdsT>(value));
103 m_userMatchThresholdHasBeenSet =
true;
104 m_userMatchThreshold = value;
121 template <
typename ClientRequestTokenT = Aws::String>
123 m_clientRequestTokenHasBeenSet =
true;
124 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
126 template <
typename ClientRequestTokenT = Aws::String>
134 bool m_collectionIdHasBeenSet =
false;
137 bool m_userIdHasBeenSet =
false;
140 bool m_faceIdsHasBeenSet =
false;
142 double m_userMatchThreshold{0.0};
143 bool m_userMatchThresholdHasBeenSet =
false;
146 bool m_clientRequestTokenHasBeenSet =
true;
const Aws::String & GetClientRequestToken() const
void SetUserMatchThreshold(double value)
void SetCollectionId(CollectionIdT &&value)
bool FaceIdsHasBeenSet() const
AssociateFacesRequest & AddFaceIds(FaceIdsT &&value)
bool CollectionIdHasBeenSet() const
void SetClientRequestToken(ClientRequestTokenT &&value)
AssociateFacesRequest & WithUserMatchThreshold(double value)
AssociateFacesRequest & WithCollectionId(CollectionIdT &&value)
double GetUserMatchThreshold() const
bool UserIdHasBeenSet() const
bool ClientRequestTokenHasBeenSet() const
AWS_REKOGNITION_API AssociateFacesRequest()=default
AssociateFacesRequest & WithFaceIds(FaceIdsT &&value)
virtual const char * GetServiceRequestName() const override
AWS_REKOGNITION_API Aws::String SerializePayload() const override
AssociateFacesRequest & WithUserId(UserIdT &&value)
bool UserMatchThresholdHasBeenSet() const
void SetUserId(UserIdT &&value)
const Aws::String & GetCollectionId() const
const Aws::Vector< Aws::String > & GetFaceIds() const
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AssociateFacesRequest & WithClientRequestToken(ClientRequestTokenT &&value)
void SetFaceIds(FaceIdsT &&value)
const Aws::String & GetUserId() const
static Aws::Utils::UUID PseudoRandomUUID()
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