AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartDominantLanguageDetectionJobRequest.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/VpcConfig.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/comprehend/model/Tag.h>
15#include <utility>
16#include <aws/core/utils/UUID.h>
17
18namespace Aws
19{
20namespace Comprehend
21{
22namespace Model
23{
24
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "StartDominantLanguageDetectionJob"; }
37
38 AWS_COMPREHEND_API Aws::String SerializePayload() const override;
39
41
42
44
47 inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
48 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
49 inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
50 inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
54
56
59 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
60 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
61 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
62 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
66
68
74 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
75 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
76 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
77 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
78 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
83
85
88 inline const Aws::String& GetJobName() const{ return m_jobName; }
89 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
90 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
91 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
92 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
93 inline StartDominantLanguageDetectionJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
94 inline StartDominantLanguageDetectionJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
95 inline StartDominantLanguageDetectionJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
97
99
103 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
104 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
105 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
106 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
107 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
112
114
124 inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
125 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
126 inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
127 inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
128 inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
131 inline StartDominantLanguageDetectionJobRequest& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
133
135
142 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
143 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
144 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
145 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
147 inline StartDominantLanguageDetectionJobRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
149
151
157 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
158 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
159 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
160 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
161 inline StartDominantLanguageDetectionJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
162 inline StartDominantLanguageDetectionJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
163 inline StartDominantLanguageDetectionJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
164 inline StartDominantLanguageDetectionJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
166 private:
167
168 InputDataConfig m_inputDataConfig;
169 bool m_inputDataConfigHasBeenSet = false;
170
171 OutputDataConfig m_outputDataConfig;
172 bool m_outputDataConfigHasBeenSet = false;
173
174 Aws::String m_dataAccessRoleArn;
175 bool m_dataAccessRoleArnHasBeenSet = false;
176
177 Aws::String m_jobName;
178 bool m_jobNameHasBeenSet = false;
179
180 Aws::String m_clientRequestToken;
181 bool m_clientRequestTokenHasBeenSet = false;
182
183 Aws::String m_volumeKmsKeyId;
184 bool m_volumeKmsKeyIdHasBeenSet = false;
185
186 VpcConfig m_vpcConfig;
187 bool m_vpcConfigHasBeenSet = false;
188
189 Aws::Vector<Tag> m_tags;
190 bool m_tagsHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace Comprehend
195} // namespace Aws
StartDominantLanguageDetectionJobRequest & WithVolumeKmsKeyId(const char *value)
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartDominantLanguageDetectionJobRequest & WithDataAccessRoleArn(const char *value)
StartDominantLanguageDetectionJobRequest & WithJobName(Aws::String &&value)
StartDominantLanguageDetectionJobRequest & WithInputDataConfig(InputDataConfig &&value)
StartDominantLanguageDetectionJobRequest & WithJobName(const Aws::String &value)
StartDominantLanguageDetectionJobRequest & WithDataAccessRoleArn(Aws::String &&value)
StartDominantLanguageDetectionJobRequest & WithDataAccessRoleArn(const Aws::String &value)
StartDominantLanguageDetectionJobRequest & WithOutputDataConfig(const OutputDataConfig &value)
StartDominantLanguageDetectionJobRequest & WithInputDataConfig(const InputDataConfig &value)
StartDominantLanguageDetectionJobRequest & WithVolumeKmsKeyId(Aws::String &&value)
StartDominantLanguageDetectionJobRequest & WithVolumeKmsKeyId(const Aws::String &value)
StartDominantLanguageDetectionJobRequest & WithVpcConfig(const VpcConfig &value)
StartDominantLanguageDetectionJobRequest & WithClientRequestToken(Aws::String &&value)
StartDominantLanguageDetectionJobRequest & WithVpcConfig(VpcConfig &&value)
StartDominantLanguageDetectionJobRequest & WithTags(Aws::Vector< Tag > &&value)
StartDominantLanguageDetectionJobRequest & WithOutputDataConfig(OutputDataConfig &&value)
StartDominantLanguageDetectionJobRequest & WithTags(const Aws::Vector< Tag > &value)
StartDominantLanguageDetectionJobRequest & WithClientRequestToken(const Aws::String &value)
StartDominantLanguageDetectionJobRequest & WithJobName(const char *value)
StartDominantLanguageDetectionJobRequest & WithClientRequestToken(const char *value)
AWS_COMPREHEND_API Aws::String SerializePayload() const override
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