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>
17#include <aws/core/utils/UUID.h>
37 inline virtual const char*
GetServiceRequestName()
const override {
return "StartTargetedSentimentDetectionJob"; }
77 inline void SetDataAccessRoleArn(
const char* value) { m_dataAccessRoleArnHasBeenSet =
true; m_dataAccessRoleArn.assign(value); }
91 inline void SetJobName(
const char* value) { m_jobNameHasBeenSet =
true; m_jobName.assign(value); }
119 inline void SetClientRequestToken(
const char* value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken.assign(value); }
139 inline void SetVolumeKmsKeyId(
const char* value) { m_volumeKmsKeyIdHasBeenSet =
true; m_volumeKmsKeyId.assign(value); }
174 bool m_inputDataConfigHasBeenSet =
false;
177 bool m_outputDataConfigHasBeenSet =
false;
180 bool m_dataAccessRoleArnHasBeenSet =
false;
183 bool m_jobNameHasBeenSet =
false;
186 bool m_languageCodeHasBeenSet =
false;
189 bool m_clientRequestTokenHasBeenSet =
false;
192 bool m_volumeKmsKeyIdHasBeenSet =
false;
195 bool m_vpcConfigHasBeenSet =
false;
198 bool m_tagsHasBeenSet =
false;
StartTargetedSentimentDetectionJobRequest & WithDataAccessRoleArn(const char *value)
StartTargetedSentimentDetectionJobRequest & WithJobName(const Aws::String &value)
void SetDataAccessRoleArn(Aws::String &&value)
StartTargetedSentimentDetectionJobRequest & WithVpcConfig(VpcConfig &&value)
StartTargetedSentimentDetectionJobRequest & WithLanguageCode(LanguageCode &&value)
StartTargetedSentimentDetectionJobRequest & WithOutputDataConfig(const OutputDataConfig &value)
StartTargetedSentimentDetectionJobRequest & WithInputDataConfig(const InputDataConfig &value)
StartTargetedSentimentDetectionJobRequest & WithOutputDataConfig(OutputDataConfig &&value)
StartTargetedSentimentDetectionJobRequest & WithDataAccessRoleArn(Aws::String &&value)
AWS_COMPREHEND_API StartTargetedSentimentDetectionJobRequest()
bool DataAccessRoleArnHasBeenSet() const
StartTargetedSentimentDetectionJobRequest & WithJobName(const char *value)
StartTargetedSentimentDetectionJobRequest & AddTags(Tag &&value)
bool ClientRequestTokenHasBeenSet() const
void SetDataAccessRoleArn(const char *value)
StartTargetedSentimentDetectionJobRequest & WithLanguageCode(const LanguageCode &value)
void SetClientRequestToken(const Aws::String &value)
StartTargetedSentimentDetectionJobRequest & WithDataAccessRoleArn(const Aws::String &value)
const Aws::String & GetVolumeKmsKeyId() const
const Aws::String & GetJobName() const
StartTargetedSentimentDetectionJobRequest & WithTags(Aws::Vector< Tag > &&value)
void SetClientRequestToken(Aws::String &&value)
StartTargetedSentimentDetectionJobRequest & AddTags(const Tag &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetDataAccessRoleArn(const Aws::String &value)
void SetVpcConfig(const VpcConfig &value)
virtual const char * GetServiceRequestName() const override
StartTargetedSentimentDetectionJobRequest & WithClientRequestToken(Aws::String &&value)
void SetJobName(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
bool VolumeKmsKeyIdHasBeenSet() const
StartTargetedSentimentDetectionJobRequest & WithClientRequestToken(const char *value)
StartTargetedSentimentDetectionJobRequest & WithVpcConfig(const VpcConfig &value)
const LanguageCode & GetLanguageCode() const
void SetVolumeKmsKeyId(const Aws::String &value)
StartTargetedSentimentDetectionJobRequest & WithInputDataConfig(InputDataConfig &&value)
void SetLanguageCode(const LanguageCode &value)
void SetClientRequestToken(const char *value)
AWS_COMPREHEND_API Aws::String SerializePayload() const override
void SetVpcConfig(VpcConfig &&value)
bool LanguageCodeHasBeenSet() const
bool JobNameHasBeenSet() const
bool VpcConfigHasBeenSet() const
StartTargetedSentimentDetectionJobRequest & WithClientRequestToken(const Aws::String &value)
void SetVolumeKmsKeyId(Aws::String &&value)
void SetJobName(const char *value)
const VpcConfig & GetVpcConfig() const
void SetLanguageCode(LanguageCode &&value)
bool InputDataConfigHasBeenSet() const
const InputDataConfig & GetInputDataConfig() const
const Aws::Vector< Tag > & GetTags() const
void SetJobName(const Aws::String &value)
bool TagsHasBeenSet() const
bool OutputDataConfigHasBeenSet() const
StartTargetedSentimentDetectionJobRequest & WithJobName(Aws::String &&value)
void SetInputDataConfig(InputDataConfig &&value)
const Aws::String & GetClientRequestToken() const
StartTargetedSentimentDetectionJobRequest & WithVolumeKmsKeyId(Aws::String &&value)
const Aws::String & GetDataAccessRoleArn() const
void SetVolumeKmsKeyId(const char *value)
StartTargetedSentimentDetectionJobRequest & WithTags(const Aws::Vector< Tag > &value)
void SetOutputDataConfig(const OutputDataConfig &value)
StartTargetedSentimentDetectionJobRequest & WithVolumeKmsKeyId(const Aws::String &value)
void SetOutputDataConfig(OutputDataConfig &&value)
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetInputDataConfig(const InputDataConfig &value)
const OutputDataConfig & GetOutputDataConfig() const
StartTargetedSentimentDetectionJobRequest & 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