AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventsDetectionJobProperties.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 <aws/core/utils/DateTime.h>
11#include <aws/comprehend/model/InputDataConfig.h>
12#include <aws/comprehend/model/OutputDataConfig.h>
13#include <aws/comprehend/model/LanguageCode.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Comprehend
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_COMPREHEND_API EventsDetectionJobProperties();
44 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetJobId() const{ return m_jobId; }
52 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
53 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
54 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
55 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
56 inline EventsDetectionJobProperties& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
57 inline EventsDetectionJobProperties& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
58 inline EventsDetectionJobProperties& WithJobId(const char* value) { SetJobId(value); return *this;}
60
62
72 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
73 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
74 inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; }
75 inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); }
76 inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); }
77 inline EventsDetectionJobProperties& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
78 inline EventsDetectionJobProperties& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
79 inline EventsDetectionJobProperties& WithJobArn(const char* value) { SetJobArn(value); return *this;}
81
83
86 inline const Aws::String& GetJobName() const{ return m_jobName; }
87 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
88 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
89 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
90 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
91 inline EventsDetectionJobProperties& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
92 inline EventsDetectionJobProperties& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
93 inline EventsDetectionJobProperties& WithJobName(const char* value) { SetJobName(value); return *this;}
95
97
100 inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
101 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
102 inline void SetJobStatus(const JobStatus& value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
103 inline void SetJobStatus(JobStatus&& value) { m_jobStatusHasBeenSet = true; m_jobStatus = std::move(value); }
104 inline EventsDetectionJobProperties& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
105 inline EventsDetectionJobProperties& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
107
109
112 inline const Aws::String& GetMessage() const{ return m_message; }
113 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
114 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
115 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
116 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
117 inline EventsDetectionJobProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
118 inline EventsDetectionJobProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
119 inline EventsDetectionJobProperties& WithMessage(const char* value) { SetMessage(value); return *this;}
121
123
126 inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; }
127 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
128 inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; }
129 inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); }
131 inline EventsDetectionJobProperties& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;}
133
135
138 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
139 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
140 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
141 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
142 inline EventsDetectionJobProperties& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
143 inline EventsDetectionJobProperties& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
145
147
151 inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
152 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
153 inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
154 inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
156 inline EventsDetectionJobProperties& WithInputDataConfig(InputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;}
158
160
164 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
165 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
166 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
167 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
171
173
176 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
177 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
178 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
179 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
180 inline EventsDetectionJobProperties& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
181 inline EventsDetectionJobProperties& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
183
185
189 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
190 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
191 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
192 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
193 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
195 inline EventsDetectionJobProperties& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;}
196 inline EventsDetectionJobProperties& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
198
200
203 inline const Aws::Vector<Aws::String>& GetTargetEventTypes() const{ return m_targetEventTypes; }
204 inline bool TargetEventTypesHasBeenSet() const { return m_targetEventTypesHasBeenSet; }
205 inline void SetTargetEventTypes(const Aws::Vector<Aws::String>& value) { m_targetEventTypesHasBeenSet = true; m_targetEventTypes = value; }
206 inline void SetTargetEventTypes(Aws::Vector<Aws::String>&& value) { m_targetEventTypesHasBeenSet = true; m_targetEventTypes = std::move(value); }
209 inline EventsDetectionJobProperties& AddTargetEventTypes(const Aws::String& value) { m_targetEventTypesHasBeenSet = true; m_targetEventTypes.push_back(value); return *this; }
210 inline EventsDetectionJobProperties& AddTargetEventTypes(Aws::String&& value) { m_targetEventTypesHasBeenSet = true; m_targetEventTypes.push_back(std::move(value)); return *this; }
211 inline EventsDetectionJobProperties& AddTargetEventTypes(const char* value) { m_targetEventTypesHasBeenSet = true; m_targetEventTypes.push_back(value); return *this; }
213 private:
214
215 Aws::String m_jobId;
216 bool m_jobIdHasBeenSet = false;
217
218 Aws::String m_jobArn;
219 bool m_jobArnHasBeenSet = false;
220
221 Aws::String m_jobName;
222 bool m_jobNameHasBeenSet = false;
223
224 JobStatus m_jobStatus;
225 bool m_jobStatusHasBeenSet = false;
226
227 Aws::String m_message;
228 bool m_messageHasBeenSet = false;
229
230 Aws::Utils::DateTime m_submitTime;
231 bool m_submitTimeHasBeenSet = false;
232
233 Aws::Utils::DateTime m_endTime;
234 bool m_endTimeHasBeenSet = false;
235
236 InputDataConfig m_inputDataConfig;
237 bool m_inputDataConfigHasBeenSet = false;
238
239 OutputDataConfig m_outputDataConfig;
240 bool m_outputDataConfigHasBeenSet = false;
241
242 LanguageCode m_languageCode;
243 bool m_languageCodeHasBeenSet = false;
244
245 Aws::String m_dataAccessRoleArn;
246 bool m_dataAccessRoleArnHasBeenSet = false;
247
248 Aws::Vector<Aws::String> m_targetEventTypes;
249 bool m_targetEventTypesHasBeenSet = false;
250 };
251
252} // namespace Model
253} // namespace Comprehend
254} // namespace Aws
EventsDetectionJobProperties & WithTargetEventTypes(Aws::Vector< Aws::String > &&value)
EventsDetectionJobProperties & WithLanguageCode(const LanguageCode &value)
EventsDetectionJobProperties & WithEndTime(Aws::Utils::DateTime &&value)
EventsDetectionJobProperties & WithJobName(const Aws::String &value)
EventsDetectionJobProperties & WithDataAccessRoleArn(const Aws::String &value)
EventsDetectionJobProperties & WithMessage(Aws::String &&value)
const Aws::Vector< Aws::String > & GetTargetEventTypes() const
EventsDetectionJobProperties & WithSubmitTime(Aws::Utils::DateTime &&value)
EventsDetectionJobProperties & WithMessage(const Aws::String &value)
AWS_COMPREHEND_API EventsDetectionJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
EventsDetectionJobProperties & WithJobName(Aws::String &&value)
AWS_COMPREHEND_API EventsDetectionJobProperties(Aws::Utils::Json::JsonView jsonValue)
EventsDetectionJobProperties & AddTargetEventTypes(Aws::String &&value)
EventsDetectionJobProperties & WithJobId(Aws::String &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
EventsDetectionJobProperties & WithDataAccessRoleArn(const char *value)
void SetTargetEventTypes(const Aws::Vector< Aws::String > &value)
EventsDetectionJobProperties & WithJobArn(const char *value)
EventsDetectionJobProperties & WithJobId(const Aws::String &value)
EventsDetectionJobProperties & WithEndTime(const Aws::Utils::DateTime &value)
EventsDetectionJobProperties & WithJobStatus(const JobStatus &value)
EventsDetectionJobProperties & WithMessage(const char *value)
EventsDetectionJobProperties & WithJobArn(const Aws::String &value)
EventsDetectionJobProperties & AddTargetEventTypes(const char *value)
EventsDetectionJobProperties & WithInputDataConfig(InputDataConfig &&value)
EventsDetectionJobProperties & WithInputDataConfig(const InputDataConfig &value)
EventsDetectionJobProperties & WithJobName(const char *value)
EventsDetectionJobProperties & WithSubmitTime(const Aws::Utils::DateTime &value)
EventsDetectionJobProperties & WithTargetEventTypes(const Aws::Vector< Aws::String > &value)
EventsDetectionJobProperties & WithDataAccessRoleArn(Aws::String &&value)
EventsDetectionJobProperties & AddTargetEventTypes(const Aws::String &value)
EventsDetectionJobProperties & WithOutputDataConfig(OutputDataConfig &&value)
EventsDetectionJobProperties & WithLanguageCode(LanguageCode &&value)
EventsDetectionJobProperties & WithJobStatus(JobStatus &&value)
EventsDetectionJobProperties & WithJobArn(Aws::String &&value)
EventsDetectionJobProperties & WithOutputDataConfig(const OutputDataConfig &value)
EventsDetectionJobProperties & WithJobId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue