AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
TranscriptConfiguration.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/model/ChannelLabelingConfiguration.h>
9#include <aws/bedrock-data-automation/model/SpeakerLabelingConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockDataAutomation {
21namespace Model {
22
29 public:
30 AWS_BEDROCKDATAAUTOMATION_API TranscriptConfiguration() = default;
31 AWS_BEDROCKDATAAUTOMATION_API TranscriptConfiguration(Aws::Utils::Json::JsonView jsonValue);
32 AWS_BEDROCKDATAAUTOMATION_API TranscriptConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const SpeakerLabelingConfiguration& GetSpeakerLabeling() const { return m_speakerLabeling; }
38 inline bool SpeakerLabelingHasBeenSet() const { return m_speakerLabelingHasBeenSet; }
39 template <typename SpeakerLabelingT = SpeakerLabelingConfiguration>
40 void SetSpeakerLabeling(SpeakerLabelingT&& value) {
41 m_speakerLabelingHasBeenSet = true;
42 m_speakerLabeling = std::forward<SpeakerLabelingT>(value);
43 }
44 template <typename SpeakerLabelingT = SpeakerLabelingConfiguration>
45 TranscriptConfiguration& WithSpeakerLabeling(SpeakerLabelingT&& value) {
46 SetSpeakerLabeling(std::forward<SpeakerLabelingT>(value));
47 return *this;
48 }
50
52
53 inline const ChannelLabelingConfiguration& GetChannelLabeling() const { return m_channelLabeling; }
54 inline bool ChannelLabelingHasBeenSet() const { return m_channelLabelingHasBeenSet; }
55 template <typename ChannelLabelingT = ChannelLabelingConfiguration>
56 void SetChannelLabeling(ChannelLabelingT&& value) {
57 m_channelLabelingHasBeenSet = true;
58 m_channelLabeling = std::forward<ChannelLabelingT>(value);
59 }
60 template <typename ChannelLabelingT = ChannelLabelingConfiguration>
61 TranscriptConfiguration& WithChannelLabeling(ChannelLabelingT&& value) {
62 SetChannelLabeling(std::forward<ChannelLabelingT>(value));
63 return *this;
64 }
66 private:
67 SpeakerLabelingConfiguration m_speakerLabeling;
68
69 ChannelLabelingConfiguration m_channelLabeling;
70 bool m_speakerLabelingHasBeenSet = false;
71 bool m_channelLabelingHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace BedrockDataAutomation
76} // namespace Aws
TranscriptConfiguration & WithSpeakerLabeling(SpeakerLabelingT &&value)
TranscriptConfiguration & WithChannelLabeling(ChannelLabelingT &&value)
AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKDATAAUTOMATION_API TranscriptConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKDATAAUTOMATION_API TranscriptConfiguration(Aws::Utils::Json::JsonView jsonValue)
const ChannelLabelingConfiguration & GetChannelLabeling() const
const SpeakerLabelingConfiguration & GetSpeakerLabeling() const
AWS_BEDROCKDATAAUTOMATION_API TranscriptConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue