AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartTopicsDetectionJobRequest.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:
30 AWS_COMPREHEND_API StartTopicsDetectionJobRequest();
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 "StartTopicsDetectionJob"; }
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); }
52 inline StartTopicsDetectionJobRequest& WithInputDataConfig(InputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;}
54
56
62 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
63 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
64 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
65 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
69
71
77 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
78 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
79 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
80 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
81 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
83 inline StartTopicsDetectionJobRequest& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;}
84 inline StartTopicsDetectionJobRequest& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
86
88
91 inline const Aws::String& GetJobName() const{ return m_jobName; }
92 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
93 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
94 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
95 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
96 inline StartTopicsDetectionJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
97 inline StartTopicsDetectionJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
98 inline StartTopicsDetectionJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
100
102
105 inline int GetNumberOfTopics() const{ return m_numberOfTopics; }
106 inline bool NumberOfTopicsHasBeenSet() const { return m_numberOfTopicsHasBeenSet; }
107 inline void SetNumberOfTopics(int value) { m_numberOfTopicsHasBeenSet = true; m_numberOfTopics = value; }
108 inline StartTopicsDetectionJobRequest& WithNumberOfTopics(int value) { SetNumberOfTopics(value); return *this;}
110
112
116 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
117 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
118 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
119 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
120 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
123 inline StartTopicsDetectionJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
125
127
137 inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
138 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
139 inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
140 inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
141 inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
143 inline StartTopicsDetectionJobRequest& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
144 inline StartTopicsDetectionJobRequest& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
146
148
155 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
156 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
157 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
158 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
159 inline StartTopicsDetectionJobRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
160 inline StartTopicsDetectionJobRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
162
164
170 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
171 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
172 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
173 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
174 inline StartTopicsDetectionJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
175 inline StartTopicsDetectionJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
176 inline StartTopicsDetectionJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
177 inline StartTopicsDetectionJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
179 private:
180
181 InputDataConfig m_inputDataConfig;
182 bool m_inputDataConfigHasBeenSet = false;
183
184 OutputDataConfig m_outputDataConfig;
185 bool m_outputDataConfigHasBeenSet = false;
186
187 Aws::String m_dataAccessRoleArn;
188 bool m_dataAccessRoleArnHasBeenSet = false;
189
190 Aws::String m_jobName;
191 bool m_jobNameHasBeenSet = false;
192
193 int m_numberOfTopics;
194 bool m_numberOfTopicsHasBeenSet = false;
195
196 Aws::String m_clientRequestToken;
197 bool m_clientRequestTokenHasBeenSet = false;
198
199 Aws::String m_volumeKmsKeyId;
200 bool m_volumeKmsKeyIdHasBeenSet = false;
201
202 VpcConfig m_vpcConfig;
203 bool m_vpcConfigHasBeenSet = false;
204
205 Aws::Vector<Tag> m_tags;
206 bool m_tagsHasBeenSet = false;
207 };
208
209} // namespace Model
210} // namespace Comprehend
211} // namespace Aws
StartTopicsDetectionJobRequest & WithTags(Aws::Vector< Tag > &&value)
StartTopicsDetectionJobRequest & WithClientRequestToken(const char *value)
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartTopicsDetectionJobRequest & WithVolumeKmsKeyId(Aws::String &&value)
StartTopicsDetectionJobRequest & WithInputDataConfig(const InputDataConfig &value)
StartTopicsDetectionJobRequest & AddTags(const Tag &value)
StartTopicsDetectionJobRequest & WithJobName(const char *value)
StartTopicsDetectionJobRequest & WithVolumeKmsKeyId(const Aws::String &value)
StartTopicsDetectionJobRequest & WithClientRequestToken(const Aws::String &value)
StartTopicsDetectionJobRequest & WithVpcConfig(VpcConfig &&value)
StartTopicsDetectionJobRequest & WithOutputDataConfig(OutputDataConfig &&value)
StartTopicsDetectionJobRequest & WithDataAccessRoleArn(Aws::String &&value)
StartTopicsDetectionJobRequest & WithDataAccessRoleArn(const char *value)
StartTopicsDetectionJobRequest & WithClientRequestToken(Aws::String &&value)
StartTopicsDetectionJobRequest & WithJobName(Aws::String &&value)
StartTopicsDetectionJobRequest & WithTags(const Aws::Vector< Tag > &value)
AWS_COMPREHEND_API Aws::String SerializePayload() const override
StartTopicsDetectionJobRequest & WithVpcConfig(const VpcConfig &value)
StartTopicsDetectionJobRequest & WithOutputDataConfig(const OutputDataConfig &value)
StartTopicsDetectionJobRequest & WithDataAccessRoleArn(const Aws::String &value)
StartTopicsDetectionJobRequest & WithVolumeKmsKeyId(const char *value)
StartTopicsDetectionJobRequest & WithJobName(const Aws::String &value)
StartTopicsDetectionJobRequest & WithInputDataConfig(InputDataConfig &&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