AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
MedicalScribeResultStream.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/transcribestreaming/model/MedicalScribeTranscriptEvent.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
30 public:
31 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeResultStream() = default;
32 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeResultStream(Aws::Utils::Json::JsonView jsonValue);
33 AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeResultStream& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const MedicalScribeTranscriptEvent& GetTranscriptEvent() const { return m_transcriptEvent; }
41 inline bool TranscriptEventHasBeenSet() const { return m_transcriptEventHasBeenSet; }
42 template <typename TranscriptEventT = MedicalScribeTranscriptEvent>
43 void SetTranscriptEvent(TranscriptEventT&& value) {
44 m_transcriptEventHasBeenSet = true;
45 m_transcriptEvent = std::forward<TranscriptEventT>(value);
46 }
47 template <typename TranscriptEventT = MedicalScribeTranscriptEvent>
49 SetTranscriptEvent(std::forward<TranscriptEventT>(value));
50 return *this;
51 }
53
55
56 inline const TranscribeStreamingServiceError& GetBadRequestException() const { return m_badRequestException; }
57 inline bool BadRequestExceptionHasBeenSet() const { return m_badRequestExceptionHasBeenSet; }
58 template <typename BadRequestExceptionT = TranscribeStreamingServiceError>
59 void SetBadRequestException(BadRequestExceptionT&& value) {
60 m_badRequestExceptionHasBeenSet = true;
61 m_badRequestException = std::forward<BadRequestExceptionT>(value);
62 }
63 template <typename BadRequestExceptionT = TranscribeStreamingServiceError>
64 MedicalScribeResultStream& WithBadRequestException(BadRequestExceptionT&& value) {
65 SetBadRequestException(std::forward<BadRequestExceptionT>(value));
66 return *this;
67 }
69
71
72 inline const TranscribeStreamingServiceError& GetLimitExceededException() const { return m_limitExceededException; }
73 inline bool LimitExceededExceptionHasBeenSet() const { return m_limitExceededExceptionHasBeenSet; }
74 template <typename LimitExceededExceptionT = TranscribeStreamingServiceError>
75 void SetLimitExceededException(LimitExceededExceptionT&& value) {
76 m_limitExceededExceptionHasBeenSet = true;
77 m_limitExceededException = std::forward<LimitExceededExceptionT>(value);
78 }
79 template <typename LimitExceededExceptionT = TranscribeStreamingServiceError>
80 MedicalScribeResultStream& WithLimitExceededException(LimitExceededExceptionT&& value) {
81 SetLimitExceededException(std::forward<LimitExceededExceptionT>(value));
82 return *this;
83 }
85
87
88 inline const TranscribeStreamingServiceError& GetInternalFailureException() const { return m_internalFailureException; }
89 inline bool InternalFailureExceptionHasBeenSet() const { return m_internalFailureExceptionHasBeenSet; }
90 template <typename InternalFailureExceptionT = TranscribeStreamingServiceError>
91 void SetInternalFailureException(InternalFailureExceptionT&& value) {
92 m_internalFailureExceptionHasBeenSet = true;
93 m_internalFailureException = std::forward<InternalFailureExceptionT>(value);
94 }
95 template <typename InternalFailureExceptionT = TranscribeStreamingServiceError>
96 MedicalScribeResultStream& WithInternalFailureException(InternalFailureExceptionT&& value) {
97 SetInternalFailureException(std::forward<InternalFailureExceptionT>(value));
98 return *this;
99 }
101
103
104 inline const TranscribeStreamingServiceError& GetConflictException() const { return m_conflictException; }
105 inline bool ConflictExceptionHasBeenSet() const { return m_conflictExceptionHasBeenSet; }
106 template <typename ConflictExceptionT = TranscribeStreamingServiceError>
107 void SetConflictException(ConflictExceptionT&& value) {
108 m_conflictExceptionHasBeenSet = true;
109 m_conflictException = std::forward<ConflictExceptionT>(value);
110 }
111 template <typename ConflictExceptionT = TranscribeStreamingServiceError>
113 SetConflictException(std::forward<ConflictExceptionT>(value));
114 return *this;
115 }
117
119
120 inline const TranscribeStreamingServiceError& GetServiceUnavailableException() const { return m_serviceUnavailableException; }
121 inline bool ServiceUnavailableExceptionHasBeenSet() const { return m_serviceUnavailableExceptionHasBeenSet; }
122 template <typename ServiceUnavailableExceptionT = TranscribeStreamingServiceError>
123 void SetServiceUnavailableException(ServiceUnavailableExceptionT&& value) {
124 m_serviceUnavailableExceptionHasBeenSet = true;
125 m_serviceUnavailableException = std::forward<ServiceUnavailableExceptionT>(value);
126 }
127 template <typename ServiceUnavailableExceptionT = TranscribeStreamingServiceError>
128 MedicalScribeResultStream& WithServiceUnavailableException(ServiceUnavailableExceptionT&& value) {
129 SetServiceUnavailableException(std::forward<ServiceUnavailableExceptionT>(value));
130 return *this;
131 }
133 private:
134 MedicalScribeTranscriptEvent m_transcriptEvent;
135
136 TranscribeStreamingServiceError m_badRequestException;
137
138 TranscribeStreamingServiceError m_limitExceededException;
139
140 TranscribeStreamingServiceError m_internalFailureException;
141
142 TranscribeStreamingServiceError m_conflictException;
143
144 TranscribeStreamingServiceError m_serviceUnavailableException;
145 bool m_transcriptEventHasBeenSet = false;
146 bool m_badRequestExceptionHasBeenSet = false;
147 bool m_limitExceededExceptionHasBeenSet = false;
148 bool m_internalFailureExceptionHasBeenSet = false;
149 bool m_conflictExceptionHasBeenSet = false;
150 bool m_serviceUnavailableExceptionHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace TranscribeStreamingService
155} // namespace Aws
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeResultStream()=default
MedicalScribeResultStream & WithServiceUnavailableException(ServiceUnavailableExceptionT &&value)
const TranscribeStreamingServiceError & GetInternalFailureException() const
MedicalScribeResultStream & WithConflictException(ConflictExceptionT &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeResultStream & operator=(Aws::Utils::Json::JsonView jsonValue)
const TranscribeStreamingServiceError & GetConflictException() const
AWS_TRANSCRIBESTREAMINGSERVICE_API MedicalScribeResultStream(Aws::Utils::Json::JsonView jsonValue)
const TranscribeStreamingServiceError & GetBadRequestException() const
MedicalScribeResultStream & WithInternalFailureException(InternalFailureExceptionT &&value)
MedicalScribeResultStream & WithBadRequestException(BadRequestExceptionT &&value)
const TranscribeStreamingServiceError & GetServiceUnavailableException() const
MedicalScribeResultStream & WithTranscriptEvent(TranscriptEventT &&value)
const TranscribeStreamingServiceError & GetLimitExceededException() const
MedicalScribeResultStream & WithLimitExceededException(LimitExceededExceptionT &&value)
Aws::Utils::Json::JsonValue JsonValue