7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rekognition/model/Geometry.h>
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
61 inline void SetConfidence(
double value) { m_confidenceHasBeenSet =
true; m_confidence = value; }
73 template<
typename GeometryT = Geometry>
74 void SetGeometry(GeometryT&& value) { m_geometryHasBeenSet =
true; m_geometry = std::forward<GeometryT>(value); }
75 template<
typename GeometryT = Geometry>
81 bool m_nameHasBeenSet =
false;
83 double m_confidence{0.0};
84 bool m_confidenceHasBeenSet =
false;
87 bool m_geometryHasBeenSet =
false;
CustomLabel & WithGeometry(GeometryT &&value)
const Geometry & GetGeometry() const
bool GeometryHasBeenSet() const
void SetConfidence(double value)
CustomLabel & WithConfidence(double value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API CustomLabel & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
bool ConfidenceHasBeenSet() const
void SetName(NameT &&value)
double GetConfidence() const
CustomLabel & WithName(NameT &&value)
void SetGeometry(GeometryT &&value)
AWS_REKOGNITION_API CustomLabel(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API CustomLabel()=default
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue