AWS SDK for C++  1.9.125
AWS SDK for C++
StopEventsDetectionJobResult.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 
39  inline const Aws::String& GetJobId() const{ return m_jobId; }
40 
44  inline void SetJobId(const Aws::String& value) { m_jobId = value; }
45 
49  inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
50 
54  inline void SetJobId(const char* value) { m_jobId.assign(value); }
55 
59  inline StopEventsDetectionJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
60 
64  inline StopEventsDetectionJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
65 
69  inline StopEventsDetectionJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
70 
71 
75  inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
76 
80  inline void SetJobStatus(const JobStatus& value) { m_jobStatus = value; }
81 
85  inline void SetJobStatus(JobStatus&& value) { m_jobStatus = std::move(value); }
86 
90  inline StopEventsDetectionJobResult& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
91 
95  inline StopEventsDetectionJobResult& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
96 
97  private:
98 
99  Aws::String m_jobId;
100 
101  JobStatus m_jobStatus;
102  };
103 
104 } // namespace Model
105 } // namespace Comprehend
106 } // namespace Aws
Aws::Comprehend::Model::StopEventsDetectionJobResult::SetJobId
void SetJobId(const char *value)
Definition: StopEventsDetectionJobResult.h:54
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Comprehend::Model::StopEventsDetectionJobResult::StopEventsDetectionJobResult
StopEventsDetectionJobResult()
AWS_COMPREHEND_API
#define AWS_COMPREHEND_API
Definition: Comprehend_EXPORTS.h:28
Aws::Comprehend::Model::StopEventsDetectionJobResult::WithJobStatus
StopEventsDetectionJobResult & WithJobStatus(JobStatus &&value)
Definition: StopEventsDetectionJobResult.h:95
Aws::Comprehend::Model::StopEventsDetectionJobResult::SetJobId
void SetJobId(Aws::String &&value)
Definition: StopEventsDetectionJobResult.h:49
Aws::Comprehend::Model::StopEventsDetectionJobResult::SetJobStatus
void SetJobStatus(const JobStatus &value)
Definition: StopEventsDetectionJobResult.h:80
Aws::Comprehend::Model::StopEventsDetectionJobResult
Definition: StopEventsDetectionJobResult.h:29
Aws::Comprehend::Model::StopEventsDetectionJobResult::WithJobId
StopEventsDetectionJobResult & WithJobId(const Aws::String &value)
Definition: StopEventsDetectionJobResult.h:59
Aws::Comprehend::Model::JobStatus
JobStatus
Definition: JobStatus.h:17
Aws::Comprehend::Model::StopEventsDetectionJobResult::WithJobId
StopEventsDetectionJobResult & WithJobId(Aws::String &&value)
Definition: StopEventsDetectionJobResult.h:64
Aws::Comprehend::Model::StopEventsDetectionJobResult::operator=
StopEventsDetectionJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Comprehend::Model::StopEventsDetectionJobResult::StopEventsDetectionJobResult
StopEventsDetectionJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::Comprehend::Model::StopEventsDetectionJobResult::SetJobStatus
void SetJobStatus(JobStatus &&value)
Definition: StopEventsDetectionJobResult.h:85
Aws::Comprehend::Model::StopEventsDetectionJobResult::WithJobId
StopEventsDetectionJobResult & WithJobId(const char *value)
Definition: StopEventsDetectionJobResult.h:69
Aws::Comprehend::Model::StopEventsDetectionJobResult::GetJobId
const Aws::String & GetJobId() const
Definition: StopEventsDetectionJobResult.h:39
Comprehend_EXPORTS.h
JobStatus.h
Aws::Comprehend::Model::StopEventsDetectionJobResult::WithJobStatus
StopEventsDetectionJobResult & WithJobStatus(const JobStatus &value)
Definition: StopEventsDetectionJobResult.h:90
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::StopEventsDetectionJobResult::SetJobId
void SetJobId(const Aws::String &value)
Definition: StopEventsDetectionJobResult.h:44
Aws::Comprehend::Model::StopEventsDetectionJobResult::GetJobStatus
const JobStatus & GetJobStatus() const
Definition: StopEventsDetectionJobResult.h:75