AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Textract {
20namespace Model {
21
30 public:
31 AWS_TEXTRACT_API IdentityDocumentField() = default;
34 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const AnalyzeIDDetections& GetType() const { return m_type; }
39 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
40 template <typename TypeT = AnalyzeIDDetections>
41 void SetType(TypeT&& value) {
42 m_typeHasBeenSet = true;
43 m_type = std::forward<TypeT>(value);
44 }
45 template <typename TypeT = AnalyzeIDDetections>
47 SetType(std::forward<TypeT>(value));
48 return *this;
49 }
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) {
58 m_valueDetectionHasBeenSet = true;
59 m_valueDetection = std::forward<ValueDetectionT>(value);
60 }
61 template <typename ValueDetectionT = AnalyzeIDDetections>
62 IdentityDocumentField& WithValueDetection(ValueDetectionT&& value) {
63 SetValueDetection(std::forward<ValueDetectionT>(value));
64 return *this;
65 }
67 private:
69
70 AnalyzeIDDetections m_valueDetection;
71 bool m_typeHasBeenSet = false;
72 bool m_valueDetectionHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace Textract
77} // 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