AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StartEntitiesDetectionJobResult.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 StartEntitiesDetectionJobResult() = default;
34
35
37
41 inline const Aws::String& GetJobId() const { return m_jobId; }
42 template<typename JobIdT = Aws::String>
43 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
44 template<typename JobIdT = Aws::String>
45 StartEntitiesDetectionJobResult& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
47
49
59 inline const Aws::String& GetJobArn() const { return m_jobArn; }
60 template<typename JobArnT = Aws::String>
61 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
62 template<typename JobArnT = Aws::String>
63 StartEntitiesDetectionJobResult& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
65
67
77 inline JobStatus GetJobStatus() const { return m_jobStatus; }
78 inline void SetJobStatus(JobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
81
83
86 inline const Aws::String& GetEntityRecognizerArn() const { return m_entityRecognizerArn; }
87 template<typename EntityRecognizerArnT = Aws::String>
88 void SetEntityRecognizerArn(EntityRecognizerArnT&& value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn = std::forward<EntityRecognizerArnT>(value); }
89 template<typename EntityRecognizerArnT = Aws::String>
90 StartEntitiesDetectionJobResult& WithEntityRecognizerArn(EntityRecognizerArnT&& value) { SetEntityRecognizerArn(std::forward<EntityRecognizerArnT>(value)); return *this;}
92
94
95 inline const Aws::String& GetRequestId() const { return m_requestId; }
96 template<typename RequestIdT = Aws::String>
97 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
98 template<typename RequestIdT = Aws::String>
99 StartEntitiesDetectionJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
101 private:
102
103 Aws::String m_jobId;
104 bool m_jobIdHasBeenSet = false;
105
106 Aws::String m_jobArn;
107 bool m_jobArnHasBeenSet = false;
108
109 JobStatus m_jobStatus{JobStatus::NOT_SET};
110 bool m_jobStatusHasBeenSet = false;
111
112 Aws::String m_entityRecognizerArn;
113 bool m_entityRecognizerArnHasBeenSet = false;
114
115 Aws::String m_requestId;
116 bool m_requestIdHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace Comprehend
121} // namespace Aws
AWS_COMPREHEND_API StartEntitiesDetectionJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartEntitiesDetectionJobResult & WithEntityRecognizerArn(EntityRecognizerArnT &&value)
StartEntitiesDetectionJobResult & WithRequestId(RequestIdT &&value)
AWS_COMPREHEND_API StartEntitiesDetectionJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartEntitiesDetectionJobResult & WithJobStatus(JobStatus value)
StartEntitiesDetectionJobResult & WithJobId(JobIdT &&value)
AWS_COMPREHEND_API StartEntitiesDetectionJobResult()=default
StartEntitiesDetectionJobResult & WithJobArn(JobArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue