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"; }
48 template<
typename InputDataConfigT = InputDataConfig>
49 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet =
true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
50 template<
typename InputDataConfigT = InputDataConfig>
60 template<
typename OutputDataConfigT = OutputDataConfig>
61 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet =
true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
62 template<
typename OutputDataConfigT = OutputDataConfig>
75 template<
typename DataAccessRoleArnT = Aws::String>
76 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) { m_dataAccessRoleArnHasBeenSet =
true; m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value); }
77 template<
typename DataAccessRoleArnT = Aws::String>
87 template<
typename JobNameT = Aws::String>
88 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet =
true; m_jobName = std::forward<JobNameT>(value); }
89 template<
typename JobNameT = Aws::String>
111 template<
typename ClientRequestTokenT = Aws::String>
112 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
113 template<
typename ClientRequestTokenT = Aws::String>
129 template<
typename VolumeKmsKeyIdT = Aws::String>
130 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { m_volumeKmsKeyIdHasBeenSet =
true; m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value); }
131 template<
typename VolumeKmsKeyIdT = Aws::String>
139 template<
typename VpcConfigT = VpcConfig>
140 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
141 template<
typename VpcConfigT = VpcConfig>
154 template<
typename TagsT = Aws::Vector<Tag>>
155 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
156 template<
typename TagsT = Aws::Vector<Tag>>
158 template<
typename TagsT = Tag>
164 bool m_inputDataConfigHasBeenSet =
false;
167 bool m_outputDataConfigHasBeenSet =
false;
170 bool m_dataAccessRoleArnHasBeenSet =
false;
173 bool m_jobNameHasBeenSet =
false;
176 bool m_languageCodeHasBeenSet =
false;
179 bool m_clientRequestTokenHasBeenSet =
true;
182 bool m_volumeKmsKeyIdHasBeenSet =
false;
184 VpcConfig m_vpcConfig;
185 bool m_vpcConfigHasBeenSet =
false;
188 bool m_tagsHasBeenSet =
false;
StartTargetedSentimentDetectionJobRequest & WithVpcConfig(VpcConfigT &&value)
void SetJobName(JobNameT &&value)
StartTargetedSentimentDetectionJobRequest & WithLanguageCode(LanguageCode value)
bool DataAccessRoleArnHasBeenSet() const
bool ClientRequestTokenHasBeenSet() const
const Aws::String & GetVolumeKmsKeyId() const
const Aws::String & GetJobName() const
StartTargetedSentimentDetectionJobRequest & WithJobName(JobNameT &&value)
virtual const char * GetServiceRequestName() const override
void SetTags(TagsT &&value)
StartTargetedSentimentDetectionJobRequest & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
bool VolumeKmsKeyIdHasBeenSet() const
void SetClientRequestToken(ClientRequestTokenT &&value)
StartTargetedSentimentDetectionJobRequest & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
void SetVpcConfig(VpcConfigT &&value)
AWS_COMPREHEND_API Aws::String SerializePayload() const override
bool LanguageCodeHasBeenSet() const
bool JobNameHasBeenSet() const
bool VpcConfigHasBeenSet() const
void SetDataAccessRoleArn(DataAccessRoleArnT &&value)
StartTargetedSentimentDetectionJobRequest & WithInputDataConfig(InputDataConfigT &&value)
void SetVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
StartTargetedSentimentDetectionJobRequest & WithTags(TagsT &&value)
const VpcConfig & GetVpcConfig() const
bool InputDataConfigHasBeenSet() const
const InputDataConfig & GetInputDataConfig() const
const Aws::Vector< Tag > & GetTags() const
StartTargetedSentimentDetectionJobRequest & WithOutputDataConfig(OutputDataConfigT &&value)
bool TagsHasBeenSet() const
bool OutputDataConfigHasBeenSet() const
void SetInputDataConfig(InputDataConfigT &&value)
void SetOutputDataConfig(OutputDataConfigT &&value)
void SetLanguageCode(LanguageCode value)
const Aws::String & GetClientRequestToken() const
AWS_COMPREHEND_API StartTargetedSentimentDetectionJobRequest()=default
const Aws::String & GetDataAccessRoleArn() const
StartTargetedSentimentDetectionJobRequest & AddTags(TagsT &&value)
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
LanguageCode GetLanguageCode() const
const OutputDataConfig & GetOutputDataConfig() const
StartTargetedSentimentDetectionJobRequest & WithClientRequestToken(ClientRequestTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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