AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
StartTopicsDetectionJobResult.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/JobStatus.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Comprehend {
24namespace Model {
26 public:
27 AWS_COMPREHEND_API StartTopicsDetectionJobResult() = default;
30
32
36 inline const Aws::String& GetJobId() const { return m_jobId; }
37 template <typename JobIdT = Aws::String>
38 void SetJobId(JobIdT&& value) {
39 m_jobIdHasBeenSet = true;
40 m_jobId = std::forward<JobIdT>(value);
41 }
42 template <typename JobIdT = Aws::String>
44 SetJobId(std::forward<JobIdT>(value));
45 return *this;
46 }
48
50
60 inline const Aws::String& GetJobArn() const { return m_jobArn; }
61 template <typename JobArnT = Aws::String>
62 void SetJobArn(JobArnT&& value) {
63 m_jobArnHasBeenSet = true;
64 m_jobArn = std::forward<JobArnT>(value);
65 }
66 template <typename JobArnT = Aws::String>
68 SetJobArn(std::forward<JobArnT>(value));
69 return *this;
70 }
72
74
82 inline JobStatus GetJobStatus() const { return m_jobStatus; }
83 inline void SetJobStatus(JobStatus value) {
84 m_jobStatusHasBeenSet = true;
85 m_jobStatus = value;
86 }
88 SetJobStatus(value);
89 return *this;
90 }
92
94
95 inline const Aws::String& GetRequestId() const { return m_requestId; }
96 template <typename RequestIdT = Aws::String>
97 void SetRequestId(RequestIdT&& value) {
98 m_requestIdHasBeenSet = true;
99 m_requestId = std::forward<RequestIdT>(value);
100 }
101 template <typename RequestIdT = Aws::String>
103 SetRequestId(std::forward<RequestIdT>(value));
104 return *this;
105 }
107 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
108
109 private:
110 Aws::String m_jobId;
111
112 Aws::String m_jobArn;
113
114 JobStatus m_jobStatus{JobStatus::NOT_SET};
115
116 Aws::String m_requestId;
117 Aws::Http::HttpResponseCode m_HttpResponseCode;
118 bool m_jobIdHasBeenSet = false;
119 bool m_jobArnHasBeenSet = false;
120 bool m_jobStatusHasBeenSet = false;
121 bool m_requestIdHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace Comprehend
126} // namespace Aws
StartTopicsDetectionJobResult & WithJobId(JobIdT &&value)
AWS_COMPREHEND_API StartTopicsDetectionJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_COMPREHEND_API StartTopicsDetectionJobResult()=default
StartTopicsDetectionJobResult & WithRequestId(RequestIdT &&value)
StartTopicsDetectionJobResult & WithJobArn(JobArnT &&value)
StartTopicsDetectionJobResult & WithJobStatus(JobStatus value)
AWS_COMPREHEND_API StartTopicsDetectionJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue