AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StartTargetedSentimentDetectionJobResult.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 StartTargetedSentimentDetectionJobResult() = default;
34
35
37
42 inline const Aws::String& GetJobId() const { return m_jobId; }
43 template<typename JobIdT = Aws::String>
44 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
45 template<typename JobIdT = Aws::String>
46 StartTargetedSentimentDetectionJobResult& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
48
50
60 inline const Aws::String& GetJobArn() const { return m_jobArn; }
61 template<typename JobArnT = Aws::String>
62 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
63 template<typename JobArnT = Aws::String>
64 StartTargetedSentimentDetectionJobResult& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
66
68
76 inline JobStatus GetJobStatus() const { return m_jobStatus; }
77 inline void SetJobStatus(JobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template<typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
86 template<typename RequestIdT = Aws::String>
87 StartTargetedSentimentDetectionJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
89 private:
90
91 Aws::String m_jobId;
92 bool m_jobIdHasBeenSet = false;
93
94 Aws::String m_jobArn;
95 bool m_jobArnHasBeenSet = false;
96
97 JobStatus m_jobStatus{JobStatus::NOT_SET};
98 bool m_jobStatusHasBeenSet = false;
99
100 Aws::String m_requestId;
101 bool m_requestIdHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Comprehend
106} // namespace Aws
AWS_COMPREHEND_API StartTargetedSentimentDetectionJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartTargetedSentimentDetectionJobResult & WithJobArn(JobArnT &&value)
StartTargetedSentimentDetectionJobResult & WithJobStatus(JobStatus value)
AWS_COMPREHEND_API StartTargetedSentimentDetectionJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartTargetedSentimentDetectionJobResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue