AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
StartSpeakerEnrollmentJobRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/voice-id/VoiceIDRequest.h>
10#include <aws/voice-id/VoiceID_EXPORTS.h>
11#include <aws/voice-id/model/EnrollmentConfig.h>
12#include <aws/voice-id/model/InputDataConfig.h>
13#include <aws/voice-id/model/OutputDataConfig.h>
14
15#include <utility>
16
17namespace Aws {
18namespace VoiceID {
19namespace Model {
20
24 public:
25 AWS_VOICEID_API StartSpeakerEnrollmentJobRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "StartSpeakerEnrollmentJob"; }
32
33 AWS_VOICEID_API Aws::String SerializePayload() const override;
34
36
38
45 inline const Aws::String& GetClientToken() const { return m_clientToken; }
46 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
47 template <typename ClientTokenT = Aws::String>
48 void SetClientToken(ClientTokenT&& value) {
49 m_clientTokenHasBeenSet = true;
50 m_clientToken = std::forward<ClientTokenT>(value);
51 }
52 template <typename ClientTokenT = Aws::String>
54 SetClientToken(std::forward<ClientTokenT>(value));
55 return *this;
56 }
58
60
68 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
69 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
70 template <typename DataAccessRoleArnT = Aws::String>
71 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) {
72 m_dataAccessRoleArnHasBeenSet = true;
73 m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value);
74 }
75 template <typename DataAccessRoleArnT = Aws::String>
77 SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value));
78 return *this;
79 }
81
83
87 inline const Aws::String& GetDomainId() const { return m_domainId; }
88 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
89 template <typename DomainIdT = Aws::String>
90 void SetDomainId(DomainIdT&& value) {
91 m_domainIdHasBeenSet = true;
92 m_domainId = std::forward<DomainIdT>(value);
93 }
94 template <typename DomainIdT = Aws::String>
96 SetDomainId(std::forward<DomainIdT>(value));
97 return *this;
98 }
100
102
107 inline const EnrollmentConfig& GetEnrollmentConfig() const { return m_enrollmentConfig; }
108 inline bool EnrollmentConfigHasBeenSet() const { return m_enrollmentConfigHasBeenSet; }
109 template <typename EnrollmentConfigT = EnrollmentConfig>
110 void SetEnrollmentConfig(EnrollmentConfigT&& value) {
111 m_enrollmentConfigHasBeenSet = true;
112 m_enrollmentConfig = std::forward<EnrollmentConfigT>(value);
113 }
114 template <typename EnrollmentConfigT = EnrollmentConfig>
116 SetEnrollmentConfig(std::forward<EnrollmentConfigT>(value));
117 return *this;
118 }
120
122
126 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
127 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
128 template <typename InputDataConfigT = InputDataConfig>
129 void SetInputDataConfig(InputDataConfigT&& value) {
130 m_inputDataConfigHasBeenSet = true;
131 m_inputDataConfig = std::forward<InputDataConfigT>(value);
132 }
133 template <typename InputDataConfigT = InputDataConfig>
135 SetInputDataConfig(std::forward<InputDataConfigT>(value));
136 return *this;
137 }
139
141
144 inline const Aws::String& GetJobName() const { return m_jobName; }
145 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
146 template <typename JobNameT = Aws::String>
147 void SetJobName(JobNameT&& value) {
148 m_jobNameHasBeenSet = true;
149 m_jobName = std::forward<JobNameT>(value);
150 }
151 template <typename JobNameT = Aws::String>
153 SetJobName(std::forward<JobNameT>(value));
154 return *this;
155 }
157
159
163 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
164 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
165 template <typename OutputDataConfigT = OutputDataConfig>
166 void SetOutputDataConfig(OutputDataConfigT&& value) {
167 m_outputDataConfigHasBeenSet = true;
168 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
169 }
170 template <typename OutputDataConfigT = OutputDataConfig>
172 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
173 return *this;
174 }
176 private:
178
179 Aws::String m_dataAccessRoleArn;
180
181 Aws::String m_domainId;
182
183 EnrollmentConfig m_enrollmentConfig;
184
185 InputDataConfig m_inputDataConfig;
186
187 Aws::String m_jobName;
188
189 OutputDataConfig m_outputDataConfig;
190 bool m_clientTokenHasBeenSet = true;
191 bool m_dataAccessRoleArnHasBeenSet = false;
192 bool m_domainIdHasBeenSet = false;
193 bool m_enrollmentConfigHasBeenSet = false;
194 bool m_inputDataConfigHasBeenSet = false;
195 bool m_jobNameHasBeenSet = false;
196 bool m_outputDataConfigHasBeenSet = false;
197};
198
199} // namespace Model
200} // namespace VoiceID
201} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
AWS_VOICEID_API Aws::String SerializePayload() const override
AWS_VOICEID_API StartSpeakerEnrollmentJobRequest()=default
AWS_VOICEID_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartSpeakerEnrollmentJobRequest & WithInputDataConfig(InputDataConfigT &&value)
StartSpeakerEnrollmentJobRequest & WithEnrollmentConfig(EnrollmentConfigT &&value)
StartSpeakerEnrollmentJobRequest & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
StartSpeakerEnrollmentJobRequest & WithClientToken(ClientTokenT &&value)
StartSpeakerEnrollmentJobRequest & WithDomainId(DomainIdT &&value)
StartSpeakerEnrollmentJobRequest & WithOutputDataConfig(OutputDataConfigT &&value)
StartSpeakerEnrollmentJobRequest & WithJobName(JobNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String