7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
53 inline void SetConfidence(
double value) { m_confidenceHasBeenSet =
true; m_confidence = value; }
63 template<
typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
65 template<
typename NameT = Aws::String>
76 template<
typename ParentNameT = Aws::String>
77 void SetParentName(ParentNameT&& value) { m_parentNameHasBeenSet =
true; m_parentName = std::forward<ParentNameT>(value); }
78 template<
typename ParentNameT = Aws::String>
89 inline void SetTaxonomyLevel(
int value) { m_taxonomyLevelHasBeenSet =
true; m_taxonomyLevel = value; }
94 double m_confidence{0.0};
95 bool m_confidenceHasBeenSet =
false;
98 bool m_nameHasBeenSet =
false;
101 bool m_parentNameHasBeenSet =
false;
103 int m_taxonomyLevel{0};
104 bool m_taxonomyLevelHasBeenSet =
false;
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
bool ParentNameHasBeenSet() const
const Aws::String & GetParentName() const
AWS_REKOGNITION_API ModerationLabel & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetTaxonomyLevel() const
void SetParentName(ParentNameT &&value)
ModerationLabel & WithParentName(ParentNameT &&value)
bool NameHasBeenSet() const
void SetName(NameT &&value)
bool TaxonomyLevelHasBeenSet() const
AWS_REKOGNITION_API ModerationLabel(Aws::Utils::Json::JsonView jsonValue)
void SetTaxonomyLevel(int value)
ModerationLabel & WithTaxonomyLevel(int value)
AWS_REKOGNITION_API ModerationLabel()=default
const Aws::String & GetName() const
ModerationLabel & WithName(NameT &&value)
void SetConfidence(double value)
double GetConfidence() const
ModerationLabel & WithConfidence(double value)
bool ConfidenceHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue