AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartTargetedSentimentDetectionJobRequest.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 "StartTargetedSentimentDetectionJob"; }
38
39 AWS_COMPREHEND_API Aws::String SerializePayload() const override;
40
42
43
45
46 inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
47 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
48 inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
49 inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
53
55
58 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
59 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
60 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
61 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
65
67
73 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
74 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
75 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
76 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
77 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
82
84
87 inline const Aws::String& GetJobName() const{ return m_jobName; }
88 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
89 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
90 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
91 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
92 inline StartTargetedSentimentDetectionJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
93 inline StartTargetedSentimentDetectionJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
94 inline StartTargetedSentimentDetectionJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
96
98
102 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
103 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
104 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
105 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
109
111
115 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
116 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
117 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
118 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
119 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
124
126
135 inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
136 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
137 inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
138 inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
139 inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
142 inline StartTargetedSentimentDetectionJobRequest& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
144
146
147 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
148 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
149 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
150 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
152 inline StartTargetedSentimentDetectionJobRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
154
156
162 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
163 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
164 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
165 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
166 inline StartTargetedSentimentDetectionJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
167 inline StartTargetedSentimentDetectionJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
168 inline StartTargetedSentimentDetectionJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
169 inline StartTargetedSentimentDetectionJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
171 private:
172
173 InputDataConfig m_inputDataConfig;
174 bool m_inputDataConfigHasBeenSet = false;
175
176 OutputDataConfig m_outputDataConfig;
177 bool m_outputDataConfigHasBeenSet = false;
178
179 Aws::String m_dataAccessRoleArn;
180 bool m_dataAccessRoleArnHasBeenSet = false;
181
182 Aws::String m_jobName;
183 bool m_jobNameHasBeenSet = false;
184
185 LanguageCode m_languageCode;
186 bool m_languageCodeHasBeenSet = false;
187
188 Aws::String m_clientRequestToken;
189 bool m_clientRequestTokenHasBeenSet = false;
190
191 Aws::String m_volumeKmsKeyId;
192 bool m_volumeKmsKeyIdHasBeenSet = false;
193
194 VpcConfig m_vpcConfig;
195 bool m_vpcConfigHasBeenSet = false;
196
197 Aws::Vector<Tag> m_tags;
198 bool m_tagsHasBeenSet = false;
199 };
200
201} // namespace Model
202} // namespace Comprehend
203} // namespace Aws
StartTargetedSentimentDetectionJobRequest & WithDataAccessRoleArn(const char *value)
StartTargetedSentimentDetectionJobRequest & WithJobName(const 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)
StartTargetedSentimentDetectionJobRequest & WithJobName(const char *value)
StartTargetedSentimentDetectionJobRequest & WithLanguageCode(const LanguageCode &value)
StartTargetedSentimentDetectionJobRequest & WithDataAccessRoleArn(const Aws::String &value)
StartTargetedSentimentDetectionJobRequest & WithTags(Aws::Vector< Tag > &&value)
StartTargetedSentimentDetectionJobRequest & WithClientRequestToken(Aws::String &&value)
StartTargetedSentimentDetectionJobRequest & WithClientRequestToken(const char *value)
StartTargetedSentimentDetectionJobRequest & WithVpcConfig(const VpcConfig &value)
StartTargetedSentimentDetectionJobRequest & WithInputDataConfig(InputDataConfig &&value)
AWS_COMPREHEND_API Aws::String SerializePayload() const override
StartTargetedSentimentDetectionJobRequest & WithClientRequestToken(const Aws::String &value)
StartTargetedSentimentDetectionJobRequest & WithJobName(Aws::String &&value)
StartTargetedSentimentDetectionJobRequest & WithVolumeKmsKeyId(Aws::String &&value)
StartTargetedSentimentDetectionJobRequest & WithTags(const Aws::Vector< Tag > &value)
StartTargetedSentimentDetectionJobRequest & WithVolumeKmsKeyId(const Aws::String &value)
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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