AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
MedicalTranscriptResultStream.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/transcribestreaming/model/MedicalTranscriptEvent.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
33 {
34 public:
35 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalTranscriptResultStream() = default;
36 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalTranscriptResultStream(Aws::Utils::Json::JsonView jsonValue);
37 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalTranscriptResultStream& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
51 inline const MedicalTranscriptEvent& GetTranscriptEvent() const { return m_transcriptEvent; }
52 inline bool TranscriptEventHasBeenSet() const { return m_transcriptEventHasBeenSet; }
53 template<typename TranscriptEventT = MedicalTranscriptEvent>
54 void SetTranscriptEvent(TranscriptEventT&& value) { m_transcriptEventHasBeenSet = true; m_transcriptEvent = std::forward<TranscriptEventT>(value); }
55 template<typename TranscriptEventT = MedicalTranscriptEvent>
56 MedicalTranscriptResultStream& WithTranscriptEvent(TranscriptEventT&& value) { SetTranscriptEvent(std::forward<TranscriptEventT>(value)); return *this;}
58
60
61 inline const TranscribeStreamingServiceError& GetBadRequestException() const { return m_badRequestException; }
62 inline bool BadRequestExceptionHasBeenSet() const { return m_badRequestExceptionHasBeenSet; }
63 template<typename BadRequestExceptionT = TranscribeStreamingServiceError>
64 void SetBadRequestException(BadRequestExceptionT&& value) { m_badRequestExceptionHasBeenSet = true; m_badRequestException = std::forward<BadRequestExceptionT>(value); }
65 template<typename BadRequestExceptionT = TranscribeStreamingServiceError>
66 MedicalTranscriptResultStream& WithBadRequestException(BadRequestExceptionT&& value) { SetBadRequestException(std::forward<BadRequestExceptionT>(value)); return *this;}
68
70
71 inline const TranscribeStreamingServiceError& GetLimitExceededException() const { return m_limitExceededException; }
72 inline bool LimitExceededExceptionHasBeenSet() const { return m_limitExceededExceptionHasBeenSet; }
73 template<typename LimitExceededExceptionT = TranscribeStreamingServiceError>
74 void SetLimitExceededException(LimitExceededExceptionT&& value) { m_limitExceededExceptionHasBeenSet = true; m_limitExceededException = std::forward<LimitExceededExceptionT>(value); }
75 template<typename LimitExceededExceptionT = TranscribeStreamingServiceError>
76 MedicalTranscriptResultStream& WithLimitExceededException(LimitExceededExceptionT&& value) { SetLimitExceededException(std::forward<LimitExceededExceptionT>(value)); return *this;}
78
80
81 inline const TranscribeStreamingServiceError& GetInternalFailureException() const { return m_internalFailureException; }
82 inline bool InternalFailureExceptionHasBeenSet() const { return m_internalFailureExceptionHasBeenSet; }
83 template<typename InternalFailureExceptionT = TranscribeStreamingServiceError>
84 void SetInternalFailureException(InternalFailureExceptionT&& value) { m_internalFailureExceptionHasBeenSet = true; m_internalFailureException = std::forward<InternalFailureExceptionT>(value); }
85 template<typename InternalFailureExceptionT = TranscribeStreamingServiceError>
86 MedicalTranscriptResultStream& WithInternalFailureException(InternalFailureExceptionT&& value) { SetInternalFailureException(std::forward<InternalFailureExceptionT>(value)); return *this;}
88
90
91 inline const TranscribeStreamingServiceError& GetConflictException() const { return m_conflictException; }
92 inline bool ConflictExceptionHasBeenSet() const { return m_conflictExceptionHasBeenSet; }
93 template<typename ConflictExceptionT = TranscribeStreamingServiceError>
94 void SetConflictException(ConflictExceptionT&& value) { m_conflictExceptionHasBeenSet = true; m_conflictException = std::forward<ConflictExceptionT>(value); }
95 template<typename ConflictExceptionT = TranscribeStreamingServiceError>
96 MedicalTranscriptResultStream& WithConflictException(ConflictExceptionT&& value) { SetConflictException(std::forward<ConflictExceptionT>(value)); return *this;}
98
100
101 inline const TranscribeStreamingServiceError& GetServiceUnavailableException() const { return m_serviceUnavailableException; }
102 inline bool ServiceUnavailableExceptionHasBeenSet() const { return m_serviceUnavailableExceptionHasBeenSet; }
103 template<typename ServiceUnavailableExceptionT = TranscribeStreamingServiceError>
104 void SetServiceUnavailableException(ServiceUnavailableExceptionT&& value) { m_serviceUnavailableExceptionHasBeenSet = true; m_serviceUnavailableException = std::forward<ServiceUnavailableExceptionT>(value); }
105 template<typename ServiceUnavailableExceptionT = TranscribeStreamingServiceError>
106 MedicalTranscriptResultStream& WithServiceUnavailableException(ServiceUnavailableExceptionT&& value) { SetServiceUnavailableException(std::forward<ServiceUnavailableExceptionT>(value)); return *this;}
108 private:
109
110 MedicalTranscriptEvent m_transcriptEvent;
111 bool m_transcriptEventHasBeenSet = false;
112
113 TranscribeStreamingServiceError m_badRequestException;
114 bool m_badRequestExceptionHasBeenSet = false;
115
116 TranscribeStreamingServiceError m_limitExceededException;
117 bool m_limitExceededExceptionHasBeenSet = false;
118
119 TranscribeStreamingServiceError m_internalFailureException;
120 bool m_internalFailureExceptionHasBeenSet = false;
121
122 TranscribeStreamingServiceError m_conflictException;
123 bool m_conflictExceptionHasBeenSet = false;
124
125 TranscribeStreamingServiceError m_serviceUnavailableException;
126 bool m_serviceUnavailableExceptionHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace TranscribeStreamingService
131} // namespace Aws
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalTranscriptResultStream(Aws::Utils::Json::JsonView jsonValue)
MedicalTranscriptResultStream & WithServiceUnavailableException(ServiceUnavailableExceptionT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
MedicalTranscriptResultStream & WithBadRequestException(BadRequestExceptionT &&value)
MedicalTranscriptResultStream & WithLimitExceededException(LimitExceededExceptionT &&value)
MedicalTranscriptResultStream & WithConflictException(ConflictExceptionT &&value)
MedicalTranscriptResultStream & WithTranscriptEvent(TranscriptEventT &&value)
MedicalTranscriptResultStream & WithInternalFailureException(InternalFailureExceptionT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalTranscriptResultStream & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalTranscriptResultStream()=default
Aws::Utils::Json::JsonValue JsonValue