AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LendingField.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/textract/model/LendingDetection.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Textract
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_TEXTRACT_API LendingField();
38 AWS_TEXTRACT_API LendingField(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetType() const{ return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
50 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
51 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
52 inline LendingField& WithType(const Aws::String& value) { SetType(value); return *this;}
53 inline LendingField& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
54 inline LendingField& WithType(const char* value) { SetType(value); return *this;}
56
58
59 inline const LendingDetection& GetKeyDetection() const{ return m_keyDetection; }
60 inline bool KeyDetectionHasBeenSet() const { return m_keyDetectionHasBeenSet; }
61 inline void SetKeyDetection(const LendingDetection& value) { m_keyDetectionHasBeenSet = true; m_keyDetection = value; }
62 inline void SetKeyDetection(LendingDetection&& value) { m_keyDetectionHasBeenSet = true; m_keyDetection = std::move(value); }
63 inline LendingField& WithKeyDetection(const LendingDetection& value) { SetKeyDetection(value); return *this;}
64 inline LendingField& WithKeyDetection(LendingDetection&& value) { SetKeyDetection(std::move(value)); return *this;}
66
68
71 inline const Aws::Vector<LendingDetection>& GetValueDetections() const{ return m_valueDetections; }
72 inline bool ValueDetectionsHasBeenSet() const { return m_valueDetectionsHasBeenSet; }
73 inline void SetValueDetections(const Aws::Vector<LendingDetection>& value) { m_valueDetectionsHasBeenSet = true; m_valueDetections = value; }
74 inline void SetValueDetections(Aws::Vector<LendingDetection>&& value) { m_valueDetectionsHasBeenSet = true; m_valueDetections = std::move(value); }
76 inline LendingField& WithValueDetections(Aws::Vector<LendingDetection>&& value) { SetValueDetections(std::move(value)); return *this;}
77 inline LendingField& AddValueDetections(const LendingDetection& value) { m_valueDetectionsHasBeenSet = true; m_valueDetections.push_back(value); return *this; }
78 inline LendingField& AddValueDetections(LendingDetection&& value) { m_valueDetectionsHasBeenSet = true; m_valueDetections.push_back(std::move(value)); return *this; }
80 private:
81
82 Aws::String m_type;
83 bool m_typeHasBeenSet = false;
84
85 LendingDetection m_keyDetection;
86 bool m_keyDetectionHasBeenSet = false;
87
88 Aws::Vector<LendingDetection> m_valueDetections;
89 bool m_valueDetectionsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Textract
94} // namespace Aws
LendingField & WithType(const Aws::String &value)
void SetType(Aws::String &&value)
const LendingDetection & GetKeyDetection() const
void SetValueDetections(Aws::Vector< LendingDetection > &&value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< LendingDetection > & GetValueDetections() const
LendingField & AddValueDetections(const LendingDetection &value)
LendingField & WithKeyDetection(const LendingDetection &value)
void SetType(const Aws::String &value)
LendingField & AddValueDetections(LendingDetection &&value)
LendingField & WithType(const char *value)
const Aws::String & GetType() const
AWS_TEXTRACT_API LendingField & operator=(Aws::Utils::Json::JsonView jsonValue)
LendingField & WithType(Aws::String &&value)
void SetKeyDetection(const LendingDetection &value)
void SetKeyDetection(LendingDetection &&value)
AWS_TEXTRACT_API LendingField(Aws::Utils::Json::JsonView jsonValue)
LendingField & WithKeyDetection(LendingDetection &&value)
LendingField & WithValueDetections(Aws::Vector< LendingDetection > &&value)
LendingField & WithValueDetections(const Aws::Vector< LendingDetection > &value)
void SetValueDetections(const Aws::Vector< LendingDetection > &value)
void SetType(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue