AWS SDK for C++  1.8.126
AWS SDK for C++
StartTopicsDetectionJobResult.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 StartTopicsDetectionJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
65 
70  inline StartTopicsDetectionJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
71 
76  inline StartTopicsDetectionJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
77 
78 
87  inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
88 
97  inline void SetJobStatus(const JobStatus& value) { m_jobStatus = value; }
98 
107  inline void SetJobStatus(JobStatus&& value) { m_jobStatus = std::move(value); }
108 
117  inline StartTopicsDetectionJobResult& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
118 
127  inline StartTopicsDetectionJobResult& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
128 
129  private:
130 
131  Aws::String m_jobId;
132 
133  JobStatus m_jobStatus;
134  };
135 
136 } // namespace Model
137 } // namespace Comprehend
138 } // namespace Aws
Aws::Comprehend::Model::StartTopicsDetectionJobResult
Definition: StartTopicsDetectionJobResult.h:29
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Comprehend::Model::StartTopicsDetectionJobResult::GetJobId
const Aws::String & GetJobId() const
Definition: StartTopicsDetectionJobResult.h:40
AWS_COMPREHEND_API
#define AWS_COMPREHEND_API
Definition: Comprehend_EXPORTS.h:28
Aws::Comprehend::Model::StartTopicsDetectionJobResult::SetJobStatus
void SetJobStatus(const JobStatus &value)
Definition: StartTopicsDetectionJobResult.h:97
Aws::Comprehend::Model::StartTopicsDetectionJobResult::GetJobStatus
const JobStatus & GetJobStatus() const
Definition: StartTopicsDetectionJobResult.h:87
Aws::Comprehend::Model::StartTopicsDetectionJobResult::WithJobId
StartTopicsDetectionJobResult & WithJobId(const Aws::String &value)
Definition: StartTopicsDetectionJobResult.h:64
Aws::Comprehend::Model::JobStatus
JobStatus
Definition: JobStatus.h:17
Aws::Comprehend::Model::StartTopicsDetectionJobResult::WithJobId
StartTopicsDetectionJobResult & WithJobId(const char *value)
Definition: StartTopicsDetectionJobResult.h:76
Aws::Comprehend::Model::StartTopicsDetectionJobResult::StartTopicsDetectionJobResult
StartTopicsDetectionJobResult()
Aws::Comprehend::Model::StartTopicsDetectionJobResult::operator=
StartTopicsDetectionJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Comprehend::Model::StartTopicsDetectionJobResult::WithJobId
StartTopicsDetectionJobResult & WithJobId(Aws::String &&value)
Definition: StartTopicsDetectionJobResult.h:70
AWSString.h
Aws::Comprehend::Model::StartTopicsDetectionJobResult::SetJobId
void SetJobId(Aws::String &&value)
Definition: StartTopicsDetectionJobResult.h:52
Aws::Comprehend::Model::StartTopicsDetectionJobResult::WithJobStatus
StartTopicsDetectionJobResult & WithJobStatus(const JobStatus &value)
Definition: StartTopicsDetectionJobResult.h:117
Aws::Comprehend::Model::StartTopicsDetectionJobResult::StartTopicsDetectionJobResult
StartTopicsDetectionJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Comprehend::Model::StartTopicsDetectionJobResult::SetJobId
void SetJobId(const char *value)
Definition: StartTopicsDetectionJobResult.h:58
Comprehend_EXPORTS.h
Aws::Comprehend::Model::StartTopicsDetectionJobResult::WithJobStatus
StartTopicsDetectionJobResult & WithJobStatus(JobStatus &&value)
Definition: StartTopicsDetectionJobResult.h:127
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::StartTopicsDetectionJobResult::SetJobId
void SetJobId(const Aws::String &value)
Definition: StartTopicsDetectionJobResult.h:46
Aws::Comprehend::Model::StartTopicsDetectionJobResult::SetJobStatus
void SetJobStatus(JobStatus &&value)
Definition: StartTopicsDetectionJobResult.h:107