AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartEventsDetectionJobRequest.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/ComprehendRequest.h>
9#include <aws/comprehend/model/InputDataConfig.h>
10#include <aws/comprehend/model/OutputDataConfig.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/comprehend/model/LanguageCode.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/comprehend/model/Tag.h>
15#include <utility>
16#include <aws/core/utils/UUID.h>
17
18namespace Aws
19{
20namespace Comprehend
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_COMPREHEND_API StartEventsDetectionJobRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "StartEventsDetectionJob"; }
37
38 AWS_COMPREHEND_API Aws::String SerializePayload() const override;
39
41
42
44
47 inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
48 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
49 inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
50 inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
52 inline StartEventsDetectionJobRequest& WithInputDataConfig(InputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;}
54
56
59 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
60 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
61 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
62 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
66
68
72 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
73 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
74 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
75 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
76 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
78 inline StartEventsDetectionJobRequest& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;}
79 inline StartEventsDetectionJobRequest& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(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 StartEventsDetectionJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
92 inline StartEventsDetectionJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
93 inline StartEventsDetectionJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
95
97
100 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
101 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
102 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
103 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
105 inline StartEventsDetectionJobRequest& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
107
109
113 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
114 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
115 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
116 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
117 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
120 inline StartEventsDetectionJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
122
124
127 inline const Aws::Vector<Aws::String>& GetTargetEventTypes() const{ return m_targetEventTypes; }
128 inline bool TargetEventTypesHasBeenSet() const { return m_targetEventTypesHasBeenSet; }
129 inline void SetTargetEventTypes(const Aws::Vector<Aws::String>& value) { m_targetEventTypesHasBeenSet = true; m_targetEventTypes = value; }
130 inline void SetTargetEventTypes(Aws::Vector<Aws::String>&& value) { m_targetEventTypesHasBeenSet = true; m_targetEventTypes = std::move(value); }
133 inline StartEventsDetectionJobRequest& AddTargetEventTypes(const Aws::String& value) { m_targetEventTypesHasBeenSet = true; m_targetEventTypes.push_back(value); return *this; }
134 inline StartEventsDetectionJobRequest& AddTargetEventTypes(Aws::String&& value) { m_targetEventTypesHasBeenSet = true; m_targetEventTypes.push_back(std::move(value)); return *this; }
135 inline StartEventsDetectionJobRequest& AddTargetEventTypes(const char* value) { m_targetEventTypesHasBeenSet = true; m_targetEventTypes.push_back(value); return *this; }
137
139
145 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
146 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
147 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
148 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
149 inline StartEventsDetectionJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
150 inline StartEventsDetectionJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
151 inline StartEventsDetectionJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
152 inline StartEventsDetectionJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
154 private:
155
156 InputDataConfig m_inputDataConfig;
157 bool m_inputDataConfigHasBeenSet = false;
158
159 OutputDataConfig m_outputDataConfig;
160 bool m_outputDataConfigHasBeenSet = false;
161
162 Aws::String m_dataAccessRoleArn;
163 bool m_dataAccessRoleArnHasBeenSet = false;
164
165 Aws::String m_jobName;
166 bool m_jobNameHasBeenSet = false;
167
168 LanguageCode m_languageCode;
169 bool m_languageCodeHasBeenSet = false;
170
171 Aws::String m_clientRequestToken;
172 bool m_clientRequestTokenHasBeenSet = false;
173
174 Aws::Vector<Aws::String> m_targetEventTypes;
175 bool m_targetEventTypesHasBeenSet = false;
176
177 Aws::Vector<Tag> m_tags;
178 bool m_tagsHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace Comprehend
183} // namespace Aws
StartEventsDetectionJobRequest & AddTags(const Tag &value)
StartEventsDetectionJobRequest & WithJobName(const char *value)
StartEventsDetectionJobRequest & AddTargetEventTypes(const Aws::String &value)
AWS_COMPREHEND_API Aws::String SerializePayload() const override
StartEventsDetectionJobRequest & WithJobName(const Aws::String &value)
StartEventsDetectionJobRequest & WithClientRequestToken(const Aws::String &value)
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartEventsDetectionJobRequest & WithTags(const Aws::Vector< Tag > &value)
StartEventsDetectionJobRequest & WithJobName(Aws::String &&value)
StartEventsDetectionJobRequest & WithDataAccessRoleArn(Aws::String &&value)
StartEventsDetectionJobRequest & WithOutputDataConfig(const OutputDataConfig &value)
StartEventsDetectionJobRequest & WithDataAccessRoleArn(const char *value)
StartEventsDetectionJobRequest & WithClientRequestToken(const char *value)
StartEventsDetectionJobRequest & WithInputDataConfig(const InputDataConfig &value)
void SetTargetEventTypes(const Aws::Vector< Aws::String > &value)
StartEventsDetectionJobRequest & WithOutputDataConfig(OutputDataConfig &&value)
StartEventsDetectionJobRequest & WithDataAccessRoleArn(const Aws::String &value)
StartEventsDetectionJobRequest & AddTargetEventTypes(const char *value)
StartEventsDetectionJobRequest & WithLanguageCode(const LanguageCode &value)
StartEventsDetectionJobRequest & WithInputDataConfig(InputDataConfig &&value)
StartEventsDetectionJobRequest & WithTags(Aws::Vector< Tag > &&value)
StartEventsDetectionJobRequest & WithTargetEventTypes(Aws::Vector< Aws::String > &&value)
StartEventsDetectionJobRequest & WithClientRequestToken(Aws::String &&value)
StartEventsDetectionJobRequest & WithLanguageCode(LanguageCode &&value)
StartEventsDetectionJobRequest & WithTargetEventTypes(const Aws::Vector< Aws::String > &value)
StartEventsDetectionJobRequest & AddTargetEventTypes(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector