7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/comprehend/model/ToxicContent.h>
66 inline void SetToxicity(
double value) { m_toxicityHasBeenSet =
true; m_toxicity = value; }
72 bool m_labelsHasBeenSet =
false;
75 bool m_toxicityHasBeenSet =
false;
ToxicLabels & WithLabels(Aws::Vector< ToxicContent > &&value)
ToxicLabels & WithToxicity(double value)
double GetToxicity() const
ToxicLabels & AddLabels(const ToxicContent &value)
AWS_COMPREHEND_API ToxicLabels(Aws::Utils::Json::JsonView jsonValue)
bool ToxicityHasBeenSet() const
ToxicLabels & AddLabels(ToxicContent &&value)
bool LabelsHasBeenSet() const
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLabels(const Aws::Vector< ToxicContent > &value)
AWS_COMPREHEND_API ToxicLabels()
void SetLabels(Aws::Vector< ToxicContent > &&value)
ToxicLabels & WithLabels(const Aws::Vector< ToxicContent > &value)
AWS_COMPREHEND_API ToxicLabels & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetToxicity(double value)
const Aws::Vector< ToxicContent > & GetLabels() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue