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/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/UUID.h>
45 template<
typename CollectionIdT = Aws::String>
46 void SetCollectionId(CollectionIdT&& value) { m_collectionIdHasBeenSet =
true; m_collectionId = std::forward<CollectionIdT>(value); }
47 template<
typename CollectionIdT = Aws::String>
57 template<
typename UserIdT = Aws::String>
58 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet =
true; m_userId = std::forward<UserIdT>(value); }
59 template<
typename UserIdT = Aws::String>
69 template<
typename FaceIdsT = Aws::Vector<Aws::String>>
70 void SetFaceIds(FaceIdsT&& value) { m_faceIdsHasBeenSet =
true; m_faceIds = std::forward<FaceIdsT>(value); }
71 template<
typename FaceIdsT = Aws::Vector<Aws::String>>
73 template<
typename FaceIdsT = Aws::String>
84 inline void SetUserMatchThreshold(
double value) { m_userMatchThresholdHasBeenSet =
true; m_userMatchThreshold = value; }
97 template<
typename ClientRequestTokenT = Aws::String>
98 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
99 template<
typename ClientRequestTokenT = Aws::String>
105 bool m_collectionIdHasBeenSet =
false;
108 bool m_userIdHasBeenSet =
false;
111 bool m_faceIdsHasBeenSet =
false;
113 double m_userMatchThreshold{0.0};
114 bool m_userMatchThresholdHasBeenSet =
false;
117 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