7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rekognition/Rekognition_EXPORTS.h>
19namespace Rekognition {
48 m_confidenceHasBeenSet =
true;
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
82 template <
typename ParentNameT = Aws::String>
84 m_parentNameHasBeenSet =
true;
85 m_parentName = std::forward<ParentNameT>(value);
87 template <
typename ParentNameT = Aws::String>
102 m_taxonomyLevelHasBeenSet =
true;
103 m_taxonomyLevel = value;
111 double m_confidence{0.0};
112 bool m_confidenceHasBeenSet =
false;
115 bool m_nameHasBeenSet =
false;
118 bool m_parentNameHasBeenSet =
false;
120 int m_taxonomyLevel{0};
121 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