AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TranscriptEvent.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/transcribestreaming/model/Transcript.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace TranscribeStreamingService
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_TRANSCRIBESTREAMINGSERVICE_API TranscriptEvent() = default;
38 AWS_TRANSCRIBESTREAMINGSERVICE_API TranscriptEvent(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TRANSCRIBESTREAMINGSERVICE_API TranscriptEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
51 inline const Transcript& GetTranscript() const { return m_transcript; }
52 inline bool TranscriptHasBeenSet() const { return m_transcriptHasBeenSet; }
53 template<typename TranscriptT = Transcript>
54 void SetTranscript(TranscriptT&& value) { m_transcriptHasBeenSet = true; m_transcript = std::forward<TranscriptT>(value); }
55 template<typename TranscriptT = Transcript>
56 TranscriptEvent& WithTranscript(TranscriptT&& value) { SetTranscript(std::forward<TranscriptT>(value)); return *this;}
58 private:
59
60 Transcript m_transcript;
61 bool m_transcriptHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace TranscribeStreamingService
66} // namespace Aws
AWS_TRANSCRIBESTREAMINGSERVICE_API TranscriptEvent()=default
TranscriptEvent & WithTranscript(TranscriptT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API TranscriptEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSCRIBESTREAMINGSERVICE_API TranscriptEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue