AWS SDK for C++

AWS SDK for C++ Version 1.11.741

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace TranscribeStreamingService {
20namespace Model {
21
29 public:
30 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalTranscriptResultStream() = default;
31 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalTranscriptResultStream(Aws::Utils::Json::JsonView jsonValue);
32 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalTranscriptResultStream& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
45 inline const MedicalTranscriptEvent& GetTranscriptEvent() const { return m_transcriptEvent; }
46 inline bool TranscriptEventHasBeenSet() const { return m_transcriptEventHasBeenSet; }
47 template <typename TranscriptEventT = MedicalTranscriptEvent>
48 void SetTranscriptEvent(TranscriptEventT&& value) {
49 m_transcriptEventHasBeenSet = true;
50 m_transcriptEvent = std::forward<TranscriptEventT>(value);
51 }
52 template <typename TranscriptEventT = MedicalTranscriptEvent>
54 SetTranscriptEvent(std::forward<TranscriptEventT>(value));
55 return *this;
56 }
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) {
65 m_badRequestExceptionHasBeenSet = true;
66 m_badRequestException = std::forward<BadRequestExceptionT>(value);
67 }
68 template <typename BadRequestExceptionT = TranscribeStreamingServiceError>
70 SetBadRequestException(std::forward<BadRequestExceptionT>(value));
71 return *this;
72 }
74
76
77 inline const TranscribeStreamingServiceError& GetLimitExceededException() const { return m_limitExceededException; }
78 inline bool LimitExceededExceptionHasBeenSet() const { return m_limitExceededExceptionHasBeenSet; }
79 template <typename LimitExceededExceptionT = TranscribeStreamingServiceError>
80 void SetLimitExceededException(LimitExceededExceptionT&& value) {
81 m_limitExceededExceptionHasBeenSet = true;
82 m_limitExceededException = std::forward<LimitExceededExceptionT>(value);
83 }
84 template <typename LimitExceededExceptionT = TranscribeStreamingServiceError>
86 SetLimitExceededException(std::forward<LimitExceededExceptionT>(value));
87 return *this;
88 }
90
92
93 inline const TranscribeStreamingServiceError& GetInternalFailureException() const { return m_internalFailureException; }
94 inline bool InternalFailureExceptionHasBeenSet() const { return m_internalFailureExceptionHasBeenSet; }
95 template <typename InternalFailureExceptionT = TranscribeStreamingServiceError>
96 void SetInternalFailureException(InternalFailureExceptionT&& value) {
97 m_internalFailureExceptionHasBeenSet = true;
98 m_internalFailureException = std::forward<InternalFailureExceptionT>(value);
99 }
100 template <typename InternalFailureExceptionT = TranscribeStreamingServiceError>
102 SetInternalFailureException(std::forward<InternalFailureExceptionT>(value));
103 return *this;
104 }
106
108
109 inline const TranscribeStreamingServiceError& GetConflictException() const { return m_conflictException; }
110 inline bool ConflictExceptionHasBeenSet() const { return m_conflictExceptionHasBeenSet; }
111 template <typename ConflictExceptionT = TranscribeStreamingServiceError>
112 void SetConflictException(ConflictExceptionT&& value) {
113 m_conflictExceptionHasBeenSet = true;
114 m_conflictException = std::forward<ConflictExceptionT>(value);
115 }
116 template <typename ConflictExceptionT = TranscribeStreamingServiceError>
118 SetConflictException(std::forward<ConflictExceptionT>(value));
119 return *this;
120 }
122
124
125 inline const TranscribeStreamingServiceError& GetServiceUnavailableException() const { return m_serviceUnavailableException; }
126 inline bool ServiceUnavailableExceptionHasBeenSet() const { return m_serviceUnavailableExceptionHasBeenSet; }
127 template <typename ServiceUnavailableExceptionT = TranscribeStreamingServiceError>
128 void SetServiceUnavailableException(ServiceUnavailableExceptionT&& value) {
129 m_serviceUnavailableExceptionHasBeenSet = true;
130 m_serviceUnavailableException = std::forward<ServiceUnavailableExceptionT>(value);
131 }
132 template <typename ServiceUnavailableExceptionT = TranscribeStreamingServiceError>
133 MedicalTranscriptResultStream& WithServiceUnavailableException(ServiceUnavailableExceptionT&& value) {
134 SetServiceUnavailableException(std::forward<ServiceUnavailableExceptionT>(value));
135 return *this;
136 }
138 private:
139 MedicalTranscriptEvent m_transcriptEvent;
140
141 TranscribeStreamingServiceError m_badRequestException;
142
143 TranscribeStreamingServiceError m_limitExceededException;
144
145 TranscribeStreamingServiceError m_internalFailureException;
146
147 TranscribeStreamingServiceError m_conflictException;
148
149 TranscribeStreamingServiceError m_serviceUnavailableException;
150 bool m_transcriptEventHasBeenSet = false;
151 bool m_badRequestExceptionHasBeenSet = false;
152 bool m_limitExceededExceptionHasBeenSet = false;
153 bool m_internalFailureExceptionHasBeenSet = false;
154 bool m_conflictExceptionHasBeenSet = false;
155 bool m_serviceUnavailableExceptionHasBeenSet = false;
156};
157
158} // namespace Model
159} // namespace TranscribeStreamingService
160} // 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