AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StopKeyPhrasesDetectionJobResult.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/comprehend/model/JobStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Comprehend
25{
26namespace Model
27{
29 {
30 public:
31 AWS_COMPREHEND_API StopKeyPhrasesDetectionJobResult() = default;
34
35
37
40 inline const Aws::String& GetJobId() const { return m_jobId; }
41 template<typename JobIdT = Aws::String>
42 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
43 template<typename JobIdT = Aws::String>
44 StopKeyPhrasesDetectionJobResult& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
46
48
53 inline JobStatus GetJobStatus() const { return m_jobStatus; }
54 inline void SetJobStatus(JobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
57
59
60 inline const Aws::String& GetRequestId() const { return m_requestId; }
61 template<typename RequestIdT = Aws::String>
62 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
63 template<typename RequestIdT = Aws::String>
64 StopKeyPhrasesDetectionJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
66 private:
67
68 Aws::String m_jobId;
69 bool m_jobIdHasBeenSet = false;
70
71 JobStatus m_jobStatus{JobStatus::NOT_SET};
72 bool m_jobStatusHasBeenSet = false;
73
74 Aws::String m_requestId;
75 bool m_requestIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Comprehend
80} // namespace Aws
StopKeyPhrasesDetectionJobResult & WithJobStatus(JobStatus value)
StopKeyPhrasesDetectionJobResult & WithRequestId(RequestIdT &&value)
AWS_COMPREHEND_API StopKeyPhrasesDetectionJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StopKeyPhrasesDetectionJobResult & WithJobId(JobIdT &&value)
AWS_COMPREHEND_API StopKeyPhrasesDetectionJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_COMPREHEND_API StopKeyPhrasesDetectionJobResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue