AWS SDK for C++  1.8.126
AWS SDK for C++
StartEntitiesDetectionJobResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Comprehend
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const Aws::String& GetJobId() const{ return m_jobId; }
41 
46  inline void SetJobId(const Aws::String& value) { m_jobId = value; }
47 
52  inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
53 
58  inline void SetJobId(const char* value) { m_jobId.assign(value); }
59 
64  inline StartEntitiesDetectionJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
65 
70  inline StartEntitiesDetectionJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
71 
76  inline StartEntitiesDetectionJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
77 
78 
89  inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
90 
101  inline void SetJobStatus(const JobStatus& value) { m_jobStatus = value; }
102 
113  inline void SetJobStatus(JobStatus&& value) { m_jobStatus = std::move(value); }
114 
125  inline StartEntitiesDetectionJobResult& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
126 
137  inline StartEntitiesDetectionJobResult& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
138 
139  private:
140 
141  Aws::String m_jobId;
142 
143  JobStatus m_jobStatus;
144  };
145 
146 } // namespace Model
147 } // namespace Comprehend
148 } // namespace Aws
Aws::Comprehend::Model::StartEntitiesDetectionJobResult::SetJobStatus
void SetJobStatus(JobStatus &&value)
Definition: StartEntitiesDetectionJobResult.h:113
Aws::Comprehend::Model::StartEntitiesDetectionJobResult::GetJobStatus
const JobStatus & GetJobStatus() const
Definition: StartEntitiesDetectionJobResult.h:89
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_COMPREHEND_API
#define AWS_COMPREHEND_API
Definition: Comprehend_EXPORTS.h:28
Aws::Comprehend::Model::StartEntitiesDetectionJobResult::WithJobId
StartEntitiesDetectionJobResult & WithJobId(const Aws::String &value)
Definition: StartEntitiesDetectionJobResult.h:64
Aws::Comprehend::Model::StartEntitiesDetectionJobResult::SetJobId
void SetJobId(const char *value)
Definition: StartEntitiesDetectionJobResult.h:58
Aws::Comprehend::Model::StartEntitiesDetectionJobResult::operator=
StartEntitiesDetectionJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Comprehend::Model::StartEntitiesDetectionJobResult
Definition: StartEntitiesDetectionJobResult.h:29
Aws::Comprehend::Model::JobStatus
JobStatus
Definition: JobStatus.h:17
Aws::Comprehend::Model::StartEntitiesDetectionJobResult::WithJobStatus
StartEntitiesDetectionJobResult & WithJobStatus(const JobStatus &value)
Definition: StartEntitiesDetectionJobResult.h:125
Aws::Comprehend::Model::StartEntitiesDetectionJobResult::StartEntitiesDetectionJobResult
StartEntitiesDetectionJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Comprehend::Model::StartEntitiesDetectionJobResult::GetJobId
const Aws::String & GetJobId() const
Definition: StartEntitiesDetectionJobResult.h:40
AWSString.h
Aws::Comprehend::Model::StartEntitiesDetectionJobResult::WithJobId
StartEntitiesDetectionJobResult & WithJobId(const char *value)
Definition: StartEntitiesDetectionJobResult.h:76
Aws::Comprehend::Model::StartEntitiesDetectionJobResult::SetJobId
void SetJobId(const Aws::String &value)
Definition: StartEntitiesDetectionJobResult.h:46
Aws::Comprehend::Model::StartEntitiesDetectionJobResult::StartEntitiesDetectionJobResult
StartEntitiesDetectionJobResult()
Comprehend_EXPORTS.h
JobStatus.h
Aws
Definition: AccessManagementClient.h:15
Aws::Comprehend::Model::StartEntitiesDetectionJobResult::WithJobId
StartEntitiesDetectionJobResult & WithJobId(Aws::String &&value)
Definition: StartEntitiesDetectionJobResult.h:70
Aws::Comprehend::Model::StartEntitiesDetectionJobResult::WithJobStatus
StartEntitiesDetectionJobResult & WithJobStatus(JobStatus &&value)
Definition: StartEntitiesDetectionJobResult.h:137
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Comprehend::Model::StartEntitiesDetectionJobResult::SetJobId
void SetJobId(Aws::String &&value)
Definition: StartEntitiesDetectionJobResult.h:52
Aws::Comprehend::Model::StartEntitiesDetectionJobResult::SetJobStatus
void SetJobStatus(const JobStatus &value)
Definition: StartEntitiesDetectionJobResult.h:101