AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Comprehend {
23namespace Model {
25 public:
26 AWS_COMPREHEND_API StartDocumentClassificationJobResult() = default;
30
32
37 inline const Aws::String& GetJobId() const { return m_jobId; }
38 template <typename JobIdT = Aws::String>
39 void SetJobId(JobIdT&& value) {
40 m_jobIdHasBeenSet = true;
41 m_jobId = std::forward<JobIdT>(value);
42 }
43 template <typename JobIdT = Aws::String>
45 SetJobId(std::forward<JobIdT>(value));
46 return *this;
47 }
49
51
61 inline const Aws::String& GetJobArn() const { return m_jobArn; }
62 template <typename JobArnT = Aws::String>
63 void SetJobArn(JobArnT&& value) {
64 m_jobArnHasBeenSet = true;
65 m_jobArn = std::forward<JobArnT>(value);
66 }
67 template <typename JobArnT = Aws::String>
69 SetJobArn(std::forward<JobArnT>(value));
70 return *this;
71 }
73
75
86 inline JobStatus GetJobStatus() const { return m_jobStatus; }
87 inline void SetJobStatus(JobStatus value) {
88 m_jobStatusHasBeenSet = true;
89 m_jobStatus = value;
90 }
92 SetJobStatus(value);
93 return *this;
94 }
96
98
101 inline const Aws::String& GetDocumentClassifierArn() const { return m_documentClassifierArn; }
102 template <typename DocumentClassifierArnT = Aws::String>
103 void SetDocumentClassifierArn(DocumentClassifierArnT&& value) {
104 m_documentClassifierArnHasBeenSet = true;
105 m_documentClassifierArn = std::forward<DocumentClassifierArnT>(value);
106 }
107 template <typename DocumentClassifierArnT = Aws::String>
109 SetDocumentClassifierArn(std::forward<DocumentClassifierArnT>(value));
110 return *this;
111 }
113
115
116 inline const Aws::String& GetRequestId() const { return m_requestId; }
117 template <typename RequestIdT = Aws::String>
118 void SetRequestId(RequestIdT&& value) {
119 m_requestIdHasBeenSet = true;
120 m_requestId = std::forward<RequestIdT>(value);
121 }
122 template <typename RequestIdT = Aws::String>
124 SetRequestId(std::forward<RequestIdT>(value));
125 return *this;
126 }
128 private:
129 Aws::String m_jobId;
130
131 Aws::String m_jobArn;
132
133 JobStatus m_jobStatus{JobStatus::NOT_SET};
134
135 Aws::String m_documentClassifierArn;
136
137 Aws::String m_requestId;
138 bool m_jobIdHasBeenSet = false;
139 bool m_jobArnHasBeenSet = false;
140 bool m_jobStatusHasBeenSet = false;
141 bool m_documentClassifierArnHasBeenSet = false;
142 bool m_requestIdHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace Comprehend
147} // 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