AWS SDK for C++  1.8.126
AWS SDK for C++
StartDominantLanguageDetectionJobRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 #include <aws/core/utils/UUID.h>
15 
16 namespace Aws
17 {
18 namespace Comprehend
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "StartDominantLanguageDetectionJob"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
44  inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
45 
49  inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
50 
54  inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
55 
59  inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
60 
64  inline StartDominantLanguageDetectionJobRequest& WithInputDataConfig(const InputDataConfig& value) { SetInputDataConfig(value); return *this;}
65 
69  inline StartDominantLanguageDetectionJobRequest& WithInputDataConfig(InputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;}
70 
71 
75  inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
76 
80  inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
81 
85  inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
86 
90  inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
91 
95  inline StartDominantLanguageDetectionJobRequest& WithOutputDataConfig(const OutputDataConfig& value) { SetOutputDataConfig(value); return *this;}
96 
100  inline StartDominantLanguageDetectionJobRequest& WithOutputDataConfig(OutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;}
101 
102 
109  inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
110 
117  inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
118 
125  inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
126 
133  inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
134 
141  inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
142 
149  inline StartDominantLanguageDetectionJobRequest& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;}
150 
157  inline StartDominantLanguageDetectionJobRequest& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;}
158 
165  inline StartDominantLanguageDetectionJobRequest& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
166 
167 
171  inline const Aws::String& GetJobName() const{ return m_jobName; }
172 
176  inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
177 
181  inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
182 
186  inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
187 
191  inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
192 
196  inline StartDominantLanguageDetectionJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
197 
201  inline StartDominantLanguageDetectionJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
202 
206  inline StartDominantLanguageDetectionJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
207 
208 
213  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
214 
219  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
220 
225  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
226 
231  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
232 
237  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
238 
243  inline StartDominantLanguageDetectionJobRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
244 
249  inline StartDominantLanguageDetectionJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
250 
255  inline StartDominantLanguageDetectionJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
256 
257 
268  inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
269 
280  inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
281 
292  inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
293 
304  inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
305 
316  inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
317 
328  inline StartDominantLanguageDetectionJobRequest& WithVolumeKmsKeyId(const Aws::String& value) { SetVolumeKmsKeyId(value); return *this;}
329 
340  inline StartDominantLanguageDetectionJobRequest& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
341 
352  inline StartDominantLanguageDetectionJobRequest& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
353 
354 
362  inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
363 
371  inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
372 
380  inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
381 
389  inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
390 
398  inline StartDominantLanguageDetectionJobRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
399 
407  inline StartDominantLanguageDetectionJobRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
408 
409  private:
410 
411  InputDataConfig m_inputDataConfig;
412  bool m_inputDataConfigHasBeenSet;
413 
414  OutputDataConfig m_outputDataConfig;
415  bool m_outputDataConfigHasBeenSet;
416 
417  Aws::String m_dataAccessRoleArn;
418  bool m_dataAccessRoleArnHasBeenSet;
419 
420  Aws::String m_jobName;
421  bool m_jobNameHasBeenSet;
422 
423  Aws::String m_clientRequestToken;
424  bool m_clientRequestTokenHasBeenSet;
425 
426  Aws::String m_volumeKmsKeyId;
427  bool m_volumeKmsKeyIdHasBeenSet;
428 
429  VpcConfig m_vpcConfig;
430  bool m_vpcConfigHasBeenSet;
431  };
432 
433 } // namespace Model
434 } // namespace Comprehend
435 } // namespace Aws
Aws::Comprehend::ComprehendRequest
Definition: ComprehendRequest.h:17
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::GetJobName
const Aws::String & GetJobName() const
Definition: StartDominantLanguageDetectionJobRequest.h:171
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: StartDominantLanguageDetectionJobRequest.h:225
AWS_COMPREHEND_API
#define AWS_COMPREHEND_API
Definition: Comprehend_EXPORTS.h:28
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::SetDataAccessRoleArn
void SetDataAccessRoleArn(Aws::String &&value)
Definition: StartDominantLanguageDetectionJobRequest.h:133
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest
Definition: StartDominantLanguageDetectionJobRequest.h:26
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::WithClientRequestToken
StartDominantLanguageDetectionJobRequest & WithClientRequestToken(Aws::String &&value)
Definition: StartDominantLanguageDetectionJobRequest.h:249
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::OutputDataConfigHasBeenSet
bool OutputDataConfigHasBeenSet() const
Definition: StartDominantLanguageDetectionJobRequest.h:80
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::WithOutputDataConfig
StartDominantLanguageDetectionJobRequest & WithOutputDataConfig(OutputDataConfig &&value)
Definition: StartDominantLanguageDetectionJobRequest.h:100
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::GetOutputDataConfig
const OutputDataConfig & GetOutputDataConfig() const
Definition: StartDominantLanguageDetectionJobRequest.h:75
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: StartDominantLanguageDetectionJobRequest.h:231
Aws::Comprehend::Model::OutputDataConfig
Definition: OutputDataConfig.h:33
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::WithVpcConfig
StartDominantLanguageDetectionJobRequest & WithVpcConfig(VpcConfig &&value)
Definition: StartDominantLanguageDetectionJobRequest.h:407
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::SetInputDataConfig
void SetInputDataConfig(InputDataConfig &&value)
Definition: StartDominantLanguageDetectionJobRequest.h:59
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::WithVolumeKmsKeyId
StartDominantLanguageDetectionJobRequest & WithVolumeKmsKeyId(Aws::String &&value)
Definition: StartDominantLanguageDetectionJobRequest.h:340
Aws::Comprehend::Model::InputDataConfig
Definition: InputDataConfig.h:33
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::WithDataAccessRoleArn
StartDominantLanguageDetectionJobRequest & WithDataAccessRoleArn(Aws::String &&value)
Definition: StartDominantLanguageDetectionJobRequest.h:157
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::WithDataAccessRoleArn
StartDominantLanguageDetectionJobRequest & WithDataAccessRoleArn(const Aws::String &value)
Definition: StartDominantLanguageDetectionJobRequest.h:149
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::SetInputDataConfig
void SetInputDataConfig(const InputDataConfig &value)
Definition: StartDominantLanguageDetectionJobRequest.h:54
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::WithClientRequestToken
StartDominantLanguageDetectionJobRequest & WithClientRequestToken(const Aws::String &value)
Definition: StartDominantLanguageDetectionJobRequest.h:243
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::SetVolumeKmsKeyId
void SetVolumeKmsKeyId(const Aws::String &value)
Definition: StartDominantLanguageDetectionJobRequest.h:292
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::GetInputDataConfig
const InputDataConfig & GetInputDataConfig() const
Definition: StartDominantLanguageDetectionJobRequest.h:44
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::SetDataAccessRoleArn
void SetDataAccessRoleArn(const Aws::String &value)
Definition: StartDominantLanguageDetectionJobRequest.h:125
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: StartDominantLanguageDetectionJobRequest.h:219
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::SetDataAccessRoleArn
void SetDataAccessRoleArn(const char *value)
Definition: StartDominantLanguageDetectionJobRequest.h:141
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::WithInputDataConfig
StartDominantLanguageDetectionJobRequest & WithInputDataConfig(InputDataConfig &&value)
Definition: StartDominantLanguageDetectionJobRequest.h:69
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::GetDataAccessRoleArn
const Aws::String & GetDataAccessRoleArn() const
Definition: StartDominantLanguageDetectionJobRequest.h:109
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::WithVpcConfig
StartDominantLanguageDetectionJobRequest & WithVpcConfig(const VpcConfig &value)
Definition: StartDominantLanguageDetectionJobRequest.h:398
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::WithInputDataConfig
StartDominantLanguageDetectionJobRequest & WithInputDataConfig(const InputDataConfig &value)
Definition: StartDominantLanguageDetectionJobRequest.h:64
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::SetVolumeKmsKeyId
void SetVolumeKmsKeyId(Aws::String &&value)
Definition: StartDominantLanguageDetectionJobRequest.h:304
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::SetVpcConfig
void SetVpcConfig(VpcConfig &&value)
Definition: StartDominantLanguageDetectionJobRequest.h:389
InputDataConfig.h
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::WithJobName
StartDominantLanguageDetectionJobRequest & WithJobName(const char *value)
Definition: StartDominantLanguageDetectionJobRequest.h:206
AWSString.h
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::StartDominantLanguageDetectionJobRequest
StartDominantLanguageDetectionJobRequest()
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::WithOutputDataConfig
StartDominantLanguageDetectionJobRequest & WithOutputDataConfig(const OutputDataConfig &value)
Definition: StartDominantLanguageDetectionJobRequest.h:95
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::GetVpcConfig
const VpcConfig & GetVpcConfig() const
Definition: StartDominantLanguageDetectionJobRequest.h:362
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::WithVolumeKmsKeyId
StartDominantLanguageDetectionJobRequest & WithVolumeKmsKeyId(const char *value)
Definition: StartDominantLanguageDetectionJobRequest.h:352
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::SetJobName
void SetJobName(Aws::String &&value)
Definition: StartDominantLanguageDetectionJobRequest.h:186
Aws::Comprehend::Model::VpcConfig
Definition: VpcConfig.h:36
OutputDataConfig.h
ComprehendRequest.h
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::JobNameHasBeenSet
bool JobNameHasBeenSet() const
Definition: StartDominantLanguageDetectionJobRequest.h:176
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::WithJobName
StartDominantLanguageDetectionJobRequest & WithJobName(const Aws::String &value)
Definition: StartDominantLanguageDetectionJobRequest.h:196
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::GetVolumeKmsKeyId
const Aws::String & GetVolumeKmsKeyId() const
Definition: StartDominantLanguageDetectionJobRequest.h:268
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::SetJobName
void SetJobName(const Aws::String &value)
Definition: StartDominantLanguageDetectionJobRequest.h:181
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::InputDataConfigHasBeenSet
bool InputDataConfigHasBeenSet() const
Definition: StartDominantLanguageDetectionJobRequest.h:49
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::VolumeKmsKeyIdHasBeenSet
bool VolumeKmsKeyIdHasBeenSet() const
Definition: StartDominantLanguageDetectionJobRequest.h:280
Comprehend_EXPORTS.h
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::SetOutputDataConfig
void SetOutputDataConfig(const OutputDataConfig &value)
Definition: StartDominantLanguageDetectionJobRequest.h:85
Aws
Definition: AccessManagementClient.h:15
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::SetVolumeKmsKeyId
void SetVolumeKmsKeyId(const char *value)
Definition: StartDominantLanguageDetectionJobRequest.h:316
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::WithVolumeKmsKeyId
StartDominantLanguageDetectionJobRequest & WithVolumeKmsKeyId(const Aws::String &value)
Definition: StartDominantLanguageDetectionJobRequest.h:328
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::SetJobName
void SetJobName(const char *value)
Definition: StartDominantLanguageDetectionJobRequest.h:191
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::SetVpcConfig
void SetVpcConfig(const VpcConfig &value)
Definition: StartDominantLanguageDetectionJobRequest.h:380
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::VpcConfigHasBeenSet
bool VpcConfigHasBeenSet() const
Definition: StartDominantLanguageDetectionJobRequest.h:371
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::WithDataAccessRoleArn
StartDominantLanguageDetectionJobRequest & WithDataAccessRoleArn(const char *value)
Definition: StartDominantLanguageDetectionJobRequest.h:165
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::SetOutputDataConfig
void SetOutputDataConfig(OutputDataConfig &&value)
Definition: StartDominantLanguageDetectionJobRequest.h:90
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::WithClientRequestToken
StartDominantLanguageDetectionJobRequest & WithClientRequestToken(const char *value)
Definition: StartDominantLanguageDetectionJobRequest.h:255
UUID.h
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartDominantLanguageDetectionJobRequest.h:34
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: StartDominantLanguageDetectionJobRequest.h:237
VpcConfig.h
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::DataAccessRoleArnHasBeenSet
bool DataAccessRoleArnHasBeenSet() const
Definition: StartDominantLanguageDetectionJobRequest.h:117
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::WithJobName
StartDominantLanguageDetectionJobRequest & WithJobName(Aws::String &&value)
Definition: StartDominantLanguageDetectionJobRequest.h:201
Aws::Comprehend::Model::StartDominantLanguageDetectionJobRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: StartDominantLanguageDetectionJobRequest.h:213