AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalyzeIDResult.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/textract/model/DocumentMetadata.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/textract/model/IdentityDocument.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Textract
27{
28namespace Model
29{
31 {
32 public:
33 AWS_TEXTRACT_API AnalyzeIDResult();
36
37
39
43 inline const Aws::Vector<IdentityDocument>& GetIdentityDocuments() const{ return m_identityDocuments; }
44 inline void SetIdentityDocuments(const Aws::Vector<IdentityDocument>& value) { m_identityDocuments = value; }
45 inline void SetIdentityDocuments(Aws::Vector<IdentityDocument>&& value) { m_identityDocuments = std::move(value); }
48 inline AnalyzeIDResult& AddIdentityDocuments(const IdentityDocument& value) { m_identityDocuments.push_back(value); return *this; }
49 inline AnalyzeIDResult& AddIdentityDocuments(IdentityDocument&& value) { m_identityDocuments.push_back(std::move(value)); return *this; }
51
53
54 inline const DocumentMetadata& GetDocumentMetadata() const{ return m_documentMetadata; }
55 inline void SetDocumentMetadata(const DocumentMetadata& value) { m_documentMetadata = value; }
56 inline void SetDocumentMetadata(DocumentMetadata&& value) { m_documentMetadata = std::move(value); }
57 inline AnalyzeIDResult& WithDocumentMetadata(const DocumentMetadata& value) { SetDocumentMetadata(value); return *this;}
58 inline AnalyzeIDResult& WithDocumentMetadata(DocumentMetadata&& value) { SetDocumentMetadata(std::move(value)); return *this;}
60
62
65 inline const Aws::String& GetAnalyzeIDModelVersion() const{ return m_analyzeIDModelVersion; }
66 inline void SetAnalyzeIDModelVersion(const Aws::String& value) { m_analyzeIDModelVersion = value; }
67 inline void SetAnalyzeIDModelVersion(Aws::String&& value) { m_analyzeIDModelVersion = std::move(value); }
68 inline void SetAnalyzeIDModelVersion(const char* value) { m_analyzeIDModelVersion.assign(value); }
70 inline AnalyzeIDResult& WithAnalyzeIDModelVersion(Aws::String&& value) { SetAnalyzeIDModelVersion(std::move(value)); return *this;}
71 inline AnalyzeIDResult& WithAnalyzeIDModelVersion(const char* value) { SetAnalyzeIDModelVersion(value); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline AnalyzeIDResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline AnalyzeIDResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline AnalyzeIDResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::Vector<IdentityDocument> m_identityDocuments;
87
88 DocumentMetadata m_documentMetadata;
89
90 Aws::String m_analyzeIDModelVersion;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace Textract
97} // namespace Aws
AWS_TEXTRACT_API AnalyzeIDResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetIdentityDocuments(const Aws::Vector< IdentityDocument > &value)
void SetIdentityDocuments(Aws::Vector< IdentityDocument > &&value)
void SetAnalyzeIDModelVersion(const char *value)
void SetDocumentMetadata(DocumentMetadata &&value)
AnalyzeIDResult & AddIdentityDocuments(IdentityDocument &&value)
AnalyzeIDResult & WithAnalyzeIDModelVersion(const Aws::String &value)
void SetRequestId(Aws::String &&value)
AnalyzeIDResult & WithDocumentMetadata(DocumentMetadata &&value)
AnalyzeIDResult & WithDocumentMetadata(const DocumentMetadata &value)
void SetAnalyzeIDModelVersion(Aws::String &&value)
AnalyzeIDResult & WithAnalyzeIDModelVersion(Aws::String &&value)
const Aws::Vector< IdentityDocument > & GetIdentityDocuments() const
const Aws::String & GetAnalyzeIDModelVersion() const
AnalyzeIDResult & WithIdentityDocuments(const Aws::Vector< IdentityDocument > &value)
const DocumentMetadata & GetDocumentMetadata() const
AnalyzeIDResult & WithAnalyzeIDModelVersion(const char *value)
AnalyzeIDResult & WithRequestId(Aws::String &&value)
AnalyzeIDResult & WithRequestId(const char *value)
void SetAnalyzeIDModelVersion(const Aws::String &value)
AnalyzeIDResult & WithIdentityDocuments(Aws::Vector< IdentityDocument > &&value)
AnalyzeIDResult & AddIdentityDocuments(const IdentityDocument &value)
void SetDocumentMetadata(const DocumentMetadata &value)
AWS_TEXTRACT_API AnalyzeIDResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AnalyzeIDResult & WithRequestId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue