/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Used to contain the information detected by an AnalyzeID
* operation.See Also:
AWS
* API Reference
Text of either the normalized field or value associated with it.
*/ inline const Aws::String& GetText() const{ return m_text; } /** *Text of either the normalized field or value associated with it.
*/ inline bool TextHasBeenSet() const { return m_textHasBeenSet; } /** *Text of either the normalized field or value associated with it.
*/ inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } /** *Text of either the normalized field or value associated with it.
*/ inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } /** *Text of either the normalized field or value associated with it.
*/ inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } /** *Text of either the normalized field or value associated with it.
*/ inline AnalyzeIDDetections& WithText(const Aws::String& value) { SetText(value); return *this;} /** *Text of either the normalized field or value associated with it.
*/ inline AnalyzeIDDetections& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} /** *Text of either the normalized field or value associated with it.
*/ inline AnalyzeIDDetections& WithText(const char* value) { SetText(value); return *this;} /** *Only returned for dates, returns the type of value detected and the date * written in a more machine readable way.
*/ inline const NormalizedValue& GetNormalizedValue() const{ return m_normalizedValue; } /** *Only returned for dates, returns the type of value detected and the date * written in a more machine readable way.
*/ inline bool NormalizedValueHasBeenSet() const { return m_normalizedValueHasBeenSet; } /** *Only returned for dates, returns the type of value detected and the date * written in a more machine readable way.
*/ inline void SetNormalizedValue(const NormalizedValue& value) { m_normalizedValueHasBeenSet = true; m_normalizedValue = value; } /** *Only returned for dates, returns the type of value detected and the date * written in a more machine readable way.
*/ inline void SetNormalizedValue(NormalizedValue&& value) { m_normalizedValueHasBeenSet = true; m_normalizedValue = std::move(value); } /** *Only returned for dates, returns the type of value detected and the date * written in a more machine readable way.
*/ inline AnalyzeIDDetections& WithNormalizedValue(const NormalizedValue& value) { SetNormalizedValue(value); return *this;} /** *Only returned for dates, returns the type of value detected and the date * written in a more machine readable way.
*/ inline AnalyzeIDDetections& WithNormalizedValue(NormalizedValue&& value) { SetNormalizedValue(std::move(value)); return *this;} /** *The confidence score of the detected text.
*/ inline double GetConfidence() const{ return m_confidence; } /** *The confidence score of the detected text.
*/ inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; } /** *The confidence score of the detected text.
*/ inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; } /** *The confidence score of the detected text.
*/ inline AnalyzeIDDetections& WithConfidence(double value) { SetConfidence(value); return *this;} private: Aws::String m_text; bool m_textHasBeenSet = false; NormalizedValue m_normalizedValue; bool m_normalizedValueHasBeenSet = false; double m_confidence; bool m_confidenceHasBeenSet = false; }; } // namespace Model } // namespace Textract } // namespace Aws