/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the class that categorizes the document being
* analyzedSee Also:
AWS
* API Reference
The name of the class.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the class.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the class.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the class.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the class.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the class.
*/ inline DocumentClass& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the class.
*/ inline DocumentClass& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the class.
*/ inline DocumentClass& WithName(const char* value) { SetName(value); return *this;} /** *The confidence score that Amazon Comprehend has this class correctly * attributed.
*/ inline double GetScore() const{ return m_score; } /** *The confidence score that Amazon Comprehend has this class correctly * attributed.
*/ inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; } /** *The confidence score that Amazon Comprehend has this class correctly * attributed.
*/ inline void SetScore(double value) { m_scoreHasBeenSet = true; m_score = value; } /** *The confidence score that Amazon Comprehend has this class correctly * attributed.
*/ inline DocumentClass& WithScore(double value) { SetScore(value); return *this;} /** *Page number in the input document. This field is present in the response only
* if your request includes the Byte
parameter.
Page number in the input document. This field is present in the response only
* if your request includes the Byte
parameter.
Page number in the input document. This field is present in the response only
* if your request includes the Byte
parameter.
Page number in the input document. This field is present in the response only
* if your request includes the Byte
parameter.