AWS SDK for C++  1.8.126
AWS SDK for C++
StartTopicsDetectionJobRequest.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 "StartTopicsDetectionJob"; }
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 StartTopicsDetectionJobRequest& WithInputDataConfig(const InputDataConfig& value) { SetInputDataConfig(value); return *this;}
65 
69  inline StartTopicsDetectionJobRequest& WithInputDataConfig(InputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;}
70 
71 
78  inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
79 
86  inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
87 
94  inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
95 
102  inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
103 
110  inline StartTopicsDetectionJobRequest& WithOutputDataConfig(const OutputDataConfig& value) { SetOutputDataConfig(value); return *this;}
111 
118  inline StartTopicsDetectionJobRequest& WithOutputDataConfig(OutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;}
119 
120 
127  inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
128 
135  inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
136 
143  inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
144 
151  inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
152 
159  inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
160 
167  inline StartTopicsDetectionJobRequest& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;}
168 
175  inline StartTopicsDetectionJobRequest& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;}
176 
183  inline StartTopicsDetectionJobRequest& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
184 
185 
189  inline const Aws::String& GetJobName() const{ return m_jobName; }
190 
194  inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
195 
199  inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
200 
204  inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
205 
209  inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
210 
214  inline StartTopicsDetectionJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
215 
219  inline StartTopicsDetectionJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
220 
224  inline StartTopicsDetectionJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
225 
226 
230  inline int GetNumberOfTopics() const{ return m_numberOfTopics; }
231 
235  inline bool NumberOfTopicsHasBeenSet() const { return m_numberOfTopicsHasBeenSet; }
236 
240  inline void SetNumberOfTopics(int value) { m_numberOfTopicsHasBeenSet = true; m_numberOfTopics = value; }
241 
245  inline StartTopicsDetectionJobRequest& WithNumberOfTopics(int value) { SetNumberOfTopics(value); return *this;}
246 
247 
252  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
253 
258  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
259 
264  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
265 
270  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
271 
276  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
277 
282  inline StartTopicsDetectionJobRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
283 
288  inline StartTopicsDetectionJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
289 
294  inline StartTopicsDetectionJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
295 
296 
307  inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
308 
319  inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
320 
331  inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
332 
343  inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
344 
355  inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
356 
367  inline StartTopicsDetectionJobRequest& WithVolumeKmsKeyId(const Aws::String& value) { SetVolumeKmsKeyId(value); return *this;}
368 
379  inline StartTopicsDetectionJobRequest& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
380 
391  inline StartTopicsDetectionJobRequest& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
392 
393 
401  inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
402 
410  inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
411 
419  inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
420 
428  inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
429 
437  inline StartTopicsDetectionJobRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
438 
446  inline StartTopicsDetectionJobRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
447 
448  private:
449 
450  InputDataConfig m_inputDataConfig;
451  bool m_inputDataConfigHasBeenSet;
452 
453  OutputDataConfig m_outputDataConfig;
454  bool m_outputDataConfigHasBeenSet;
455 
456  Aws::String m_dataAccessRoleArn;
457  bool m_dataAccessRoleArnHasBeenSet;
458 
459  Aws::String m_jobName;
460  bool m_jobNameHasBeenSet;
461 
462  int m_numberOfTopics;
463  bool m_numberOfTopicsHasBeenSet;
464 
465  Aws::String m_clientRequestToken;
466  bool m_clientRequestTokenHasBeenSet;
467 
468  Aws::String m_volumeKmsKeyId;
469  bool m_volumeKmsKeyIdHasBeenSet;
470 
471  VpcConfig m_vpcConfig;
472  bool m_vpcConfigHasBeenSet;
473  };
474 
475 } // namespace Model
476 } // namespace Comprehend
477 } // namespace Aws
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::GetVolumeKmsKeyId
const Aws::String & GetVolumeKmsKeyId() const
Definition: StartTopicsDetectionJobRequest.h:307
Aws::Comprehend::ComprehendRequest
Definition: ComprehendRequest.h:17
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::GetDataAccessRoleArn
const Aws::String & GetDataAccessRoleArn() const
Definition: StartTopicsDetectionJobRequest.h:127
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::WithClientRequestToken
StartTopicsDetectionJobRequest & WithClientRequestToken(Aws::String &&value)
Definition: StartTopicsDetectionJobRequest.h:288
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::WithOutputDataConfig
StartTopicsDetectionJobRequest & WithOutputDataConfig(const OutputDataConfig &value)
Definition: StartTopicsDetectionJobRequest.h:110
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::SetDataAccessRoleArn
void SetDataAccessRoleArn(const Aws::String &value)
Definition: StartTopicsDetectionJobRequest.h:143
AWS_COMPREHEND_API
#define AWS_COMPREHEND_API
Definition: Comprehend_EXPORTS.h:28
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::SetVpcConfig
void SetVpcConfig(VpcConfig &&value)
Definition: StartTopicsDetectionJobRequest.h:428
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartTopicsDetectionJobRequest.h:34
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::SetJobName
void SetJobName(Aws::String &&value)
Definition: StartTopicsDetectionJobRequest.h:204
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::JobNameHasBeenSet
bool JobNameHasBeenSet() const
Definition: StartTopicsDetectionJobRequest.h:194
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::WithVpcConfig
StartTopicsDetectionJobRequest & WithVpcConfig(const VpcConfig &value)
Definition: StartTopicsDetectionJobRequest.h:437
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::SetVpcConfig
void SetVpcConfig(const VpcConfig &value)
Definition: StartTopicsDetectionJobRequest.h:419
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::VolumeKmsKeyIdHasBeenSet
bool VolumeKmsKeyIdHasBeenSet() const
Definition: StartTopicsDetectionJobRequest.h:319
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::NumberOfTopicsHasBeenSet
bool NumberOfTopicsHasBeenSet() const
Definition: StartTopicsDetectionJobRequest.h:235
Aws::Comprehend::Model::OutputDataConfig
Definition: OutputDataConfig.h:33
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::SetJobName
void SetJobName(const Aws::String &value)
Definition: StartTopicsDetectionJobRequest.h:199
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: StartTopicsDetectionJobRequest.h:252
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::WithOutputDataConfig
StartTopicsDetectionJobRequest & WithOutputDataConfig(OutputDataConfig &&value)
Definition: StartTopicsDetectionJobRequest.h:118
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::SetNumberOfTopics
void SetNumberOfTopics(int value)
Definition: StartTopicsDetectionJobRequest.h:240
Aws::Comprehend::Model::InputDataConfig
Definition: InputDataConfig.h:33
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::DataAccessRoleArnHasBeenSet
bool DataAccessRoleArnHasBeenSet() const
Definition: StartTopicsDetectionJobRequest.h:135
Aws::Comprehend::Model::StartTopicsDetectionJobRequest
Definition: StartTopicsDetectionJobRequest.h:26
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::SetVolumeKmsKeyId
void SetVolumeKmsKeyId(Aws::String &&value)
Definition: StartTopicsDetectionJobRequest.h:343
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::WithNumberOfTopics
StartTopicsDetectionJobRequest & WithNumberOfTopics(int value)
Definition: StartTopicsDetectionJobRequest.h:245
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::SetInputDataConfig
void SetInputDataConfig(const InputDataConfig &value)
Definition: StartTopicsDetectionJobRequest.h:54
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::WithJobName
StartTopicsDetectionJobRequest & WithJobName(Aws::String &&value)
Definition: StartTopicsDetectionJobRequest.h:219
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::WithInputDataConfig
StartTopicsDetectionJobRequest & WithInputDataConfig(InputDataConfig &&value)
Definition: StartTopicsDetectionJobRequest.h:69
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::WithDataAccessRoleArn
StartTopicsDetectionJobRequest & WithDataAccessRoleArn(Aws::String &&value)
Definition: StartTopicsDetectionJobRequest.h:175
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::StartTopicsDetectionJobRequest
StartTopicsDetectionJobRequest()
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::WithVolumeKmsKeyId
StartTopicsDetectionJobRequest & WithVolumeKmsKeyId(const Aws::String &value)
Definition: StartTopicsDetectionJobRequest.h:367
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::WithVolumeKmsKeyId
StartTopicsDetectionJobRequest & WithVolumeKmsKeyId(const char *value)
Definition: StartTopicsDetectionJobRequest.h:391
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::SetOutputDataConfig
void SetOutputDataConfig(OutputDataConfig &&value)
Definition: StartTopicsDetectionJobRequest.h:102
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::SetVolumeKmsKeyId
void SetVolumeKmsKeyId(const char *value)
Definition: StartTopicsDetectionJobRequest.h:355
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: StartTopicsDetectionJobRequest.h:264
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::InputDataConfigHasBeenSet
bool InputDataConfigHasBeenSet() const
Definition: StartTopicsDetectionJobRequest.h:49
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::SetInputDataConfig
void SetInputDataConfig(InputDataConfig &&value)
Definition: StartTopicsDetectionJobRequest.h:59
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: StartTopicsDetectionJobRequest.h:276
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::WithInputDataConfig
StartTopicsDetectionJobRequest & WithInputDataConfig(const InputDataConfig &value)
Definition: StartTopicsDetectionJobRequest.h:64
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::WithClientRequestToken
StartTopicsDetectionJobRequest & WithClientRequestToken(const char *value)
Definition: StartTopicsDetectionJobRequest.h:294
InputDataConfig.h
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: StartTopicsDetectionJobRequest.h:258
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: StartTopicsDetectionJobRequest.h:270
AWSString.h
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::SetOutputDataConfig
void SetOutputDataConfig(const OutputDataConfig &value)
Definition: StartTopicsDetectionJobRequest.h:94
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::WithJobName
StartTopicsDetectionJobRequest & WithJobName(const char *value)
Definition: StartTopicsDetectionJobRequest.h:224
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::WithJobName
StartTopicsDetectionJobRequest & WithJobName(const Aws::String &value)
Definition: StartTopicsDetectionJobRequest.h:214
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::OutputDataConfigHasBeenSet
bool OutputDataConfigHasBeenSet() const
Definition: StartTopicsDetectionJobRequest.h:86
Aws::Comprehend::Model::VpcConfig
Definition: VpcConfig.h:36
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::VpcConfigHasBeenSet
bool VpcConfigHasBeenSet() const
Definition: StartTopicsDetectionJobRequest.h:410
OutputDataConfig.h
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::WithDataAccessRoleArn
StartTopicsDetectionJobRequest & WithDataAccessRoleArn(const char *value)
Definition: StartTopicsDetectionJobRequest.h:183
ComprehendRequest.h
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::SetJobName
void SetJobName(const char *value)
Definition: StartTopicsDetectionJobRequest.h:209
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::GetOutputDataConfig
const OutputDataConfig & GetOutputDataConfig() const
Definition: StartTopicsDetectionJobRequest.h:78
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::GetJobName
const Aws::String & GetJobName() const
Definition: StartTopicsDetectionJobRequest.h:189
Comprehend_EXPORTS.h
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::SetDataAccessRoleArn
void SetDataAccessRoleArn(const char *value)
Definition: StartTopicsDetectionJobRequest.h:159
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::WithVpcConfig
StartTopicsDetectionJobRequest & WithVpcConfig(VpcConfig &&value)
Definition: StartTopicsDetectionJobRequest.h:446
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::GetInputDataConfig
const InputDataConfig & GetInputDataConfig() const
Definition: StartTopicsDetectionJobRequest.h:44
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::WithDataAccessRoleArn
StartTopicsDetectionJobRequest & WithDataAccessRoleArn(const Aws::String &value)
Definition: StartTopicsDetectionJobRequest.h:167
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::WithClientRequestToken
StartTopicsDetectionJobRequest & WithClientRequestToken(const Aws::String &value)
Definition: StartTopicsDetectionJobRequest.h:282
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::SetVolumeKmsKeyId
void SetVolumeKmsKeyId(const Aws::String &value)
Definition: StartTopicsDetectionJobRequest.h:331
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::GetNumberOfTopics
int GetNumberOfTopics() const
Definition: StartTopicsDetectionJobRequest.h:230
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::GetVpcConfig
const VpcConfig & GetVpcConfig() const
Definition: StartTopicsDetectionJobRequest.h:401
UUID.h
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::WithVolumeKmsKeyId
StartTopicsDetectionJobRequest & WithVolumeKmsKeyId(Aws::String &&value)
Definition: StartTopicsDetectionJobRequest.h:379
VpcConfig.h
Aws::Comprehend::Model::StartTopicsDetectionJobRequest::SetDataAccessRoleArn
void SetDataAccessRoleArn(Aws::String &&value)
Definition: StartTopicsDetectionJobRequest.h:151