/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Holds the normalized key-value pairs returned by AnalyzeDocument, including
* the document type, detected text, and geometry.See Also:
AWS
* API Reference
The type of the lending document.
*/ inline const Aws::String& GetType() const{ return m_type; } /** *The type of the lending document.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of the lending document.
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of the lending document.
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of the lending document.
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *The type of the lending document.
*/ inline LendingField& WithType(const Aws::String& value) { SetType(value); return *this;} /** *The type of the lending document.
*/ inline LendingField& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *The type of the lending document.
*/ inline LendingField& WithType(const char* value) { SetType(value); return *this;} inline const LendingDetection& GetKeyDetection() const{ return m_keyDetection; } inline bool KeyDetectionHasBeenSet() const { return m_keyDetectionHasBeenSet; } inline void SetKeyDetection(const LendingDetection& value) { m_keyDetectionHasBeenSet = true; m_keyDetection = value; } inline void SetKeyDetection(LendingDetection&& value) { m_keyDetectionHasBeenSet = true; m_keyDetection = std::move(value); } inline LendingField& WithKeyDetection(const LendingDetection& value) { SetKeyDetection(value); return *this;} inline LendingField& WithKeyDetection(LendingDetection&& value) { SetKeyDetection(std::move(value)); return *this;} /** *An array of LendingDetection objects.
*/ inline const Aws::VectorAn array of LendingDetection objects.
*/ inline bool ValueDetectionsHasBeenSet() const { return m_valueDetectionsHasBeenSet; } /** *An array of LendingDetection objects.
*/ inline void SetValueDetections(const Aws::VectorAn array of LendingDetection objects.
*/ inline void SetValueDetections(Aws::VectorAn array of LendingDetection objects.
*/ inline LendingField& WithValueDetections(const Aws::VectorAn array of LendingDetection objects.
*/ inline LendingField& WithValueDetections(Aws::VectorAn array of LendingDetection objects.
*/ inline LendingField& AddValueDetections(const LendingDetection& value) { m_valueDetectionsHasBeenSet = true; m_valueDetections.push_back(value); return *this; } /** *An array of LendingDetection objects.
*/ inline LendingField& AddValueDetections(LendingDetection&& value) { m_valueDetectionsHasBeenSet = true; m_valueDetections.push_back(std::move(value)); return *this; } private: Aws::String m_type; bool m_typeHasBeenSet = false; LendingDetection m_keyDetection; bool m_keyDetectionHasBeenSet = false; Aws::Vector