AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
StopEventsDetectionJobResult.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/JobStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Comprehend {
23namespace Model {
25 public:
26 AWS_COMPREHEND_API StopEventsDetectionJobResult() = default;
29
31
34 inline const Aws::String& GetJobId() const { return m_jobId; }
35 template <typename JobIdT = Aws::String>
36 void SetJobId(JobIdT&& value) {
37 m_jobIdHasBeenSet = true;
38 m_jobId = std::forward<JobIdT>(value);
39 }
40 template <typename JobIdT = Aws::String>
42 SetJobId(std::forward<JobIdT>(value));
43 return *this;
44 }
46
48
51 inline JobStatus GetJobStatus() const { return m_jobStatus; }
52 inline void SetJobStatus(JobStatus value) {
53 m_jobStatusHasBeenSet = true;
54 m_jobStatus = value;
55 }
57 SetJobStatus(value);
58 return *this;
59 }
61
63
64 inline const Aws::String& GetRequestId() const { return m_requestId; }
65 template <typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) {
67 m_requestIdHasBeenSet = true;
68 m_requestId = std::forward<RequestIdT>(value);
69 }
70 template <typename RequestIdT = Aws::String>
72 SetRequestId(std::forward<RequestIdT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_jobId;
78
79 JobStatus m_jobStatus{JobStatus::NOT_SET};
80
81 Aws::String m_requestId;
82 bool m_jobIdHasBeenSet = false;
83 bool m_jobStatusHasBeenSet = false;
84 bool m_requestIdHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace Comprehend
89} // namespace Aws
StopEventsDetectionJobResult & WithRequestId(RequestIdT &&value)
StopEventsDetectionJobResult & WithJobId(JobIdT &&value)
AWS_COMPREHEND_API StopEventsDetectionJobResult()=default
AWS_COMPREHEND_API StopEventsDetectionJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StopEventsDetectionJobResult & WithJobStatus(JobStatus value)
AWS_COMPREHEND_API StopEventsDetectionJobResult & operator=(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