AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename InputDataConfigT = InputDataConfig>
50 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
51 template<typename InputDataConfigT = InputDataConfig>
52 StartTopicsDetectionJobRequest& WithInputDataConfig(InputDataConfigT&& value) { SetInputDataConfig(std::forward<InputDataConfigT>(value)); return *this;}
54
56
62 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
63 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
64 template<typename OutputDataConfigT = OutputDataConfig>
65 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
66 template<typename OutputDataConfigT = OutputDataConfig>
67 StartTopicsDetectionJobRequest& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
69
71
77 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
78 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
79 template<typename DataAccessRoleArnT = Aws::String>
80 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value); }
81 template<typename DataAccessRoleArnT = Aws::String>
82 StartTopicsDetectionJobRequest& WithDataAccessRoleArn(DataAccessRoleArnT&& value) { SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value)); return *this;}
84
86
89 inline const Aws::String& GetJobName() const { return m_jobName; }
90 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
91 template<typename JobNameT = Aws::String>
92 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
93 template<typename JobNameT = Aws::String>
94 StartTopicsDetectionJobRequest& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
96
98
101 inline int GetNumberOfTopics() const { return m_numberOfTopics; }
102 inline bool NumberOfTopicsHasBeenSet() const { return m_numberOfTopicsHasBeenSet; }
103 inline void SetNumberOfTopics(int value) { m_numberOfTopicsHasBeenSet = true; m_numberOfTopics = value; }
104 inline StartTopicsDetectionJobRequest& WithNumberOfTopics(int value) { SetNumberOfTopics(value); return *this;}
106
108
112 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
113 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
114 template<typename ClientRequestTokenT = Aws::String>
115 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
116 template<typename ClientRequestTokenT = Aws::String>
117 StartTopicsDetectionJobRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
119
121
131 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
132 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
133 template<typename VolumeKmsKeyIdT = Aws::String>
134 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value); }
135 template<typename VolumeKmsKeyIdT = Aws::String>
136 StartTopicsDetectionJobRequest& WithVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value)); return *this;}
138
140
147 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
148 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
149 template<typename VpcConfigT = VpcConfig>
150 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
151 template<typename VpcConfigT = VpcConfig>
152 StartTopicsDetectionJobRequest& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(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 template<typename TagsT = Aws::Vector<Tag>>
165 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
166 template<typename TagsT = Aws::Vector<Tag>>
167 StartTopicsDetectionJobRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
168 template<typename TagsT = Tag>
169 StartTopicsDetectionJobRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(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 int m_numberOfTopics{0};
186 bool m_numberOfTopicsHasBeenSet = false;
187
188 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
189 bool m_clientRequestTokenHasBeenSet = true;
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
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartTopicsDetectionJobRequest & WithVpcConfig(VpcConfigT &&value)
StartTopicsDetectionJobRequest & WithJobName(JobNameT &&value)
StartTopicsDetectionJobRequest & WithOutputDataConfig(OutputDataConfigT &&value)
StartTopicsDetectionJobRequest & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
AWS_COMPREHEND_API StartTopicsDetectionJobRequest()=default
StartTopicsDetectionJobRequest & WithInputDataConfig(InputDataConfigT &&value)
StartTopicsDetectionJobRequest & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
StartTopicsDetectionJobRequest & WithTags(TagsT &&value)
AWS_COMPREHEND_API Aws::String SerializePayload() const override
StartTopicsDetectionJobRequest & WithClientRequestToken(ClientRequestTokenT &&value)
StartTopicsDetectionJobRequest & AddTags(TagsT &&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