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