AWS SDK for C++  1.9.124
AWS SDK for C++
StartEventsDetectionJobResult.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 StartEventsDetectionJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
65 
70  inline StartEventsDetectionJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
71 
76  inline StartEventsDetectionJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
77 
78 
88  inline const Aws::String& GetJobArn() const{ return m_jobArn; }
89 
99  inline void SetJobArn(const Aws::String& value) { m_jobArn = value; }
100 
110  inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); }
111 
121  inline void SetJobArn(const char* value) { m_jobArn.assign(value); }
122 
132  inline StartEventsDetectionJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
133 
143  inline StartEventsDetectionJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
144 
154  inline StartEventsDetectionJobResult& WithJobArn(const char* value) { SetJobArn(value); return *this;}
155 
156 
160  inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
161 
165  inline void SetJobStatus(const JobStatus& value) { m_jobStatus = value; }
166 
170  inline void SetJobStatus(JobStatus&& value) { m_jobStatus = std::move(value); }
171 
175  inline StartEventsDetectionJobResult& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
176 
180  inline StartEventsDetectionJobResult& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
181 
182  private:
183 
184  Aws::String m_jobId;
185 
186  Aws::String m_jobArn;
187 
188  JobStatus m_jobStatus;
189  };
190 
191 } // namespace Model
192 } // namespace Comprehend
193 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Comprehend::Model::StartEventsDetectionJobResult::WithJobId
StartEventsDetectionJobResult & WithJobId(const char *value)
Definition: StartEventsDetectionJobResult.h:76
AWS_COMPREHEND_API
#define AWS_COMPREHEND_API
Definition: Comprehend_EXPORTS.h:28
Aws::Comprehend::Model::StartEventsDetectionJobResult::SetJobStatus
void SetJobStatus(const JobStatus &value)
Definition: StartEventsDetectionJobResult.h:165
Aws::Comprehend::Model::StartEventsDetectionJobResult::WithJobArn
StartEventsDetectionJobResult & WithJobArn(const char *value)
Definition: StartEventsDetectionJobResult.h:154
Aws::Comprehend::Model::StartEventsDetectionJobResult::GetJobStatus
const JobStatus & GetJobStatus() const
Definition: StartEventsDetectionJobResult.h:160
Aws::Comprehend::Model::StartEventsDetectionJobResult::operator=
StartEventsDetectionJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Comprehend::Model::StartEventsDetectionJobResult::SetJobId
void SetJobId(const Aws::String &value)
Definition: StartEventsDetectionJobResult.h:46
Aws::Comprehend::Model::StartEventsDetectionJobResult::WithJobStatus
StartEventsDetectionJobResult & WithJobStatus(JobStatus &&value)
Definition: StartEventsDetectionJobResult.h:180
Aws::Comprehend::Model::StartEventsDetectionJobResult::SetJobStatus
void SetJobStatus(JobStatus &&value)
Definition: StartEventsDetectionJobResult.h:170
Aws::Comprehend::Model::StartEventsDetectionJobResult::SetJobId
void SetJobId(Aws::String &&value)
Definition: StartEventsDetectionJobResult.h:52
Aws::Comprehend::Model::JobStatus
JobStatus
Definition: JobStatus.h:17
Aws::Comprehend::Model::StartEventsDetectionJobResult::WithJobId
StartEventsDetectionJobResult & WithJobId(const Aws::String &value)
Definition: StartEventsDetectionJobResult.h:64
Aws::Comprehend::Model::StartEventsDetectionJobResult::GetJobArn
const Aws::String & GetJobArn() const
Definition: StartEventsDetectionJobResult.h:88
Aws::Comprehend::Model::StartEventsDetectionJobResult::StartEventsDetectionJobResult
StartEventsDetectionJobResult()
Aws::Comprehend::Model::StartEventsDetectionJobResult::GetJobId
const Aws::String & GetJobId() const
Definition: StartEventsDetectionJobResult.h:40
Aws::Comprehend::Model::StartEventsDetectionJobResult
Definition: StartEventsDetectionJobResult.h:29
AWSString.h
Aws::Comprehend::Model::StartEventsDetectionJobResult::SetJobArn
void SetJobArn(const Aws::String &value)
Definition: StartEventsDetectionJobResult.h:99
Aws::Comprehend::Model::StartEventsDetectionJobResult::WithJobId
StartEventsDetectionJobResult & WithJobId(Aws::String &&value)
Definition: StartEventsDetectionJobResult.h:70
Aws::Comprehend::Model::StartEventsDetectionJobResult::SetJobId
void SetJobId(const char *value)
Definition: StartEventsDetectionJobResult.h:58
Comprehend_EXPORTS.h
JobStatus.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Comprehend::Model::StartEventsDetectionJobResult::StartEventsDetectionJobResult
StartEventsDetectionJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Comprehend::Model::StartEventsDetectionJobResult::WithJobStatus
StartEventsDetectionJobResult & WithJobStatus(const JobStatus &value)
Definition: StartEventsDetectionJobResult.h:175
Aws::Comprehend::Model::StartEventsDetectionJobResult::WithJobArn
StartEventsDetectionJobResult & WithJobArn(const Aws::String &value)
Definition: StartEventsDetectionJobResult.h:132
Aws::Comprehend::Model::StartEventsDetectionJobResult::SetJobArn
void SetJobArn(const char *value)
Definition: StartEventsDetectionJobResult.h:121
Aws::Comprehend::Model::StartEventsDetectionJobResult::SetJobArn
void SetJobArn(Aws::String &&value)
Definition: StartEventsDetectionJobResult.h:110
Aws::Comprehend::Model::StartEventsDetectionJobResult::WithJobArn
StartEventsDetectionJobResult & WithJobArn(Aws::String &&value)
Definition: StartEventsDetectionJobResult.h:143