7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rekognition/model/ComparedFace.h>
11#include <aws/rekognition/model/KnownGender.h>
51 template<
typename UrlsT = Aws::Vector<Aws::String>>
52 void SetUrls(UrlsT&& value) { m_urlsHasBeenSet =
true; m_urls = std::forward<UrlsT>(value); }
53 template<
typename UrlsT = Aws::Vector<Aws::String>>
55 template<
typename UrlsT = Aws::String>
56 Celebrity&
AddUrls(UrlsT&& value) { m_urlsHasBeenSet =
true; m_urls.emplace_back(std::forward<UrlsT>(value));
return *
this; }
65 template<
typename NameT = Aws::String>
66 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
67 template<
typename NameT = Aws::String>
77 template<
typename IdT = Aws::String>
78 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
79 template<
typename IdT = Aws::String>
90 template<
typename FaceT = ComparedFace>
91 void SetFace(FaceT&& value) { m_faceHasBeenSet =
true; m_face = std::forward<FaceT>(value); }
92 template<
typename FaceT = ComparedFace>
103 inline void SetMatchConfidence(
double value) { m_matchConfidenceHasBeenSet =
true; m_matchConfidence = value; }
111 template<
typename KnownGenderT = KnownGender>
112 void SetKnownGender(KnownGenderT&& value) { m_knownGenderHasBeenSet =
true; m_knownGender = std::forward<KnownGenderT>(value); }
113 template<
typename KnownGenderT = KnownGender>
119 bool m_urlsHasBeenSet =
false;
122 bool m_nameHasBeenSet =
false;
125 bool m_idHasBeenSet =
false;
128 bool m_faceHasBeenSet =
false;
130 double m_matchConfidence{0.0};
131 bool m_matchConfidenceHasBeenSet =
false;
133 KnownGender m_knownGender;
134 bool m_knownGenderHasBeenSet =
false;
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMatchConfidence(double value)
bool UrlsHasBeenSet() const
Celebrity & AddUrls(UrlsT &&value)
const Aws::String & GetName() const
Celebrity & WithMatchConfidence(double value)
Celebrity & WithUrls(UrlsT &&value)
void SetName(NameT &&value)
Celebrity & WithId(IdT &&value)
const Aws::String & GetId() const
const ComparedFace & GetFace() const
void SetFace(FaceT &&value)
void SetUrls(UrlsT &&value)
bool FaceHasBeenSet() const
double GetMatchConfidence() const
AWS_REKOGNITION_API Celebrity()=default
bool KnownGenderHasBeenSet() const
bool IdHasBeenSet() const
void SetKnownGender(KnownGenderT &&value)
AWS_REKOGNITION_API Celebrity(Aws::Utils::Json::JsonView jsonValue)
bool MatchConfidenceHasBeenSet() const
const KnownGender & GetKnownGender() const
Celebrity & WithFace(FaceT &&value)
AWS_REKOGNITION_API Celebrity & operator=(Aws::Utils::Json::JsonView jsonValue)
Celebrity & WithKnownGender(KnownGenderT &&value)
Celebrity & WithName(NameT &&value)
const Aws::Vector< Aws::String > & GetUrls() const
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue