7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/ToxicContent.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
45 template <
typename LabelsT = Aws::Vector<ToxicContent>>
47 m_labelsHasBeenSet =
true;
48 m_labels = std::forward<LabelsT>(value);
50 template <
typename LabelsT = Aws::Vector<ToxicContent>>
55 template <
typename LabelsT = ToxicContent>
57 m_labelsHasBeenSet =
true;
58 m_labels.emplace_back(std::forward<LabelsT>(value));
71 m_toxicityHasBeenSet =
true;
82 double m_toxicity{0.0};
83 bool m_labelsHasBeenSet =
false;
84 bool m_toxicityHasBeenSet =
false;
ToxicLabels & WithToxicity(double value)
double GetToxicity() const
ToxicLabels & AddLabels(LabelsT &&value)
void SetLabels(LabelsT &&value)
AWS_COMPREHEND_API ToxicLabels(Aws::Utils::Json::JsonView jsonValue)
bool ToxicityHasBeenSet() const
AWS_COMPREHEND_API ToxicLabels()=default
bool LabelsHasBeenSet() const
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPREHEND_API ToxicLabels & operator=(Aws::Utils::Json::JsonView jsonValue)
ToxicLabels & WithLabels(LabelsT &&value)
void SetToxicity(double value)
const Aws::Vector< ToxicContent > & GetLabels() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue