AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartPiiEntitiesDetectionJobRequest.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/comprehend/model/PiiEntitiesDetectionMode.h>
12#include <aws/comprehend/model/RedactionConfig.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/comprehend/model/LanguageCode.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/comprehend/model/Tag.h>
17#include <utility>
18#include <aws/core/utils/UUID.h>
19
20namespace Aws
21{
22namespace Comprehend
23{
24namespace Model
25{
26
30 {
31 public:
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "StartPiiEntitiesDetectionJob"; }
39
40 AWS_COMPREHEND_API Aws::String SerializePayload() const override;
41
43
44
46
49 inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
50 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
51 inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
52 inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
56
58
62 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
63 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
64 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
65 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
69
71
75 inline const PiiEntitiesDetectionMode& GetMode() const{ return m_mode; }
76 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
77 inline void SetMode(const PiiEntitiesDetectionMode& value) { m_modeHasBeenSet = true; m_mode = value; }
78 inline void SetMode(PiiEntitiesDetectionMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
80 inline StartPiiEntitiesDetectionJobRequest& WithMode(PiiEntitiesDetectionMode&& value) { SetMode(std::move(value)); return *this;}
82
84
91 inline const RedactionConfig& GetRedactionConfig() const{ return m_redactionConfig; }
92 inline bool RedactionConfigHasBeenSet() const { return m_redactionConfigHasBeenSet; }
93 inline void SetRedactionConfig(const RedactionConfig& value) { m_redactionConfigHasBeenSet = true; m_redactionConfig = value; }
94 inline void SetRedactionConfig(RedactionConfig&& value) { m_redactionConfigHasBeenSet = true; m_redactionConfig = std::move(value); }
98
100
104 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
105 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
106 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
107 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
108 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
111 inline StartPiiEntitiesDetectionJobRequest& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
113
115
118 inline const Aws::String& GetJobName() const{ return m_jobName; }
119 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
120 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
121 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
122 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
123 inline StartPiiEntitiesDetectionJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
124 inline StartPiiEntitiesDetectionJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
125 inline StartPiiEntitiesDetectionJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
127
129
133 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
134 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
135 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
136 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
138 inline StartPiiEntitiesDetectionJobRequest& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
140
142
146 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
147 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
148 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
149 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
150 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
153 inline StartPiiEntitiesDetectionJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
155
157
163 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
164 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
165 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
166 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
167 inline StartPiiEntitiesDetectionJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
168 inline StartPiiEntitiesDetectionJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
169 inline StartPiiEntitiesDetectionJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
170 inline StartPiiEntitiesDetectionJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
172 private:
173
174 InputDataConfig m_inputDataConfig;
175 bool m_inputDataConfigHasBeenSet = false;
176
177 OutputDataConfig m_outputDataConfig;
178 bool m_outputDataConfigHasBeenSet = false;
179
181 bool m_modeHasBeenSet = false;
182
183 RedactionConfig m_redactionConfig;
184 bool m_redactionConfigHasBeenSet = false;
185
186 Aws::String m_dataAccessRoleArn;
187 bool m_dataAccessRoleArnHasBeenSet = false;
188
189 Aws::String m_jobName;
190 bool m_jobNameHasBeenSet = false;
191
192 LanguageCode m_languageCode;
193 bool m_languageCodeHasBeenSet = false;
194
195 Aws::String m_clientRequestToken;
196 bool m_clientRequestTokenHasBeenSet = false;
197
198 Aws::Vector<Tag> m_tags;
199 bool m_tagsHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace Comprehend
204} // namespace Aws
StartPiiEntitiesDetectionJobRequest & WithInputDataConfig(const InputDataConfig &value)
StartPiiEntitiesDetectionJobRequest & WithJobName(const char *value)
StartPiiEntitiesDetectionJobRequest & WithTags(Aws::Vector< Tag > &&value)
StartPiiEntitiesDetectionJobRequest & WithDataAccessRoleArn(const char *value)
StartPiiEntitiesDetectionJobRequest & WithMode(PiiEntitiesDetectionMode &&value)
StartPiiEntitiesDetectionJobRequest & WithJobName(const Aws::String &value)
StartPiiEntitiesDetectionJobRequest & WithOutputDataConfig(OutputDataConfig &&value)
AWS_COMPREHEND_API Aws::String SerializePayload() const override
StartPiiEntitiesDetectionJobRequest & WithTags(const Aws::Vector< Tag > &value)
StartPiiEntitiesDetectionJobRequest & WithJobName(Aws::String &&value)
StartPiiEntitiesDetectionJobRequest & AddTags(const Tag &value)
StartPiiEntitiesDetectionJobRequest & WithOutputDataConfig(const OutputDataConfig &value)
StartPiiEntitiesDetectionJobRequest & WithLanguageCode(LanguageCode &&value)
StartPiiEntitiesDetectionJobRequest & WithRedactionConfig(RedactionConfig &&value)
StartPiiEntitiesDetectionJobRequest & WithLanguageCode(const LanguageCode &value)
StartPiiEntitiesDetectionJobRequest & WithMode(const PiiEntitiesDetectionMode &value)
StartPiiEntitiesDetectionJobRequest & WithClientRequestToken(const char *value)
StartPiiEntitiesDetectionJobRequest & WithDataAccessRoleArn(Aws::String &&value)
StartPiiEntitiesDetectionJobRequest & WithClientRequestToken(Aws::String &&value)
StartPiiEntitiesDetectionJobRequest & WithInputDataConfig(InputDataConfig &&value)
StartPiiEntitiesDetectionJobRequest & WithClientRequestToken(const Aws::String &value)
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartPiiEntitiesDetectionJobRequest & WithRedactionConfig(const RedactionConfig &value)
StartPiiEntitiesDetectionJobRequest & WithDataAccessRoleArn(const 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