7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rekognition/Rekognition_EXPORTS.h>
10#include <aws/rekognition/model/BoundingBox.h>
11#include <aws/rekognition/model/FaceDetail.h>
12#include <aws/rekognition/model/KnownGender.h>
23namespace Rekognition {
44 template <
typename UrlsT = Aws::Vector<Aws::String>>
46 m_urlsHasBeenSet =
true;
47 m_urls = std::forward<UrlsT>(value);
49 template <
typename UrlsT = Aws::Vector<Aws::String>>
51 SetUrls(std::forward<UrlsT>(value));
54 template <
typename UrlsT = Aws::String>
56 m_urlsHasBeenSet =
true;
57 m_urls.emplace_back(std::forward<UrlsT>(value));
68 template <
typename NameT = Aws::String>
70 m_nameHasBeenSet =
true;
71 m_name = std::forward<NameT>(value);
73 template <
typename NameT = Aws::String>
75 SetName(std::forward<NameT>(value));
86 template <
typename IdT = Aws::String>
88 m_idHasBeenSet =
true;
89 m_id = std::forward<IdT>(value);
91 template <
typename IdT = Aws::String>
93 SetId(std::forward<IdT>(value));
106 m_confidenceHasBeenSet =
true;
107 m_confidence = value;
121 template <
typename BoundingBoxT = BoundingBox>
123 m_boundingBoxHasBeenSet =
true;
124 m_boundingBox = std::forward<BoundingBoxT>(value);
126 template <
typename BoundingBoxT = BoundingBox>
139 template <
typename FaceT = FaceDetail>
141 m_faceHasBeenSet =
true;
142 m_face = std::forward<FaceT>(value);
144 template <
typename FaceT = FaceDetail>
146 SetFace(std::forward<FaceT>(value));
157 template <
typename KnownGenderT = KnownGender>
159 m_knownGenderHasBeenSet =
true;
160 m_knownGender = std::forward<KnownGenderT>(value);
162 template <
typename KnownGenderT = KnownGender>
170 bool m_urlsHasBeenSet =
false;
173 bool m_nameHasBeenSet =
false;
176 bool m_idHasBeenSet =
false;
178 double m_confidence{0.0};
179 bool m_confidenceHasBeenSet =
false;
181 BoundingBox m_boundingBox;
182 bool m_boundingBoxHasBeenSet =
false;
185 bool m_faceHasBeenSet =
false;
187 KnownGender m_knownGender;
188 bool m_knownGenderHasBeenSet =
false;
const Aws::String & GetName() const
CelebrityDetail & WithUrls(UrlsT &&value)
bool KnownGenderHasBeenSet() const
CelebrityDetail & WithKnownGender(KnownGenderT &&value)
AWS_REKOGNITION_API CelebrityDetail()=default
AWS_REKOGNITION_API CelebrityDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API CelebrityDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
CelebrityDetail & WithBoundingBox(BoundingBoxT &&value)
const BoundingBox & GetBoundingBox() const
CelebrityDetail & WithConfidence(double value)
const Aws::Vector< Aws::String > & GetUrls() const
bool UrlsHasBeenSet() const
CelebrityDetail & WithFace(FaceT &&value)
void SetUrls(UrlsT &&value)
void SetKnownGender(KnownGenderT &&value)
void SetConfidence(double value)
const KnownGender & GetKnownGender() const
bool BoundingBoxHasBeenSet() const
void SetName(NameT &&value)
bool ConfidenceHasBeenSet() const
CelebrityDetail & WithId(IdT &&value)
bool IdHasBeenSet() const
double GetConfidence() const
bool FaceHasBeenSet() const
void SetFace(FaceT &&value)
const FaceDetail & GetFace() const
bool NameHasBeenSet() const
CelebrityDetail & WithName(NameT &&value)
void SetBoundingBox(BoundingBoxT &&value)
CelebrityDetail & AddUrls(UrlsT &&value)
const Aws::String & GetId() 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