AWS SDK for C++  1.8.126
AWS SDK for C++
StartKeyPhrasesDetectionJobResult.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 StartKeyPhrasesDetectionJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
65 
70  inline StartKeyPhrasesDetectionJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
71 
76  inline StartKeyPhrasesDetectionJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
77 
78 
86  inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
87 
95  inline void SetJobStatus(const JobStatus& value) { m_jobStatus = value; }
96 
104  inline void SetJobStatus(JobStatus&& value) { m_jobStatus = std::move(value); }
105 
113  inline StartKeyPhrasesDetectionJobResult& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
114 
122  inline StartKeyPhrasesDetectionJobResult& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
123 
124  private:
125 
126  Aws::String m_jobId;
127 
128  JobStatus m_jobStatus;
129  };
130 
131 } // namespace Model
132 } // namespace Comprehend
133 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_COMPREHEND_API
#define AWS_COMPREHEND_API
Definition: Comprehend_EXPORTS.h:28
Aws::Comprehend::Model::StartKeyPhrasesDetectionJobResult::WithJobId
StartKeyPhrasesDetectionJobResult & WithJobId(const Aws::String &value)
Definition: StartKeyPhrasesDetectionJobResult.h:64
Aws::Comprehend::Model::StartKeyPhrasesDetectionJobResult::SetJobStatus
void SetJobStatus(JobStatus &&value)
Definition: StartKeyPhrasesDetectionJobResult.h:104
Aws::Comprehend::Model::StartKeyPhrasesDetectionJobResult::GetJobId
const Aws::String & GetJobId() const
Definition: StartKeyPhrasesDetectionJobResult.h:40
Aws::Comprehend::Model::StartKeyPhrasesDetectionJobResult::StartKeyPhrasesDetectionJobResult
StartKeyPhrasesDetectionJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Comprehend::Model::StartKeyPhrasesDetectionJobResult::WithJobId
StartKeyPhrasesDetectionJobResult & WithJobId(Aws::String &&value)
Definition: StartKeyPhrasesDetectionJobResult.h:70
Aws::Comprehend::Model::JobStatus
JobStatus
Definition: JobStatus.h:17
Aws::Comprehend::Model::StartKeyPhrasesDetectionJobResult::StartKeyPhrasesDetectionJobResult
StartKeyPhrasesDetectionJobResult()
Aws::Comprehend::Model::StartKeyPhrasesDetectionJobResult::SetJobId
void SetJobId(const Aws::String &value)
Definition: StartKeyPhrasesDetectionJobResult.h:46
Aws::Comprehend::Model::StartKeyPhrasesDetectionJobResult::WithJobId
StartKeyPhrasesDetectionJobResult & WithJobId(const char *value)
Definition: StartKeyPhrasesDetectionJobResult.h:76
Aws::Comprehend::Model::StartKeyPhrasesDetectionJobResult::SetJobStatus
void SetJobStatus(const JobStatus &value)
Definition: StartKeyPhrasesDetectionJobResult.h:95
AWSString.h
Aws::Comprehend::Model::StartKeyPhrasesDetectionJobResult::operator=
StartKeyPhrasesDetectionJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Comprehend_EXPORTS.h
JobStatus.h
Aws
Definition: AccessManagementClient.h:15
Aws::Comprehend::Model::StartKeyPhrasesDetectionJobResult
Definition: StartKeyPhrasesDetectionJobResult.h:29
Aws::Comprehend::Model::StartKeyPhrasesDetectionJobResult::GetJobStatus
const JobStatus & GetJobStatus() const
Definition: StartKeyPhrasesDetectionJobResult.h:86
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Comprehend::Model::StartKeyPhrasesDetectionJobResult::WithJobStatus
StartKeyPhrasesDetectionJobResult & WithJobStatus(JobStatus &&value)
Definition: StartKeyPhrasesDetectionJobResult.h:122
Aws::Comprehend::Model::StartKeyPhrasesDetectionJobResult::SetJobId
void SetJobId(Aws::String &&value)
Definition: StartKeyPhrasesDetectionJobResult.h:52
Aws::Comprehend::Model::StartKeyPhrasesDetectionJobResult::WithJobStatus
StartKeyPhrasesDetectionJobResult & WithJobStatus(const JobStatus &value)
Definition: StartKeyPhrasesDetectionJobResult.h:113
Aws::Comprehend::Model::StartKeyPhrasesDetectionJobResult::SetJobId
void SetJobId(const char *value)
Definition: StartKeyPhrasesDetectionJobResult.h:58