AWS SDK for C++

AWS SDK for C++ Version 1.11.687

Loading...
Searching...
No Matches
StartEntitiesDetectionJobResult.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 StartEntitiesDetectionJobResult() = default;
29
31
35 inline const Aws::String& GetJobId() const { return m_jobId; }
36 template <typename JobIdT = Aws::String>
37 void SetJobId(JobIdT&& value) {
38 m_jobIdHasBeenSet = true;
39 m_jobId = std::forward<JobIdT>(value);
40 }
41 template <typename JobIdT = Aws::String>
43 SetJobId(std::forward<JobIdT>(value));
44 return *this;
45 }
47
49
59 inline const Aws::String& GetJobArn() const { return m_jobArn; }
60 template <typename JobArnT = Aws::String>
61 void SetJobArn(JobArnT&& value) {
62 m_jobArnHasBeenSet = true;
63 m_jobArn = std::forward<JobArnT>(value);
64 }
65 template <typename JobArnT = Aws::String>
67 SetJobArn(std::forward<JobArnT>(value));
68 return *this;
69 }
71
73
83 inline JobStatus GetJobStatus() const { return m_jobStatus; }
84 inline void SetJobStatus(JobStatus value) {
85 m_jobStatusHasBeenSet = true;
86 m_jobStatus = value;
87 }
89 SetJobStatus(value);
90 return *this;
91 }
93
95
98 inline const Aws::String& GetEntityRecognizerArn() const { return m_entityRecognizerArn; }
99 template <typename EntityRecognizerArnT = Aws::String>
100 void SetEntityRecognizerArn(EntityRecognizerArnT&& value) {
101 m_entityRecognizerArnHasBeenSet = true;
102 m_entityRecognizerArn = std::forward<EntityRecognizerArnT>(value);
103 }
104 template <typename EntityRecognizerArnT = Aws::String>
106 SetEntityRecognizerArn(std::forward<EntityRecognizerArnT>(value));
107 return *this;
108 }
110
112
113 inline const Aws::String& GetRequestId() const { return m_requestId; }
114 template <typename RequestIdT = Aws::String>
115 void SetRequestId(RequestIdT&& value) {
116 m_requestIdHasBeenSet = true;
117 m_requestId = std::forward<RequestIdT>(value);
118 }
119 template <typename RequestIdT = Aws::String>
121 SetRequestId(std::forward<RequestIdT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_jobId;
127 bool m_jobIdHasBeenSet = false;
128
129 Aws::String m_jobArn;
130 bool m_jobArnHasBeenSet = false;
131
132 JobStatus m_jobStatus{JobStatus::NOT_SET};
133 bool m_jobStatusHasBeenSet = false;
134
135 Aws::String m_entityRecognizerArn;
136 bool m_entityRecognizerArnHasBeenSet = false;
137
138 Aws::String m_requestId;
139 bool m_requestIdHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace Comprehend
144} // 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