AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartCallAnalyticsJobRequest.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/transcribe/TranscribeServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/transcribe/model/Media.h>
11#include <aws/transcribe/model/CallAnalyticsJobSettings.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/transcribe/model/ChannelDefinition.h>
14#include <utility>
15
16namespace Aws
17{
18namespace TranscribeService
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_TRANSCRIBESERVICE_API StartCallAnalyticsJobRequest();
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 "StartCallAnalyticsJob"; }
35
36 AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override;
37
38 AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
48 inline const Aws::String& GetCallAnalyticsJobName() const{ return m_callAnalyticsJobName; }
49 inline bool CallAnalyticsJobNameHasBeenSet() const { return m_callAnalyticsJobNameHasBeenSet; }
50 inline void SetCallAnalyticsJobName(const Aws::String& value) { m_callAnalyticsJobNameHasBeenSet = true; m_callAnalyticsJobName = value; }
51 inline void SetCallAnalyticsJobName(Aws::String&& value) { m_callAnalyticsJobNameHasBeenSet = true; m_callAnalyticsJobName = std::move(value); }
52 inline void SetCallAnalyticsJobName(const char* value) { m_callAnalyticsJobNameHasBeenSet = true; m_callAnalyticsJobName.assign(value); }
55 inline StartCallAnalyticsJobRequest& WithCallAnalyticsJobName(const char* value) { SetCallAnalyticsJobName(value); return *this;}
57
59
63 inline const Media& GetMedia() const{ return m_media; }
64 inline bool MediaHasBeenSet() const { return m_mediaHasBeenSet; }
65 inline void SetMedia(const Media& value) { m_mediaHasBeenSet = true; m_media = value; }
66 inline void SetMedia(Media&& value) { m_mediaHasBeenSet = true; m_media = std::move(value); }
67 inline StartCallAnalyticsJobRequest& WithMedia(const Media& value) { SetMedia(value); return *this;}
68 inline StartCallAnalyticsJobRequest& WithMedia(Media&& value) { SetMedia(std::move(value)); return *this;}
70
72
88 inline const Aws::String& GetOutputLocation() const{ return m_outputLocation; }
89 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
90 inline void SetOutputLocation(const Aws::String& value) { m_outputLocationHasBeenSet = true; m_outputLocation = value; }
91 inline void SetOutputLocation(Aws::String&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::move(value); }
92 inline void SetOutputLocation(const char* value) { m_outputLocationHasBeenSet = true; m_outputLocation.assign(value); }
94 inline StartCallAnalyticsJobRequest& WithOutputLocation(Aws::String&& value) { SetOutputLocation(std::move(value)); return *this;}
95 inline StartCallAnalyticsJobRequest& WithOutputLocation(const char* value) { SetOutputLocation(value); return *this;}
97
99
122 inline const Aws::String& GetOutputEncryptionKMSKeyId() const{ return m_outputEncryptionKMSKeyId; }
123 inline bool OutputEncryptionKMSKeyIdHasBeenSet() const { return m_outputEncryptionKMSKeyIdHasBeenSet; }
124 inline void SetOutputEncryptionKMSKeyId(const Aws::String& value) { m_outputEncryptionKMSKeyIdHasBeenSet = true; m_outputEncryptionKMSKeyId = value; }
125 inline void SetOutputEncryptionKMSKeyId(Aws::String&& value) { m_outputEncryptionKMSKeyIdHasBeenSet = true; m_outputEncryptionKMSKeyId = std::move(value); }
126 inline void SetOutputEncryptionKMSKeyId(const char* value) { m_outputEncryptionKMSKeyIdHasBeenSet = true; m_outputEncryptionKMSKeyId.assign(value); }
131
133
144 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
145 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
146 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
147 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
148 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
150 inline StartCallAnalyticsJobRequest& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;}
151 inline StartCallAnalyticsJobRequest& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
153
155
160 inline const CallAnalyticsJobSettings& GetSettings() const{ return m_settings; }
161 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
162 inline void SetSettings(const CallAnalyticsJobSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
163 inline void SetSettings(CallAnalyticsJobSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
165 inline StartCallAnalyticsJobRequest& WithSettings(CallAnalyticsJobSettings&& value) { SetSettings(std::move(value)); return *this;}
167
169
176 inline const Aws::Vector<ChannelDefinition>& GetChannelDefinitions() const{ return m_channelDefinitions; }
177 inline bool ChannelDefinitionsHasBeenSet() const { return m_channelDefinitionsHasBeenSet; }
178 inline void SetChannelDefinitions(const Aws::Vector<ChannelDefinition>& value) { m_channelDefinitionsHasBeenSet = true; m_channelDefinitions = value; }
179 inline void SetChannelDefinitions(Aws::Vector<ChannelDefinition>&& value) { m_channelDefinitionsHasBeenSet = true; m_channelDefinitions = std::move(value); }
182 inline StartCallAnalyticsJobRequest& AddChannelDefinitions(const ChannelDefinition& value) { m_channelDefinitionsHasBeenSet = true; m_channelDefinitions.push_back(value); return *this; }
183 inline StartCallAnalyticsJobRequest& AddChannelDefinitions(ChannelDefinition&& value) { m_channelDefinitionsHasBeenSet = true; m_channelDefinitions.push_back(std::move(value)); return *this; }
185 private:
186
187 Aws::String m_callAnalyticsJobName;
188 bool m_callAnalyticsJobNameHasBeenSet = false;
189
190 Media m_media;
191 bool m_mediaHasBeenSet = false;
192
193 Aws::String m_outputLocation;
194 bool m_outputLocationHasBeenSet = false;
195
196 Aws::String m_outputEncryptionKMSKeyId;
197 bool m_outputEncryptionKMSKeyIdHasBeenSet = false;
198
199 Aws::String m_dataAccessRoleArn;
200 bool m_dataAccessRoleArnHasBeenSet = false;
201
202 CallAnalyticsJobSettings m_settings;
203 bool m_settingsHasBeenSet = false;
204
205 Aws::Vector<ChannelDefinition> m_channelDefinitions;
206 bool m_channelDefinitionsHasBeenSet = false;
207 };
208
209} // namespace Model
210} // namespace TranscribeService
211} // namespace Aws
StartCallAnalyticsJobRequest & WithDataAccessRoleArn(const Aws::String &value)
StartCallAnalyticsJobRequest & WithDataAccessRoleArn(const char *value)
StartCallAnalyticsJobRequest & WithMedia(const Media &value)
StartCallAnalyticsJobRequest & WithCallAnalyticsJobName(Aws::String &&value)
StartCallAnalyticsJobRequest & WithOutputEncryptionKMSKeyId(const Aws::String &value)
StartCallAnalyticsJobRequest & WithChannelDefinitions(Aws::Vector< ChannelDefinition > &&value)
StartCallAnalyticsJobRequest & WithSettings(CallAnalyticsJobSettings &&value)
StartCallAnalyticsJobRequest & WithDataAccessRoleArn(Aws::String &&value)
StartCallAnalyticsJobRequest & AddChannelDefinitions(const ChannelDefinition &value)
void SetChannelDefinitions(Aws::Vector< ChannelDefinition > &&value)
AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartCallAnalyticsJobRequest & WithOutputEncryptionKMSKeyId(Aws::String &&value)
StartCallAnalyticsJobRequest & WithOutputEncryptionKMSKeyId(const char *value)
StartCallAnalyticsJobRequest & WithOutputLocation(const Aws::String &value)
StartCallAnalyticsJobRequest & WithOutputLocation(const char *value)
void SetChannelDefinitions(const Aws::Vector< ChannelDefinition > &value)
StartCallAnalyticsJobRequest & WithCallAnalyticsJobName(const Aws::String &value)
StartCallAnalyticsJobRequest & WithSettings(const CallAnalyticsJobSettings &value)
StartCallAnalyticsJobRequest & AddChannelDefinitions(ChannelDefinition &&value)
StartCallAnalyticsJobRequest & WithOutputLocation(Aws::String &&value)
StartCallAnalyticsJobRequest & WithChannelDefinitions(const Aws::Vector< ChannelDefinition > &value)
StartCallAnalyticsJobRequest & WithCallAnalyticsJobName(const char *value)
const Aws::Vector< ChannelDefinition > & GetChannelDefinitions() const
AWS_TRANSCRIBESERVICE_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