AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
StartDocumentClassificationJobResult.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/JobStatus.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Comprehend {
24namespace Model {
26 public:
27 AWS_COMPREHEND_API StartDocumentClassificationJobResult() = default;
31
33
38 inline const Aws::String& GetJobId() const { return m_jobId; }
39 template <typename JobIdT = Aws::String>
40 void SetJobId(JobIdT&& value) {
41 m_jobIdHasBeenSet = true;
42 m_jobId = std::forward<JobIdT>(value);
43 }
44 template <typename JobIdT = Aws::String>
46 SetJobId(std::forward<JobIdT>(value));
47 return *this;
48 }
50
52
62 inline const Aws::String& GetJobArn() const { return m_jobArn; }
63 template <typename JobArnT = Aws::String>
64 void SetJobArn(JobArnT&& value) {
65 m_jobArnHasBeenSet = true;
66 m_jobArn = std::forward<JobArnT>(value);
67 }
68 template <typename JobArnT = Aws::String>
70 SetJobArn(std::forward<JobArnT>(value));
71 return *this;
72 }
74
76
87 inline JobStatus GetJobStatus() const { return m_jobStatus; }
88 inline void SetJobStatus(JobStatus value) {
89 m_jobStatusHasBeenSet = true;
90 m_jobStatus = value;
91 }
93 SetJobStatus(value);
94 return *this;
95 }
97
99
102 inline const Aws::String& GetDocumentClassifierArn() const { return m_documentClassifierArn; }
103 template <typename DocumentClassifierArnT = Aws::String>
104 void SetDocumentClassifierArn(DocumentClassifierArnT&& value) {
105 m_documentClassifierArnHasBeenSet = true;
106 m_documentClassifierArn = std::forward<DocumentClassifierArnT>(value);
107 }
108 template <typename DocumentClassifierArnT = Aws::String>
110 SetDocumentClassifierArn(std::forward<DocumentClassifierArnT>(value));
111 return *this;
112 }
114
116
117 inline const Aws::String& GetRequestId() const { return m_requestId; }
118 template <typename RequestIdT = Aws::String>
119 void SetRequestId(RequestIdT&& value) {
120 m_requestIdHasBeenSet = true;
121 m_requestId = std::forward<RequestIdT>(value);
122 }
123 template <typename RequestIdT = Aws::String>
125 SetRequestId(std::forward<RequestIdT>(value));
126 return *this;
127 }
129 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
130
131 private:
132 Aws::String m_jobId;
133
134 Aws::String m_jobArn;
135
136 JobStatus m_jobStatus{JobStatus::NOT_SET};
137
138 Aws::String m_documentClassifierArn;
139
140 Aws::String m_requestId;
141 Aws::Http::HttpResponseCode m_HttpResponseCode;
142 bool m_jobIdHasBeenSet = false;
143 bool m_jobArnHasBeenSet = false;
144 bool m_jobStatusHasBeenSet = false;
145 bool m_documentClassifierArnHasBeenSet = false;
146 bool m_requestIdHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace Comprehend
151} // namespace Aws
StartDocumentClassificationJobResult & WithJobArn(JobArnT &&value)
AWS_COMPREHEND_API StartDocumentClassificationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartDocumentClassificationJobResult & WithRequestId(RequestIdT &&value)
StartDocumentClassificationJobResult & WithJobStatus(JobStatus value)
StartDocumentClassificationJobResult & WithDocumentClassifierArn(DocumentClassifierArnT &&value)
StartDocumentClassificationJobResult & WithJobId(JobIdT &&value)
AWS_COMPREHEND_API StartDocumentClassificationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue