AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetLendingAnalysisSummaryResult.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/textract/model/DocumentMetadata.h>
9#include <aws/textract/model/JobStatus.h>
10#include <aws/textract/model/LendingSummary.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/textract/model/Warning.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Textract
29{
30namespace Model
31{
33 {
34 public:
38
39
41
42 inline const DocumentMetadata& GetDocumentMetadata() const{ return m_documentMetadata; }
43 inline void SetDocumentMetadata(const DocumentMetadata& value) { m_documentMetadata = value; }
44 inline void SetDocumentMetadata(DocumentMetadata&& value) { m_documentMetadata = std::move(value); }
48
50
53 inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
54 inline void SetJobStatus(const JobStatus& value) { m_jobStatus = value; }
55 inline void SetJobStatus(JobStatus&& value) { m_jobStatus = std::move(value); }
56 inline GetLendingAnalysisSummaryResult& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
57 inline GetLendingAnalysisSummaryResult& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
59
61
64 inline const LendingSummary& GetSummary() const{ return m_summary; }
65 inline void SetSummary(const LendingSummary& value) { m_summary = value; }
66 inline void SetSummary(LendingSummary&& value) { m_summary = std::move(value); }
67 inline GetLendingAnalysisSummaryResult& WithSummary(const LendingSummary& value) { SetSummary(value); return *this;}
68 inline GetLendingAnalysisSummaryResult& WithSummary(LendingSummary&& value) { SetSummary(std::move(value)); return *this;}
70
72
75 inline const Aws::Vector<Warning>& GetWarnings() const{ return m_warnings; }
76 inline void SetWarnings(const Aws::Vector<Warning>& value) { m_warnings = value; }
77 inline void SetWarnings(Aws::Vector<Warning>&& value) { m_warnings = std::move(value); }
79 inline GetLendingAnalysisSummaryResult& WithWarnings(Aws::Vector<Warning>&& value) { SetWarnings(std::move(value)); return *this;}
80 inline GetLendingAnalysisSummaryResult& AddWarnings(const Warning& value) { m_warnings.push_back(value); return *this; }
81 inline GetLendingAnalysisSummaryResult& AddWarnings(Warning&& value) { m_warnings.push_back(std::move(value)); return *this; }
83
85
89 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
90 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
91 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
92 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
94 inline GetLendingAnalysisSummaryResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
95 inline GetLendingAnalysisSummaryResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
97
99
102 inline const Aws::String& GetAnalyzeLendingModelVersion() const{ return m_analyzeLendingModelVersion; }
103 inline void SetAnalyzeLendingModelVersion(const Aws::String& value) { m_analyzeLendingModelVersion = value; }
104 inline void SetAnalyzeLendingModelVersion(Aws::String&& value) { m_analyzeLendingModelVersion = std::move(value); }
105 inline void SetAnalyzeLendingModelVersion(const char* value) { m_analyzeLendingModelVersion.assign(value); }
110
112
113 inline const Aws::String& GetRequestId() const{ return m_requestId; }
114 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
115 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
116 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
117 inline GetLendingAnalysisSummaryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
118 inline GetLendingAnalysisSummaryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
119 inline GetLendingAnalysisSummaryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
121 private:
122
123 DocumentMetadata m_documentMetadata;
124
125 JobStatus m_jobStatus;
126
127 LendingSummary m_summary;
128
129 Aws::Vector<Warning> m_warnings;
130
131 Aws::String m_statusMessage;
132
133 Aws::String m_analyzeLendingModelVersion;
134
135 Aws::String m_requestId;
136 };
137
138} // namespace Model
139} // namespace Textract
140} // namespace Aws
GetLendingAnalysisSummaryResult & WithSummary(const LendingSummary &value)
GetLendingAnalysisSummaryResult & WithAnalyzeLendingModelVersion(const char *value)
GetLendingAnalysisSummaryResult & WithStatusMessage(const Aws::String &value)
GetLendingAnalysisSummaryResult & AddWarnings(Warning &&value)
GetLendingAnalysisSummaryResult & WithWarnings(const Aws::Vector< Warning > &value)
GetLendingAnalysisSummaryResult & WithDocumentMetadata(DocumentMetadata &&value)
GetLendingAnalysisSummaryResult & AddWarnings(const Warning &value)
GetLendingAnalysisSummaryResult & WithRequestId(const char *value)
GetLendingAnalysisSummaryResult & WithAnalyzeLendingModelVersion(const Aws::String &value)
GetLendingAnalysisSummaryResult & WithAnalyzeLendingModelVersion(Aws::String &&value)
GetLendingAnalysisSummaryResult & WithRequestId(Aws::String &&value)
AWS_TEXTRACT_API GetLendingAnalysisSummaryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLendingAnalysisSummaryResult & WithSummary(LendingSummary &&value)
GetLendingAnalysisSummaryResult & WithJobStatus(const JobStatus &value)
GetLendingAnalysisSummaryResult & WithDocumentMetadata(const DocumentMetadata &value)
GetLendingAnalysisSummaryResult & WithStatusMessage(const char *value)
GetLendingAnalysisSummaryResult & WithJobStatus(JobStatus &&value)
GetLendingAnalysisSummaryResult & WithRequestId(const Aws::String &value)
GetLendingAnalysisSummaryResult & WithWarnings(Aws::Vector< Warning > &&value)
GetLendingAnalysisSummaryResult & WithStatusMessage(Aws::String &&value)
AWS_TEXTRACT_API GetLendingAnalysisSummaryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue