AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartSpeakerEnrollmentJobRequest.h
1
6#pragma once
7#include <aws/voice-id/VoiceID_EXPORTS.h>
8#include <aws/voice-id/VoiceIDRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/voice-id/model/EnrollmentConfig.h>
11#include <aws/voice-id/model/InputDataConfig.h>
12#include <aws/voice-id/model/OutputDataConfig.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace VoiceID
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "StartSpeakerEnrollmentJob"; }
35
36 AWS_VOICEID_API Aws::String SerializePayload() const override;
37
39
40
42
49 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
50 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
51 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
52 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
53 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
54 inline StartSpeakerEnrollmentJobRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
55 inline StartSpeakerEnrollmentJobRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
56 inline StartSpeakerEnrollmentJobRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
58
60
68 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
69 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
70 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
71 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
72 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
75 inline StartSpeakerEnrollmentJobRequest& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
77
79
83 inline const Aws::String& GetDomainId() const{ return m_domainId; }
84 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
85 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
86 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
87 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
88 inline StartSpeakerEnrollmentJobRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
89 inline StartSpeakerEnrollmentJobRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
90 inline StartSpeakerEnrollmentJobRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
92
94
99 inline const EnrollmentConfig& GetEnrollmentConfig() const{ return m_enrollmentConfig; }
100 inline bool EnrollmentConfigHasBeenSet() const { return m_enrollmentConfigHasBeenSet; }
101 inline void SetEnrollmentConfig(const EnrollmentConfig& value) { m_enrollmentConfigHasBeenSet = true; m_enrollmentConfig = value; }
102 inline void SetEnrollmentConfig(EnrollmentConfig&& value) { m_enrollmentConfigHasBeenSet = true; m_enrollmentConfig = std::move(value); }
106
108
112 inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
113 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
114 inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
115 inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
119
121
124 inline const Aws::String& GetJobName() const{ return m_jobName; }
125 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
126 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
127 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
128 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
129 inline StartSpeakerEnrollmentJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
130 inline StartSpeakerEnrollmentJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
131 inline StartSpeakerEnrollmentJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
133
135
139 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
140 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
141 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
142 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
146 private:
147
148 Aws::String m_clientToken;
149 bool m_clientTokenHasBeenSet = false;
150
151 Aws::String m_dataAccessRoleArn;
152 bool m_dataAccessRoleArnHasBeenSet = false;
153
154 Aws::String m_domainId;
155 bool m_domainIdHasBeenSet = false;
156
157 EnrollmentConfig m_enrollmentConfig;
158 bool m_enrollmentConfigHasBeenSet = false;
159
160 InputDataConfig m_inputDataConfig;
161 bool m_inputDataConfigHasBeenSet = false;
162
163 Aws::String m_jobName;
164 bool m_jobNameHasBeenSet = false;
165
166 OutputDataConfig m_outputDataConfig;
167 bool m_outputDataConfigHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace VoiceID
172} // namespace Aws
StartSpeakerEnrollmentJobRequest & WithInputDataConfig(const InputDataConfig &value)
StartSpeakerEnrollmentJobRequest & WithOutputDataConfig(OutputDataConfig &&value)
StartSpeakerEnrollmentJobRequest & WithEnrollmentConfig(const EnrollmentConfig &value)
StartSpeakerEnrollmentJobRequest & WithOutputDataConfig(const OutputDataConfig &value)
StartSpeakerEnrollmentJobRequest & WithClientToken(const char *value)
AWS_VOICEID_API Aws::String SerializePayload() const override
StartSpeakerEnrollmentJobRequest & WithDataAccessRoleArn(Aws::String &&value)
StartSpeakerEnrollmentJobRequest & WithJobName(const Aws::String &value)
StartSpeakerEnrollmentJobRequest & WithClientToken(Aws::String &&value)
AWS_VOICEID_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartSpeakerEnrollmentJobRequest & WithInputDataConfig(InputDataConfig &&value)
StartSpeakerEnrollmentJobRequest & WithDataAccessRoleArn(const Aws::String &value)
StartSpeakerEnrollmentJobRequest & WithEnrollmentConfig(EnrollmentConfig &&value)
StartSpeakerEnrollmentJobRequest & WithClientToken(const Aws::String &value)
StartSpeakerEnrollmentJobRequest & WithJobName(Aws::String &&value)
StartSpeakerEnrollmentJobRequest & WithDomainId(const char *value)
StartSpeakerEnrollmentJobRequest & WithDomainId(const Aws::String &value)
StartSpeakerEnrollmentJobRequest & WithDataAccessRoleArn(const char *value)
StartSpeakerEnrollmentJobRequest & WithDomainId(Aws::String &&value)
StartSpeakerEnrollmentJobRequest & WithJobName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String