AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StartDocumentClassificationJobResult.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/comprehend/model/JobStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Comprehend
25{
26namespace Model
27{
29 {
30 public:
31 AWS_COMPREHEND_API StartDocumentClassificationJobResult() = default;
34
35
37
42 inline const Aws::String& GetJobId() const { return m_jobId; }
43 template<typename JobIdT = Aws::String>
44 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
45 template<typename JobIdT = Aws::String>
46 StartDocumentClassificationJobResult& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
48
50
60 inline const Aws::String& GetJobArn() const { return m_jobArn; }
61 template<typename JobArnT = Aws::String>
62 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
63 template<typename JobArnT = Aws::String>
64 StartDocumentClassificationJobResult& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
66
68
79 inline JobStatus GetJobStatus() const { return m_jobStatus; }
80 inline void SetJobStatus(JobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
83
85
88 inline const Aws::String& GetDocumentClassifierArn() const { return m_documentClassifierArn; }
89 template<typename DocumentClassifierArnT = Aws::String>
90 void SetDocumentClassifierArn(DocumentClassifierArnT&& value) { m_documentClassifierArnHasBeenSet = true; m_documentClassifierArn = std::forward<DocumentClassifierArnT>(value); }
91 template<typename DocumentClassifierArnT = Aws::String>
92 StartDocumentClassificationJobResult& WithDocumentClassifierArn(DocumentClassifierArnT&& value) { SetDocumentClassifierArn(std::forward<DocumentClassifierArnT>(value)); return *this;}
94
96
97 inline const Aws::String& GetRequestId() const { return m_requestId; }
98 template<typename RequestIdT = Aws::String>
99 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
100 template<typename RequestIdT = Aws::String>
101 StartDocumentClassificationJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
103 private:
104
105 Aws::String m_jobId;
106 bool m_jobIdHasBeenSet = false;
107
108 Aws::String m_jobArn;
109 bool m_jobArnHasBeenSet = false;
110
111 JobStatus m_jobStatus{JobStatus::NOT_SET};
112 bool m_jobStatusHasBeenSet = false;
113
114 Aws::String m_documentClassifierArn;
115 bool m_documentClassifierArnHasBeenSet = false;
116
117 Aws::String m_requestId;
118 bool m_requestIdHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace Comprehend
123} // 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