AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
IdentityDocumentField.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/textract/model/AnalyzeIDDetections.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Textract
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_TEXTRACT_API IdentityDocumentField() = default;
39 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const AnalyzeIDDetections& GetType() const { return m_type; }
45 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
46 template<typename TypeT = AnalyzeIDDetections>
47 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
48 template<typename TypeT = AnalyzeIDDetections>
49 IdentityDocumentField& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
51
53
54 inline const AnalyzeIDDetections& GetValueDetection() const { return m_valueDetection; }
55 inline bool ValueDetectionHasBeenSet() const { return m_valueDetectionHasBeenSet; }
56 template<typename ValueDetectionT = AnalyzeIDDetections>
57 void SetValueDetection(ValueDetectionT&& value) { m_valueDetectionHasBeenSet = true; m_valueDetection = std::forward<ValueDetectionT>(value); }
58 template<typename ValueDetectionT = AnalyzeIDDetections>
59 IdentityDocumentField& WithValueDetection(ValueDetectionT&& value) { SetValueDetection(std::forward<ValueDetectionT>(value)); return *this;}
61 private:
62
64 bool m_typeHasBeenSet = false;
65
66 AnalyzeIDDetections m_valueDetection;
67 bool m_valueDetectionHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Textract
72} // namespace Aws
AWS_TEXTRACT_API IdentityDocumentField()=default
IdentityDocumentField & WithType(TypeT &&value)
AWS_TEXTRACT_API IdentityDocumentField & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TEXTRACT_API IdentityDocumentField(Aws::Utils::Json::JsonView jsonValue)
IdentityDocumentField & WithValueDetection(ValueDetectionT &&value)
const AnalyzeIDDetections & GetValueDetection() const
const AnalyzeIDDetections & GetType() const
Aws::Utils::Json::JsonValue JsonValue