AWS SDK for C++  1.8.126
AWS SDK for C++
StopKeyPhrasesDetectionJobResult.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 StopKeyPhrasesDetectionJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
60 
64  inline StopKeyPhrasesDetectionJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
65 
69  inline StopKeyPhrasesDetectionJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
70 
71 
77  inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
78 
84  inline void SetJobStatus(const JobStatus& value) { m_jobStatus = value; }
85 
91  inline void SetJobStatus(JobStatus&& value) { m_jobStatus = std::move(value); }
92 
98  inline StopKeyPhrasesDetectionJobResult& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
99 
105  inline StopKeyPhrasesDetectionJobResult& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
106 
107  private:
108 
109  Aws::String m_jobId;
110 
111  JobStatus m_jobStatus;
112  };
113 
114 } // namespace Model
115 } // namespace Comprehend
116 } // namespace Aws
Aws::Comprehend::Model::StopKeyPhrasesDetectionJobResult::StopKeyPhrasesDetectionJobResult
StopKeyPhrasesDetectionJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Comprehend::Model::StopKeyPhrasesDetectionJobResult::WithJobStatus
StopKeyPhrasesDetectionJobResult & WithJobStatus(const JobStatus &value)
Definition: StopKeyPhrasesDetectionJobResult.h:98
Aws::Comprehend::Model::StopKeyPhrasesDetectionJobResult::WithJobId
StopKeyPhrasesDetectionJobResult & WithJobId(Aws::String &&value)
Definition: StopKeyPhrasesDetectionJobResult.h:64
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_COMPREHEND_API
#define AWS_COMPREHEND_API
Definition: Comprehend_EXPORTS.h:28
Aws::Comprehend::Model::StopKeyPhrasesDetectionJobResult::WithJobStatus
StopKeyPhrasesDetectionJobResult & WithJobStatus(JobStatus &&value)
Definition: StopKeyPhrasesDetectionJobResult.h:105
Aws::Comprehend::Model::StopKeyPhrasesDetectionJobResult::SetJobStatus
void SetJobStatus(const JobStatus &value)
Definition: StopKeyPhrasesDetectionJobResult.h:84
Aws::Comprehend::Model::StopKeyPhrasesDetectionJobResult
Definition: StopKeyPhrasesDetectionJobResult.h:29
Aws::Comprehend::Model::StopKeyPhrasesDetectionJobResult::WithJobId
StopKeyPhrasesDetectionJobResult & WithJobId(const char *value)
Definition: StopKeyPhrasesDetectionJobResult.h:69
Aws::Comprehend::Model::StopKeyPhrasesDetectionJobResult::WithJobId
StopKeyPhrasesDetectionJobResult & WithJobId(const Aws::String &value)
Definition: StopKeyPhrasesDetectionJobResult.h:59
Aws::Comprehend::Model::JobStatus
JobStatus
Definition: JobStatus.h:17
Aws::Comprehend::Model::StopKeyPhrasesDetectionJobResult::SetJobId
void SetJobId(const char *value)
Definition: StopKeyPhrasesDetectionJobResult.h:54
Aws::Comprehend::Model::StopKeyPhrasesDetectionJobResult::GetJobId
const Aws::String & GetJobId() const
Definition: StopKeyPhrasesDetectionJobResult.h:39
Aws::Comprehend::Model::StopKeyPhrasesDetectionJobResult::GetJobStatus
const JobStatus & GetJobStatus() const
Definition: StopKeyPhrasesDetectionJobResult.h:77
Aws::Comprehend::Model::StopKeyPhrasesDetectionJobResult::operator=
StopKeyPhrasesDetectionJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::Comprehend::Model::StopKeyPhrasesDetectionJobResult::SetJobStatus
void SetJobStatus(JobStatus &&value)
Definition: StopKeyPhrasesDetectionJobResult.h:91
Aws::Comprehend::Model::StopKeyPhrasesDetectionJobResult::SetJobId
void SetJobId(Aws::String &&value)
Definition: StopKeyPhrasesDetectionJobResult.h:49
Aws::Comprehend::Model::StopKeyPhrasesDetectionJobResult::StopKeyPhrasesDetectionJobResult
StopKeyPhrasesDetectionJobResult()
Comprehend_EXPORTS.h
JobStatus.h
Aws
Definition: AccessManagementClient.h:15
Aws::Comprehend::Model::StopKeyPhrasesDetectionJobResult::SetJobId
void SetJobId(const Aws::String &value)
Definition: StopKeyPhrasesDetectionJobResult.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97