AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartKeyPhrasesDetectionJobRequest.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/comprehend/model/VpcConfig.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/comprehend/model/Tag.h>
16#include <utility>
17#include <aws/core/utils/UUID.h>
18
19namespace Aws
20{
21namespace Comprehend
22{
23namespace Model
24{
25
29 {
30 public:
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "StartKeyPhrasesDetectionJob"; }
38
39 AWS_COMPREHEND_API Aws::String SerializePayload() const override;
40
42
43
45
48 inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
49 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
50 inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
51 inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
55
57
60 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
61 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
62 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
63 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
67
69
75 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
76 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
77 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
78 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
79 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
82 inline StartKeyPhrasesDetectionJobRequest& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
84
86
89 inline const Aws::String& GetJobName() const{ return m_jobName; }
90 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
91 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
92 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
93 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
94 inline StartKeyPhrasesDetectionJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
95 inline StartKeyPhrasesDetectionJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
96 inline StartKeyPhrasesDetectionJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
98
100
105 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
106 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
107 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
108 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
110 inline StartKeyPhrasesDetectionJobRequest& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
112
114
118 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
119 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
120 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
121 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
122 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
125 inline StartKeyPhrasesDetectionJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
127
129
139 inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
140 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
141 inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
142 inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
143 inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
145 inline StartKeyPhrasesDetectionJobRequest& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
146 inline StartKeyPhrasesDetectionJobRequest& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
148
150
157 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
158 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
159 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
160 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
161 inline StartKeyPhrasesDetectionJobRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
162 inline StartKeyPhrasesDetectionJobRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
164
166
172 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
173 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
174 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
175 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
176 inline StartKeyPhrasesDetectionJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
177 inline StartKeyPhrasesDetectionJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
178 inline StartKeyPhrasesDetectionJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
179 inline StartKeyPhrasesDetectionJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
181 private:
182
183 InputDataConfig m_inputDataConfig;
184 bool m_inputDataConfigHasBeenSet = false;
185
186 OutputDataConfig m_outputDataConfig;
187 bool m_outputDataConfigHasBeenSet = false;
188
189 Aws::String m_dataAccessRoleArn;
190 bool m_dataAccessRoleArnHasBeenSet = false;
191
192 Aws::String m_jobName;
193 bool m_jobNameHasBeenSet = false;
194
195 LanguageCode m_languageCode;
196 bool m_languageCodeHasBeenSet = false;
197
198 Aws::String m_clientRequestToken;
199 bool m_clientRequestTokenHasBeenSet = false;
200
201 Aws::String m_volumeKmsKeyId;
202 bool m_volumeKmsKeyIdHasBeenSet = false;
203
204 VpcConfig m_vpcConfig;
205 bool m_vpcConfigHasBeenSet = false;
206
207 Aws::Vector<Tag> m_tags;
208 bool m_tagsHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace Comprehend
213} // namespace Aws
StartKeyPhrasesDetectionJobRequest & WithVpcConfig(VpcConfig &&value)
StartKeyPhrasesDetectionJobRequest & WithTags(const Aws::Vector< Tag > &value)
StartKeyPhrasesDetectionJobRequest & WithDataAccessRoleArn(Aws::String &&value)
StartKeyPhrasesDetectionJobRequest & WithVolumeKmsKeyId(Aws::String &&value)
StartKeyPhrasesDetectionJobRequest & WithClientRequestToken(const Aws::String &value)
StartKeyPhrasesDetectionJobRequest & WithInputDataConfig(InputDataConfig &&value)
StartKeyPhrasesDetectionJobRequest & WithClientRequestToken(Aws::String &&value)
StartKeyPhrasesDetectionJobRequest & WithTags(Aws::Vector< Tag > &&value)
StartKeyPhrasesDetectionJobRequest & WithOutputDataConfig(OutputDataConfig &&value)
StartKeyPhrasesDetectionJobRequest & WithDataAccessRoleArn(const Aws::String &value)
StartKeyPhrasesDetectionJobRequest & WithJobName(Aws::String &&value)
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartKeyPhrasesDetectionJobRequest & WithOutputDataConfig(const OutputDataConfig &value)
StartKeyPhrasesDetectionJobRequest & WithLanguageCode(LanguageCode &&value)
StartKeyPhrasesDetectionJobRequest & WithJobName(const char *value)
StartKeyPhrasesDetectionJobRequest & WithDataAccessRoleArn(const char *value)
StartKeyPhrasesDetectionJobRequest & WithInputDataConfig(const InputDataConfig &value)
StartKeyPhrasesDetectionJobRequest & AddTags(const Tag &value)
StartKeyPhrasesDetectionJobRequest & WithClientRequestToken(const char *value)
StartKeyPhrasesDetectionJobRequest & WithVpcConfig(const VpcConfig &value)
StartKeyPhrasesDetectionJobRequest & WithLanguageCode(const LanguageCode &value)
AWS_COMPREHEND_API Aws::String SerializePayload() const override
StartKeyPhrasesDetectionJobRequest & WithJobName(const Aws::String &value)
StartKeyPhrasesDetectionJobRequest & WithVolumeKmsKeyId(const Aws::String &value)
StartKeyPhrasesDetectionJobRequest & WithVolumeKmsKeyId(const char *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